Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.238/2.238, allocations: 391.2 MB / 407 MB, free: 10.89 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 196.5 kB / 499.1 MB, free: 4.695 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 222.9 MB / 0.7948 GB, free: 15.8 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009717/0.0009714, allocations: 111.7 kB / 0.9329 GB, free: 7.105 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001037/0.001037, allocations: 49.16 kB / 1.081 GB, free: 218 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2651/0.2661, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed): time 0.04724/0.3134, allocations: 69.53 MB / 1.286 GB, free: 47.52 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.01587/0.3293, allocations: 14.7 MB / 1.3 GB, free: 32.79 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00308/0.3324, allocations: 67.56 kB / 1.3 GB, free: 32.72 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.002633/0.3351, allocations: 0.7654 MB / 1.301 GB, free: 31.95 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.006131/0.3413, allocations: 2.345 MB / 1.303 GB, free: 29.6 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004359/0.3457, allocations: 1.79 MB / 1.305 GB, free: 27.82 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.006166/0.3519, allocations: 5.988 MB / 1.311 GB, free: 21.81 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002405/0.3543, allocations: 1.33 MB / 1.312 GB, free: 20.45 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003274/0.3576, allocations: 1.505 MB / 1.314 GB, free: 18.94 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002886/0.3605, allocations: 1.26 MB / 1.315 GB, free: 17.68 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0007269/0.3613, allocations: 92 kB / 1.315 GB, free: 17.59 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006511/0.3678, allocations: 1.755 MB / 1.317 GB, free: 15.83 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.001069/0.3689, allocations: 378.4 kB / 1.317 GB, free: 15.46 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.003013/0.3719, allocations: 0.9173 MB / 1.318 GB, free: 14.54 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.00632/0.3782, allocations: 3.451 MB / 1.321 GB, free: 11.07 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.3783, allocations: 4 kB / 1.321 GB, free: 11.07 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3783, allocations: 0 / 1.321 GB, free: 11.07 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.571e-05/0.3784, allocations: 0 / 1.321 GB, free: 11.07 MB / 0.823 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.005213/0.3836, allocations: 2.356 MB / 1.324 GB, free: 8.641 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.3837, allocations: 19.98 kB / 1.324 GB, free: 8.621 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004476/0.3882, allocations: 0.6502 MB / 1.324 GB, free: 7.969 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002386/0.3906, allocations: 1.572 MB / 1.326 GB, free: 6.34 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001104/0.3907, allocations: 132 kB / 1.326 GB, free: 6.203 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001901/0.3909, allocations: 124 kB / 1.326 GB, free: 6.082 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003463/0.3943, allocations: 1.632 MB / 1.328 GB, free: 4.359 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.458e-05/0.3944, allocations: 3.938 kB / 1.328 GB, free: 4.355 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000134/0.3945, allocations: 56 kB / 1.328 GB, free: 4.301 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.692e-05/0.3946, allocations: 32 kB / 1.328 GB, free: 4.27 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0042/0.3988, allocations: 1.445 MB / 1.329 GB, free: 2.816 MB / 0.823 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.009447/0.4083, allocations: 6.946 MB / 1.336 GB, free: 11.53 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002266/0.4105, allocations: 0.7585 MB / 1.337 GB, free: 10.77 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00154/0.4121, allocations: 493.3 kB / 1.337 GB, free: 10.29 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001265/0.4134, allocations: 1.267 MB / 1.339 GB, free: 8.742 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001884/0.4153, allocations: 0.644 MB / 1.339 GB, free: 8.055 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=69): time 3.226e-06/0.4153, allocations: 0 / 1.339 GB, free: 8.055 MB / 0.8386 GB Notification: Performance of matching and sorting (n=69): time 0.009887/0.4252, allocations: 2.041 MB / 1.341 GB, free: 5.984 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001661/0.4254, allocations: 328.9 kB / 1.341 GB, free: 5.59 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002414/0.4278, allocations: 1.383 MB / 1.343 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001601/0.428, allocations: 49.69 kB / 1.343 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005907/0.4286, allocations: 0.6959 MB / 1.344 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002621/0.4289, allocations: 240.6 kB / 1.344 GB, free: 3.199 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004556/0.4293, allocations: 246.3 kB / 1.344 GB, free: 2.953 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.4295, allocations: 345.9 kB / 1.344 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00185/0.4313, allocations: 0.5043 MB / 1.345 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002127/0.4335, allocations: 0.8112 MB / 1.346 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003518/0.437, allocations: 1.154 MB / 1.347 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.119e-05/0.437, allocations: 8 kB / 1.347 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.006312/0.4433, allocations: 1.63 MB / 1.348 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.491e-05/0.4434, allocations: 33.7 kB / 1.348 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.671e-05/0.4434, allocations: 8 kB / 1.348 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001361/0.4448, allocations: 372.1 kB / 1.349 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001427/0.4463, allocations: 271.5 kB / 1.349 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001184/0.4474, allocations: 0.889 MB / 1.35 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002494/0.45, allocations: 274.5 kB / 1.35 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001442/0.4501, allocations: 55.94 kB / 1.35 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00244/0.4526, allocations: 0.7986 MB / 1.351 GB, free: 11.55 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002121/0.4547, allocations: 0.8097 MB / 1.352 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003604/0.4583, allocations: 1.158 MB / 1.353 GB, free: 9.371 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.692e-06/0.4583, allocations: 0 / 1.353 GB, free: 9.371 MB / 0.8542 GB Notification: Performance of matching and sorting (n=117) (initialization_lambda0): time 0.006397/0.4647, allocations: 1.626 MB / 1.354 GB, free: 7.727 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.314e-05/0.4648, allocations: 33.7 kB / 1.355 GB, free: 7.688 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.4648, allocations: 7.984 kB / 1.355 GB, free: 7.68 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001264/0.4661, allocations: 366.9 kB / 1.355 GB, free: 7.324 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001376/0.4675, allocations: 263.5 kB / 1.355 GB, free: 7.066 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001112/0.4686, allocations: 0.8969 MB / 1.356 GB, free: 6.145 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0025/0.4711, allocations: 235.1 kB / 1.356 GB, free: 5.914 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001367/0.4713, allocations: 51.95 kB / 1.356 GB, free: 5.863 MB / 0.8542 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.000396/0.4717, allocations: 245.3 kB / 1.357 GB, free: 5.617 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004861/0.4722, allocations: 154.2 kB / 1.357 GB, free: 5.465 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004083/0.4763, allocations: 1.219 MB / 1.358 GB, free: 4.227 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.712e-05/0.4763, allocations: 11.94 kB / 1.358 GB, free: 4.215 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/0.4763, allocations: 4 kB / 1.358 GB, free: 4.211 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003297/0.4796, allocations: 1.026 MB / 1.359 GB, free: 3.156 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007507/0.4871, allocations: 3.283 MB / 1.362 GB, free: 15.75 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/0.4872, allocations: 4 kB / 1.362 GB, free: 15.74 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009344/0.4881, allocations: 163.7 kB / 1.362 GB, free: 15.58 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00123/0.4893, allocations: 345.7 kB / 1.363 GB, free: 15.25 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.579e-05/0.4894, allocations: 31.97 kB / 1.363 GB, free: 15.21 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001088/0.4905, allocations: 0.8825 MB / 1.363 GB, free: 14.31 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.972e-06/0.4905, allocations: 4 kB / 1.363 GB, free: 14.3 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09479/0.5853, allocations: 21.4 MB / 1.384 GB, free: 8.18 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001045/0.5864, allocations: 355 kB / 1.385 GB, free: 7.812 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004113/0.5869, allocations: 31.86 kB / 1.385 GB, free: 7.781 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001854/0.5887, allocations: 143.8 kB / 1.385 GB, free: 7.641 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001899/0.589, allocations: 68.23 kB / 1.385 GB, free: 7.574 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001209/0.5891, allocations: 39.95 kB / 1.385 GB, free: 7.535 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.00203/0.5911, allocations: 0.9901 MB / 1.386 GB, free: 6.547 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5911, allocations: 4 kB / 1.386 GB, free: 6.543 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.005524/0.5967, allocations: 1.483 MB / 1.387 GB, free: 5.059 MB / 0.8855 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.002245/0.5989, allocations: 0.6642 MB / 1.388 GB, free: 4.398 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00691/0.6059, allocations: 1.941 MB / 1.39 GB, free: 2.43 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.317e-05/0.6059, allocations: 0 / 1.39 GB, free: 2.43 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002016/0.6079, allocations: 0.5443 MB / 1.39 GB, free: 1.887 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004669/0.6126, allocations: 0.779 MB / 1.391 GB, free: 1.125 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009154/0.6218, allocations: 3.98 MB / 1.395 GB, free: 13.04 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001095/0.6229, allocations: 1.242 MB / 1.396 GB, free: 11.77 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.002479/0.6254, allocations: 407.8 kB / 1.397 GB, free: 11.38 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000582/0.626, allocations: 139.3 kB / 1.397 GB, free: 11.24 MB / 0.9011 GB Notification: Performance of SimCode: time 4.9e-07/0.626, allocations: 3.938 kB / 1.397 GB, free: 11.23 MB / 0.9011 GB Notification: Performance of Templates: time 0.542/1.168, allocations: 48.5 MB / 1.444 GB, free: 187.8 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe 2>&1)