Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sources.Validation.Boundary.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.Boundary,fileNamePrefix="Buildings_8_Buildings_Fluid_Sources_Validation_Boundary",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.Boundary,fileNamePrefix="Buildings_8_Buildings_Fluid_Sources_Validation_Boundary",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008722/0.0008722, allocations: 86.88 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.741/1.741, allocations: 205.4 MB / 222.1 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.808/1.808, allocations: 292.7 MB / 0.5499 GB, free: 14.54 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006112/0.0006116, allocations: 13.66 kB / 0.6738 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.2999, allocations: 116.3 MB / 0.7874 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Boundary): time 0.9294/1.229, allocations: 241.9 MB / 1.024 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.0288/1.258, allocations: 20.69 MB / 1.044 GB, free: 15.16 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003972/1.262, allocations: 74.16 kB / 1.044 GB, free: 15.12 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.003159/1.265, allocations: 0.5791 MB / 1.045 GB, free: 14.61 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.01025/1.276, allocations: 2.239 MB / 1.047 GB, free: 12.84 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.01047/1.286, allocations: 2.245 MB / 1.049 GB, free: 11.28 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.008123/1.294, allocations: 4.338 MB / 1.053 GB, free: 8.699 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002781/1.297, allocations: 0.8889 MB / 1.054 GB, free: 8.191 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004136/1.301, allocations: 1.252 MB / 1.055 GB, free: 7.535 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002682/1.304, allocations: 1 MB / 1.056 GB, free: 7.004 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0006271/1.305, allocations: 49.28 kB / 1.056 GB, free: 7.004 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01221/1.317, allocations: 3.631 MB / 1.06 GB, free: 5.16 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.001507/1.318, allocations: 0.5998 MB / 1.06 GB, free: 4.559 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.00149/1.32, allocations: 420.7 kB / 1.061 GB, free: 4.141 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.007571/1.328, allocations: 3.114 MB / 1.064 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.054e-06/1.328, allocations: 4 kB / 1.064 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.214e-06/1.328, allocations: 0 / 1.064 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0001308/1.328, allocations: 0 / 1.064 GB, free: 1.016 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.004847/1.333, allocations: 1.972 MB / 1.066 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.56e-05/1.333, allocations: 12.03 kB / 1.066 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005581/1.333, allocations: 198 kB / 1.066 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002525/1.336, allocations: 488.8 kB / 1.066 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003232/1.339, allocations: 1.202 MB / 1.068 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001525/1.339, allocations: 98.38 kB / 1.068 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003918/1.34, allocations: 124 kB / 1.068 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004116/1.344, allocations: 1.7 MB / 1.069 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.814e-05/1.344, allocations: 11.94 kB / 1.069 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001977/1.344, allocations: 52 kB / 1.07 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001361/1.344, allocations: 67.72 kB / 1.07 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002318/1.347, allocations: 1.212 MB / 1.071 GB, free: 9.645 MB / 0.7794 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01053/1.357, allocations: 7.564 MB / 1.078 GB, free: 1.684 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001173/1.358, allocations: 0.6578 MB / 1.079 GB, free: 0.9336 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008059/1.359, allocations: 0.6213 MB / 1.079 GB, free: 288 kB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001937/1.361, allocations: 1.707 MB / 1.081 GB, free: 14.22 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001181/1.361, allocations: 54.48 kB / 1.081 GB, free: 14.16 MB / 0.795 GB Notification: Performance of pre-optimization done (n=72): time 3.627e-06/1.361, allocations: 0 / 1.081 GB, free: 14.16 MB / 0.795 GB Notification: Performance of matching and sorting (n=72): time 0.00309/1.364, allocations: 1.384 MB / 1.082 GB, free: 12.77 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002131/1.365, allocations: 302.7 kB / 1.083 GB, free: 12.41 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003361/1.368, allocations: 1.869 MB / 1.085 GB, free: 10.5 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.000112/1.368, allocations: 41.7 kB / 1.085 GB, free: 10.45 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007503/1.369, allocations: 0.7252 MB / 1.085 GB, free: 9.723 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002668/1.369, allocations: 248.4 kB / 1.086 GB, free: 9.477 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.519e-05/1.369, allocations: 12 kB / 1.086 GB, free: 9.465 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000147/1.369, allocations: 337.8 kB / 1.086 GB, free: 9.129 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000459/1.37, allocations: 325.1 kB / 1.086 GB, free: 8.812 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007391/1.371, allocations: 0.5586 MB / 1.087 GB, free: 8.203 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005432/1.371, allocations: 404.2 kB / 1.087 GB, free: 7.809 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/1.371, allocations: 0 / 1.087 GB, free: 7.809 MB / 0.795 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001742/1.373, allocations: 0.9988 MB / 1.088 GB, free: 6.801 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.434e-05/1.373, allocations: 11.12 kB / 1.088 GB, free: 6.793 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/1.373, allocations: 7.984 kB / 1.088 GB, free: 6.785 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.776e-05/1.373, allocations: 8 kB / 1.088 GB, free: 6.777 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004412/1.373, allocations: 127.9 kB / 1.088 GB, free: 6.652 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.78e-05/1.373, allocations: 7.938 kB / 1.088 GB, free: 6.645 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001007/1.374, allocations: 138.5 kB / 1.088 GB, free: 6.508 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00014/1.375, allocations: 43.98 kB / 1.088 GB, free: 6.465 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008004/1.375, allocations: 470 kB / 1.089 GB, free: 5.996 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004886/1.376, allocations: 185.7 kB / 1.089 GB, free: 5.812 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001964/1.378, allocations: 1.091 MB / 1.09 GB, free: 4.715 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.65e-05/1.378, allocations: 8 kB / 1.09 GB, free: 4.707 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.489e-05/1.378, allocations: 4 kB / 1.09 GB, free: 4.703 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.298e-05/1.378, allocations: 7.984 kB / 1.09 GB, free: 4.695 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01246/1.39, allocations: 8.63 MB / 1.099 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.412e-05/1.391, allocations: 16 kB / 1.099 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004897/1.391, allocations: 148.5 kB / 1.099 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.215e-05/1.391, allocations: 24 kB / 1.099 GB, free: 11.44 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.281e-05/1.391, allocations: 39.98 kB / 1.099 GB, free: 11.4 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.451e-05/1.391, allocations: 32.02 kB / 1.099 GB, free: 11.37 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.941e-05/1.391, allocations: 27.81 kB / 1.099 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002269/1.394, allocations: 1.66 MB / 1.1 GB, free: 9.453 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009963/1.395, allocations: 418.3 kB / 1.101 GB, free: 9.023 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004574/1.395, allocations: 39.98 kB / 1.101 GB, free: 8.984 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009983/1.396, allocations: 43.83 kB / 1.101 GB, free: 8.941 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001419/1.396, allocations: 107.6 kB / 1.101 GB, free: 8.836 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.66e-05/1.396, allocations: 52 kB / 1.101 GB, free: 8.785 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.002396/1.399, allocations: 1.3 MB / 1.102 GB, free: 7.465 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.7e-07/1.399, allocations: 0 / 1.102 GB, free: 7.465 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.002537/1.401, allocations: 0.5934 MB / 1.103 GB, free: 6.871 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 68 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005458/1.407, allocations: 2.979 MB / 1.106 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001468/1.408, allocations: 0.8183 MB / 1.107 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.194e-05/1.408, allocations: 0 / 1.107 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0007637/1.409, allocations: 486.8 kB / 1.107 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007031/1.416, allocations: 1.27 MB / 1.108 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02587/1.442, allocations: 11.42 MB / 1.12 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001694/1.444, allocations: 1.402 MB / 1.121 GB, free: 3.246 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.002061/1.446, allocations: 486.7 kB / 1.121 GB, free: 2.766 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001069/1.447, allocations: 0.6555 MB / 1.122 GB, free: 2.109 MB / 0.8262 GB Notification: Performance of SimCode: time 2.144e-06/1.447, allocations: 0 / 1.122 GB, free: 2.109 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1125/1.559, allocations: 60.67 MB / 1.181 GB, free: 6.043 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001825/1.56, allocations: 210.9 kB / 1.181 GB, free: 5.805 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.313/4.873, allocations: 0 / 1.181 GB, free: 5.805 MB / 0.8887 GB (rm -f Buildings_8_Buildings.Fluid.Sources.Validation.Boundary.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sources.Validation.Boundary.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sources.Validation.Boundary.pipe >> ../files/Buildings_8_Buildings.Fluid.Sources.Validation.Boundary.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sources_Validation_Boundary_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sources_Validation_Boundary.fmu > Buildings_8_Buildings.Fluid.Sources.Validation.Boundary.pipe 2>&1) Environment - environmentSimulation: