Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.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_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008092/0.0008092, allocations: 91.69 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.005285/0.005285, allocations: 172.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.365/1.365, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.774/2.774, allocations: 473.4 MB / 0.7469 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003498/0.0003498, allocations: 11.22 kB / 0.9158 GB, free: 33.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3129/0.3133, allocations: 162.2 MB / 1.074 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed): time 0.06798/0.3813, allocations: 68.3 MB / 1.141 GB, free: 2.996 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02135/0.4027, allocations: 14.53 MB / 1.155 GB, free: 4.43 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002827/0.4056, allocations: 59.62 kB / 1.155 GB, free: 4.371 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002553/0.4082, allocations: 0.7537 MB / 1.156 GB, free: 3.613 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.007854/0.416, allocations: 2.368 MB / 1.158 GB, free: 1.242 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.005387/0.4214, allocations: 1.778 MB / 1.16 GB, free: 15.48 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.007765/0.4292, allocations: 5.961 MB / 1.166 GB, free: 9.504 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002717/0.432, allocations: 1.297 MB / 1.167 GB, free: 8.176 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003532/0.4355, allocations: 1.439 MB / 1.168 GB, free: 6.73 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002262/0.4378, allocations: 1.209 MB / 1.17 GB, free: 5.516 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0004098/0.4382, allocations: 68 kB / 1.17 GB, free: 5.449 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004377/0.4426, allocations: 1.739 MB / 1.171 GB, free: 3.707 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0006079/0.4433, allocations: 330.5 kB / 1.172 GB, free: 3.383 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001739/0.445, allocations: 0.9111 MB / 1.173 GB, free: 2.461 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.005777/0.4508, allocations: 3.373 MB / 1.176 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.4508, allocations: 0 / 1.176 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.833e-06/0.4508, allocations: 0 / 1.176 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.125e-05/0.4509, allocations: 0 / 1.176 GB, free: 15.08 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.004426/0.4553, allocations: 2.001 MB / 1.178 GB, free: 13 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.4554, allocations: 8.031 kB / 1.178 GB, free: 13 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005551/0.461, allocations: 0.7012 MB / 1.178 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003145/0.4641, allocations: 1.557 MB / 1.18 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001796/0.4643, allocations: 128 kB / 1.18 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003125/0.4646, allocations: 119.9 kB / 1.18 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004444/0.4691, allocations: 1.669 MB / 1.182 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.609e-05/0.4692, allocations: 0 / 1.182 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001811/0.4693, allocations: 56 kB / 1.182 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.417e-05/0.4694, allocations: 35.94 kB / 1.182 GB, free: 8.582 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005082/0.4745, allocations: 1.496 MB / 1.183 GB, free: 7.078 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.01121/0.4857, allocations: 7.001 MB / 1.19 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002483/0.4882, allocations: 0.7868 MB / 1.191 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001737/0.49, allocations: 0.5176 MB / 1.191 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001463/0.4915, allocations: 1.267 MB / 1.193 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002091/0.4936, allocations: 0.6714 MB / 1.193 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=69): time 3.316e-06/0.4936, allocations: 0 / 1.193 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of matching and sorting (n=69): time 0.01105/0.5047, allocations: 2.173 MB / 1.196 GB, free: 9.961 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001711/0.5049, allocations: 325 kB / 1.196 GB, free: 9.57 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002587/0.5075, allocations: 1.387 MB / 1.197 GB, free: 8.172 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001667/0.5077, allocations: 41.7 kB / 1.197 GB, free: 8.125 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007195/0.5084, allocations: 0.6997 MB / 1.198 GB, free: 7.418 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003031/0.5087, allocations: 248.6 kB / 1.198 GB, free: 7.172 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001787/0.5089, allocations: 77.67 kB / 1.198 GB, free: 7.09 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.509, allocations: 345.9 kB / 1.199 GB, free: 6.746 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002107/0.5111, allocations: 0.525 MB / 1.199 GB, free: 6.219 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002321/0.5135, allocations: 0.835 MB / 1.2 GB, free: 5.262 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003965/0.5175, allocations: 1.22 MB / 1.201 GB, free: 3.945 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/0.5175, allocations: 0 / 1.201 GB, free: 3.945 MB / 0.9512 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.007142/0.5246, allocations: 1.7 MB / 1.203 GB, free: 2.227 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002372/0.5249, allocations: 298.4 kB / 1.203 GB, free: 1.844 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.618e-05/0.5249, allocations: 8 kB / 1.203 GB, free: 1.836 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001493/0.5264, allocations: 371.1 kB / 1.203 GB, free: 1.477 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001614/0.5281, allocations: 280.2 kB / 1.204 GB, free: 1.203 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001278/0.5294, allocations: 0.908 MB / 1.205 GB, free: 276 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002749/0.5321, allocations: 286.6 kB / 1.205 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000171/0.5323, allocations: 55.89 kB / 1.205 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/0.5323, allocations: 4 kB / 1.205 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006513/0.5388, allocations: 1.544 MB / 1.206 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.586e-05/0.5389, allocations: 8.5 kB / 1.206 GB, free: 14.37 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001336/0.5402, allocations: 371.1 kB / 1.207 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001534/0.5418, allocations: 275.5 kB / 1.207 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001231/0.543, allocations: 0.905 MB / 1.208 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002601/0.5456, allocations: 258.8 kB / 1.208 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001525/0.5458, allocations: 55.95 kB / 1.208 GB, free: 12.5 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: 7 (N.count,$PRE.N.count,N.T_start,$PRE.N.T_start,heaPum.com.isOn,$PRE.heaPum.com.isOn,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 1 * 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 {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0009089/0.5467, allocations: 469.8 kB / 1.209 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004427/0.5472, allocations: 146.2 kB / 1.209 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004408/0.5516, allocations: 1.279 MB / 1.21 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.249e-05/0.5516, allocations: 8 kB / 1.21 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.5516, allocations: 0 / 1.21 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003657/0.5553, allocations: 1.096 MB / 1.211 GB, free: 9.457 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00813/0.5635, allocations: 3.334 MB / 1.214 GB, free: 5.996 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.317e-05/0.5635, allocations: 4 kB / 1.214 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00103/0.5645, allocations: 163.7 kB / 1.214 GB, free: 5.832 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001322/0.5659, allocations: 364.6 kB / 1.215 GB, free: 5.477 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-05/0.566, allocations: 31.89 kB / 1.215 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001208/0.5672, allocations: 0.8998 MB / 1.216 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.762e-06/0.5672, allocations: 12.03 kB / 1.216 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006251/0.5735, allocations: 1.969 MB / 1.218 GB, free: 2.461 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001109/0.5746, allocations: 391 kB / 1.218 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004792/0.5751, allocations: 24 kB / 1.218 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002166/0.5773, allocations: 167.7 kB / 1.218 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001609/0.5775, allocations: 68.23 kB / 1.218 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001055/0.5776, allocations: 40.08 kB / 1.218 GB, free: 1.766 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.002052/0.5796, allocations: 0.994 MB / 1.219 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.91e-07/0.5797, allocations: 0 / 1.219 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.003206/0.5829, allocations: 0.893 MB / 1.22 GB, free: 15.88 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,heaPum.com.isOn,N.T_start,N.count) * Number of discrete states: 2 (N.count,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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 {(2,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001462/0.5843, allocations: 0.542 MB / 1.221 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.007071/0.5914, allocations: 2.027 MB / 1.223 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/0.5915, allocations: 0 / 1.223 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.002083/0.5936, allocations: 0.5679 MB / 1.223 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005473/0.599, allocations: 0.8151 MB / 1.224 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006646/0.6057, allocations: 3.307 MB / 1.227 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009053/0.6066, allocations: 1.215 MB / 1.228 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001972/0.6086, allocations: 378.6 kB / 1.229 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00043/0.6091, allocations: 135.3 kB / 1.229 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of SimCode: time 7.32e-07/0.6091, allocations: 0 / 1.229 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of Templates: time 0.626/1.235, allocations: 38.06 MB / 1.266 GB, free: 165.1 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.sim & ./Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe 2>&1)