Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009839/0.0009839, allocations: 91.06 kB / 15.36 MB, free: 0.7344 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.007179/0.007179, allocations: 170 kB / 16.26 MB, free: 6.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.761/2.761, allocations: 473.4 MB / 0.7469 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000409/0.0004091, allocations: 11.44 kB / 0.9158 GB, free: 33.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.3211, allocations: 162.2 MB / 1.074 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.06543/0.3866, allocations: 68.25 MB / 1.141 GB, free: 3.094 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02211/0.4087, allocations: 14.49 MB / 1.155 GB, free: 4.566 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003659/0.4124, allocations: 71.5 kB / 1.155 GB, free: 4.496 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.003074/0.4155, allocations: 0.7459 MB / 1.156 GB, free: 3.746 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.008429/0.424, allocations: 2.364 MB / 1.158 GB, free: 1.375 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.005396/0.4294, allocations: 1.778 MB / 1.16 GB, free: 15.62 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.008855/0.4383, allocations: 5.854 MB / 1.165 GB, free: 9.746 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002683/0.441, allocations: 1.289 MB / 1.167 GB, free: 8.426 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004172/0.4452, allocations: 1.431 MB / 1.168 GB, free: 6.988 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002985/0.4482, allocations: 1.19 MB / 1.169 GB, free: 5.793 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0005671/0.4488, allocations: 64 kB / 1.169 GB, free: 5.73 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005137/0.454, allocations: 1.739 MB / 1.171 GB, free: 3.988 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0005611/0.4546, allocations: 330.4 kB / 1.171 GB, free: 3.664 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001529/0.4561, allocations: 0.8918 MB / 1.172 GB, free: 2.762 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.005214/0.4613, allocations: 3.33 MB / 1.176 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.4613, allocations: 0 / 1.176 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.847e-06/0.4614, allocations: 0 / 1.176 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.661e-05/0.4614, allocations: 3.938 kB / 1.176 GB, free: 15.42 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.003843/0.4652, allocations: 1.948 MB / 1.177 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.973e-05/0.4653, allocations: 8.031 kB / 1.177 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005025/0.4703, allocations: 0.6934 MB / 1.178 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002531/0.4729, allocations: 1.553 MB / 1.18 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001308/0.473, allocations: 124 kB / 1.18 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001907/0.4732, allocations: 116 kB / 1.18 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003786/0.477, allocations: 1.649 MB / 1.181 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.795e-05/0.4771, allocations: 3.938 kB / 1.181 GB, free: 9.098 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001447/0.4772, allocations: 48 kB / 1.181 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.751e-05/0.4773, allocations: 39.94 kB / 1.182 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004647/0.4819, allocations: 1.476 MB / 1.183 GB, free: 7.527 MB / 0.9356 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.01027/0.4922, allocations: 7.206 MB / 1.19 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002315/0.4945, allocations: 0.8151 MB / 1.191 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00164/0.4962, allocations: 0.5005 MB / 1.191 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001315/0.4975, allocations: 1.271 MB / 1.193 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.73e-05/0.4976, allocations: 43.12 kB / 1.193 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=68): time 3.246e-06/0.4976, allocations: 0 / 1.193 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of matching and sorting (n=68): time 0.01026/0.5079, allocations: 2.252 MB / 1.195 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.566e-05/0.508, allocations: 115.3 kB / 1.195 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002223/0.5102, allocations: 1.363 MB / 1.196 GB, free: 9.215 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001331/0.5103, allocations: 45.7 kB / 1.196 GB, free: 9.164 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005964/0.5109, allocations: 0.6919 MB / 1.197 GB, free: 8.465 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002479/0.5112, allocations: 236.6 kB / 1.197 GB, free: 8.23 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001333/0.5113, allocations: 77.67 kB / 1.197 GB, free: 8.148 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.5115, allocations: 338 kB / 1.198 GB, free: 7.812 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001869/0.5133, allocations: 0.4938 MB / 1.198 GB, free: 7.316 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002117/0.5155, allocations: 0.7745 MB / 1.199 GB, free: 6.43 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003555/0.519, allocations: 1.144 MB / 1.2 GB, free: 5.199 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.5191, allocations: 0 / 1.2 GB, free: 5.199 MB / 0.9512 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.005012/0.5241, allocations: 1.558 MB / 1.201 GB, free: 3.629 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001821/0.5243, allocations: 281 kB / 1.202 GB, free: 3.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.5243, allocations: 4 kB / 1.202 GB, free: 3.266 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001587/0.5259, allocations: 462 kB / 1.202 GB, free: 2.816 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001438/0.5273, allocations: 263.6 kB / 1.202 GB, free: 2.559 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001516/0.5289, allocations: 1.075 MB / 1.203 GB, free: 1.457 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002336/0.5312, allocations: 270.7 kB / 1.204 GB, free: 1.191 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001091/0.5313, allocations: 59.94 kB / 1.204 GB, free: 1.133 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.5313, allocations: 5.719 kB / 1.204 GB, free: 1.129 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004478/0.5358, allocations: 1.402 MB / 1.205 GB, free: 15.72 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.5359, allocations: 11.94 kB / 1.205 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001467/0.5373, allocations: 459.9 kB / 1.206 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001374/0.5387, allocations: 251.6 kB / 1.206 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001492/0.5402, allocations: 1.076 MB / 1.207 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002176/0.5424, allocations: 246.7 kB / 1.207 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/0.5425, allocations: 51.95 kB / 1.207 GB, free: 13.62 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (heaPum.com.isOn,$PRE.heaPum.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,23)} Notification: Performance of prepare postOptimizeDAE: time 0.0008429/0.5434, allocations: 460.8 kB / 1.208 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002873/0.5437, allocations: 150.2 kB / 1.208 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004114/0.5478, allocations: 1.315 MB / 1.209 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.29e-05/0.5478, allocations: 8 kB / 1.209 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.5478, allocations: 7.938 kB / 1.209 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003535/0.5514, allocations: 1.131 MB / 1.21 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007949/0.5593, allocations: 3.434 MB / 1.214 GB, free: 6.859 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/0.5594, allocations: 4 kB / 1.214 GB, free: 6.855 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009672/0.5603, allocations: 151.8 kB / 1.214 GB, free: 6.707 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0015/0.5619, allocations: 452.9 kB / 1.214 GB, free: 6.262 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.816e-05/0.5619, allocations: 23.97 kB / 1.214 GB, free: 6.238 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001494/0.5634, allocations: 1.071 MB / 1.215 GB, free: 5.141 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/0.5634, allocations: 8.031 kB / 1.215 GB, free: 5.133 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004093/0.5675, allocations: 1.413 MB / 1.217 GB, free: 3.648 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006718/0.5682, allocations: 390.9 kB / 1.217 GB, free: 3.246 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001945/0.5684, allocations: 24.12 kB / 1.217 GB, free: 3.223 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001762/0.5702, allocations: 159.3 kB / 1.217 GB, free: 3.07 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/0.5703, allocations: 60.23 kB / 1.217 GB, free: 3.012 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.821e-05/0.5704, allocations: 47.95 kB / 1.217 GB, free: 2.965 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.00156/0.572, allocations: 0.9576 MB / 1.218 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of sort global known variables: time 4.31e-07/0.572, allocations: 4 kB / 1.218 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002495/0.5745, allocations: 0.885 MB / 1.219 GB, free: 1.117 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001159/0.5757, allocations: 0.5278 MB / 1.22 GB, free: 0.5859 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.007395/0.5831, allocations: 1.853 MB / 1.221 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.062e-05/0.5831, allocations: 8 kB / 1.221 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.002589/0.5857, allocations: 0.5372 MB / 1.222 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006794/0.5926, allocations: 0.7994 MB / 1.223 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007925/0.6005, allocations: 3.135 MB / 1.226 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008822/0.6015, allocations: 1.208 MB / 1.227 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.002147/0.6036, allocations: 333.5 kB / 1.227 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004692/0.6041, allocations: 131.3 kB / 1.227 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of SimCode: time 1.293e-06/0.6041, allocations: 0 / 1.227 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of Templates: time 0.5888/1.193, allocations: 37.63 MB / 1.264 GB, free: 163.3 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)