Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_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.ScrollWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009288/0.0009288, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.005787/0.005787, allocations: 170.9 kB / 16.26 MB, free: 6.613 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.44/1.44, 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.898/2.898, allocations: 473.4 MB / 0.7469 GB, free: 6.137 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0006504/0.0006505, allocations: 9.562 kB / 0.9158 GB, free: 33.13 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4486/0.4493, allocations: 162.2 MB / 1.074 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static): time 0.06562/0.515, allocations: 68.26 MB / 1.141 GB, free: 3.121 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02158/0.5366, allocations: 14.41 MB / 1.155 GB, free: 4.676 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003523/0.5402, allocations: 63.56 kB / 1.155 GB, free: 4.613 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002699/0.5429, allocations: 0.7498 MB / 1.156 GB, free: 3.859 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.007783/0.5507, allocations: 2.356 MB / 1.158 GB, free: 1.5 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.005161/0.5559, allocations: 1.786 MB / 1.16 GB, free: 15.73 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.007575/0.5634, allocations: 5.854 MB / 1.165 GB, free: 9.859 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002399/0.5659, allocations: 1.293 MB / 1.167 GB, free: 8.535 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003463/0.5694, allocations: 1.423 MB / 1.168 GB, free: 7.105 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002187/0.5716, allocations: 1.201 MB / 1.169 GB, free: 5.898 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002676/0.5719, allocations: 68 kB / 1.169 GB, free: 5.832 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004789/0.5767, allocations: 1.735 MB / 1.171 GB, free: 4.094 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0005015/0.5772, allocations: 330.5 kB / 1.171 GB, free: 3.77 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001852/0.5791, allocations: 0.8995 MB / 1.172 GB, free: 2.859 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.006087/0.5852, allocations: 3.341 MB / 1.175 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/0.5852, allocations: 4 kB / 1.175 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.944e-06/0.5852, allocations: 0 / 1.175 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.005e-05/0.5853, allocations: 4 kB / 1.175 GB, free: 15.5 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.003994/0.5893, allocations: 1.94 MB / 1.177 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.5893, allocations: 11.97 kB / 1.177 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005758/0.5951, allocations: 0.7402 MB / 1.178 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002985/0.5981, allocations: 1.561 MB / 1.18 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001554/0.5983, allocations: 132 kB / 1.18 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002029/0.5985, allocations: 120 kB / 1.18 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004083/0.6026, allocations: 1.681 MB / 1.182 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.007e-05/0.6026, allocations: 4 kB / 1.182 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001464/0.6028, allocations: 55.98 kB / 1.182 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-05/0.6028, allocations: 43.88 kB / 1.182 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004961/0.6078, allocations: 1.523 MB / 1.183 GB, free: 7.457 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.01079/0.6186, allocations: 7.307 MB / 1.19 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002408/0.6211, allocations: 0.8385 MB / 1.191 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001735/0.6228, allocations: 0.5301 MB / 1.192 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001363/0.6242, allocations: 1.27 MB / 1.193 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.892e-05/0.6242, allocations: 43.12 kB / 1.193 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=70): time 3.176e-06/0.6243, allocations: 0 / 1.193 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of matching and sorting (n=70): time 0.03097/0.6552, allocations: 4.315 MB / 1.197 GB, free: 8.438 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.27e-05/0.6553, allocations: 111.4 kB / 1.197 GB, free: 8.305 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002277/0.6576, allocations: 1.371 MB / 1.199 GB, free: 6.922 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.00018/0.6578, allocations: 45.7 kB / 1.199 GB, free: 6.871 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006143/0.6585, allocations: 0.688 MB / 1.199 GB, free: 6.176 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.000267/0.6587, allocations: 240.6 kB / 1.199 GB, free: 5.938 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001269/0.6589, allocations: 69.69 kB / 1.2 GB, free: 5.863 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.659, allocations: 345.9 kB / 1.2 GB, free: 5.52 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001988/0.661, allocations: 0.5172 MB / 1.2 GB, free: 5 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002266/0.6633, allocations: 0.8056 MB / 1.201 GB, free: 4.082 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003901/0.6672, allocations: 1.187 MB / 1.202 GB, free: 2.805 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.598e-06/0.6672, allocations: 8 kB / 1.202 GB, free: 2.797 MB / 0.9512 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.005485/0.6727, allocations: 1.628 MB / 1.204 GB, free: 1.156 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002215/0.673, allocations: 288.9 kB / 1.204 GB, free: 0.7891 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/0.673, allocations: 4 kB / 1.204 GB, free: 0.7852 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002079/0.6751, allocations: 0.5709 MB / 1.205 GB, free: 220 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001387/0.6765, allocations: 251.6 kB / 1.205 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002055/0.6785, allocations: 1.178 MB / 1.206 GB, free: 14.76 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00266/0.6812, allocations: 282.5 kB / 1.206 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001285/0.6813, allocations: 55.95 kB / 1.206 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.6814, allocations: 5.406 kB / 1.206 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004964/0.6863, allocations: 1.476 MB / 1.208 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.6864, allocations: 8 kB / 1.208 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001973/0.6883, allocations: 0.566 MB / 1.208 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001363/0.6897, allocations: 251.5 kB / 1.209 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002076/0.6918, allocations: 1.178 MB / 1.21 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002538/0.6944, allocations: 251 kB / 1.21 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001496/0.6945, allocations: 51.89 kB / 1.21 GB, free: 10.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,25)} Notification: Performance of prepare postOptimizeDAE: time 0.001057/0.6956, allocations: 452.8 kB / 1.211 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004958/0.6961, allocations: 150.2 kB / 1.211 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004799/0.7009, allocations: 1.411 MB / 1.212 GB, free: 8.598 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.806e-05/0.7009, allocations: 11.98 kB / 1.212 GB, free: 8.586 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.701, allocations: 0 / 1.212 GB, free: 8.586 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003946/0.7049, allocations: 1.222 MB / 1.213 GB, free: 7.328 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009362/0.7143, allocations: 3.512 MB / 1.217 GB, free: 3.605 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-05/0.7143, allocations: 4 kB / 1.217 GB, free: 3.602 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000927/0.7153, allocations: 155.8 kB / 1.217 GB, free: 3.449 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002246/0.7175, allocations: 0.5474 MB / 1.217 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001233/0.7177, allocations: 31.91 kB / 1.217 GB, free: 2.867 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002306/0.72, allocations: 1.17 MB / 1.219 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.694e-06/0.72, allocations: 4 kB / 1.219 GB, free: 1.668 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005365/0.7254, allocations: 1.489 MB / 1.22 GB, free: 108 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001319/0.7268, allocations: 391 kB / 1.22 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005539/0.7274, allocations: 19.94 kB / 1.22 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002258/0.7296, allocations: 174.3 kB / 1.221 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001714/0.7298, allocations: 56.3 kB / 1.221 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001479/0.73, allocations: 40.05 kB / 1.221 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.002212/0.7322, allocations: 0.9693 MB / 1.222 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.81e-07/0.7322, allocations: 0 / 1.222 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.003589/0.7358, allocations: 0.885 MB / 1.222 GB, free: 13.56 MB / 0.9825 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,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001571/0.7374, allocations: 0.5329 MB / 1.223 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.007278/0.7447, allocations: 1.921 MB / 1.225 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.336e-05/0.7447, allocations: 7.781 kB / 1.225 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.002203/0.7469, allocations: 0.5614 MB / 1.225 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005789/0.7528, allocations: 0.7988 MB / 1.226 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008161/0.7609, allocations: 3.267 MB / 1.229 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001065/0.762, allocations: 1.211 MB / 1.231 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.002113/0.7642, allocations: 334.9 kB / 1.231 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004543/0.7647, allocations: 127.3 kB / 1.231 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of SimCode: time 1.193e-06/0.7647, allocations: 3.938 kB / 1.231 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of Templates: time 0.6914/1.456, allocations: 38.78 MB / 1.269 GB, free: 166.8 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.sim & ./Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe 2>&1)