Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.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_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.156/2.156, allocations: 391.2 MB / 407 MB, free: 10.86 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.00124/0.00124, allocations: 195.4 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.439/1.439, allocations: 222.9 MB / 0.7948 GB, free: 15.87 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.0009877/0.0009877, allocations: 107.6 kB / 0.9329 GB, free: 7.086 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001054/0.001054, allocations: 50.64 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2441, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic): time 0.08447/0.3286, allocations: 130 MB / 1.345 GB, free: 2.879 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.03409/0.3628, allocations: 25.3 MB / 1.37 GB, free: 9.516 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007403/0.3702, allocations: 131.2 kB / 1.37 GB, free: 9.387 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.005892/0.3762, allocations: 1.418 MB / 1.371 GB, free: 7.961 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.01158/0.3878, allocations: 4.202 MB / 1.375 GB, free: 3.746 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.008845/0.3967, allocations: 3.182 MB / 1.378 GB, free: 0.5938 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.01373/0.4104, allocations: 11.48 MB / 1.39 GB, free: 5.09 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005123/0.4156, allocations: 2.629 MB / 1.392 GB, free: 2.398 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008364/0.424, allocations: 2.886 MB / 1.395 GB, free: 15.5 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004659/0.4287, allocations: 2.442 MB / 1.397 GB, free: 13.05 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0008314/0.4296, allocations: 176 kB / 1.398 GB, free: 12.88 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006314/0.4359, allocations: 2.515 MB / 1.4 GB, free: 10.36 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0009002/0.4368, allocations: 0.6846 MB / 1.401 GB, free: 9.668 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.002753/0.4396, allocations: 1.792 MB / 1.402 GB, free: 7.867 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.008603/0.4482, allocations: 6.19 MB / 1.408 GB, free: 1.66 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/0.4482, allocations: 0 / 1.408 GB, free: 1.66 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.203e-06/0.4483, allocations: 0 / 1.408 GB, free: 1.66 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0001043/0.4484, allocations: 0 / 1.408 GB, free: 1.66 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 583 * Number of variables: 583 Notification: Performance of Generate backend data structure: time 0.009721/0.4581, allocations: 4.096 MB / 1.412 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.4581, allocations: 15.98 kB / 1.413 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009511/0.4677, allocations: 1.291 MB / 1.414 GB, free: 12.15 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00581/0.4735, allocations: 2.935 MB / 1.417 GB, free: 9.137 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002515/0.4738, allocations: 256 kB / 1.417 GB, free: 8.871 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004853/0.4743, allocations: 235.9 kB / 1.417 GB, free: 8.641 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00717/0.4815, allocations: 3.172 MB / 1.42 GB, free: 5.281 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.758e-05/0.4816, allocations: 3.938 kB / 1.42 GB, free: 5.277 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002752/0.4818, allocations: 107.9 kB / 1.42 GB, free: 5.172 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.102e-05/0.4819, allocations: 67.98 kB / 1.42 GB, free: 5.105 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00837/0.4903, allocations: 2.753 MB / 1.423 GB, free: 2.336 MB / 0.9167 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.5625/1.053, allocations: 13.56 MB / 1.436 GB, free: 189.3 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004437/1.057, allocations: 1.404 MB / 1.438 GB, free: 188.8 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002962/1.06, allocations: 0.8564 MB / 1.439 GB, free: 188.6 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001529/1.062, allocations: 1.78 MB / 1.44 GB, free: 186.6 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003658/1.066, allocations: 1.126 MB / 1.441 GB, free: 186.1 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=126): time 3.487e-06/1.066, allocations: 1.625 kB / 1.441 GB, free: 186.1 MB / 0.9167 GB Notification: Performance of matching and sorting (n=132): time 0.03245/1.098, allocations: 9.544 MB / 1.451 GB, free: 181.3 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001894/1.098, allocations: 0.5776 MB / 1.451 GB, free: 180.6 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005279/1.104, allocations: 2.605 MB / 1.454 GB, free: 179.6 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0005157/1.104, allocations: 66.45 kB / 1.454 GB, free: 179.6 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001328/1.105, allocations: 1.351 MB / 1.455 GB, free: 178.5 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007375/1.106, allocations: 458.2 kB / 1.456 GB, free: 178.2 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008254/1.107, allocations: 463.3 kB / 1.456 GB, free: 178 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 4.215e-05/1.107, allocations: 301.1 kB / 1.456 GB, free: 177.7 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003318/1.11, allocations: 0.9375 MB / 1.457 GB, free: 177.4 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003818/1.114, allocations: 1.522 MB / 1.459 GB, free: 176.4 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006144/1.12, allocations: 2.167 MB / 1.461 GB, free: 175.3 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.377e-06/1.12, allocations: 3.969 kB / 1.461 GB, free: 175.3 MB / 0.9167 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.0121/1.133, allocations: 3.091 MB / 1.464 GB, free: 173.9 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 5.503e-05/1.133, allocations: 37.33 kB / 1.464 GB, free: 173.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.716e-05/1.133, allocations: 16.03 kB / 1.464 GB, free: 173.9 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00289/1.136, allocations: 0.9098 MB / 1.465 GB, free: 173.5 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002679/1.138, allocations: 462.8 kB / 1.465 GB, free: 173.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00262/1.141, allocations: 2.191 MB / 1.467 GB, free: 171.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004648/1.146, allocations: 372.4 kB / 1.468 GB, free: 171.5 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002774/1.146, allocations: 102.8 kB / 1.468 GB, free: 171.5 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004216/1.15, allocations: 1.435 MB / 1.469 GB, free: 170.7 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003551/1.154, allocations: 1.499 MB / 1.471 GB, free: 169.5 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006226/1.16, allocations: 2.137 MB / 1.473 GB, free: 168.1 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.121e-05/1.16, allocations: 3.562 kB / 1.473 GB, free: 168.1 MB / 0.9167 GB Notification: Performance of matching and sorting (n=225) (initialization_lambda0): time 0.0112/1.171, allocations: 3.072 MB / 1.476 GB, free: 166.5 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 4.216e-05/1.171, allocations: 39.72 kB / 1.476 GB, free: 166.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.946e-05/1.171, allocations: 17.98 kB / 1.476 GB, free: 166.5 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002696/1.174, allocations: 0.9133 MB / 1.477 GB, free: 165.8 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002551/1.177, allocations: 459.2 kB / 1.477 GB, free: 165.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002575/1.179, allocations: 2.169 MB / 1.479 GB, free: 163.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004842/1.184, allocations: 373.8 kB / 1.48 GB, free: 162.7 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002744/1.184, allocations: 103.9 kB / 1.48 GB, free: 162.6 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 10 (realToInteger.y,N.count,$PRE.N.count,N.T_start,$PRE.N.T_start,heaPum1.com.isOn,$PRE.heaPum1.com.isOn,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 (170): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(4,23), (4,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0006167/1.185, allocations: 292.5 kB / 1.48 GB, free: 162.3 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008104/1.186, allocations: 292.6 kB / 1.48 GB, free: 162 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006959/1.193, allocations: 2.244 MB / 1.483 GB, free: 159.8 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.432e-05/1.193, allocations: 16 kB / 1.483 GB, free: 159.8 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/1.193, allocations: 4 kB / 1.483 GB, free: 159.8 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005775/1.199, allocations: 1.85 MB / 1.484 GB, free: 157.9 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01306/1.212, allocations: 6.207 MB / 1.49 GB, free: 151.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-05/1.212, allocations: 8 kB / 1.49 GB, free: 151.5 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001692/1.213, allocations: 284 kB / 1.491 GB, free: 151.2 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002273/1.216, allocations: 0.7852 MB / 1.491 GB, free: 150.4 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001206/1.216, allocations: 55.88 kB / 1.491 GB, free: 150.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002087/1.218, allocations: 1.935 MB / 1.493 GB, free: 148.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/1.218, allocations: 15.88 kB / 1.493 GB, free: 148.4 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08678/1.305, allocations: 23.7 MB / 1.517 GB, free: 124.1 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001242/1.306, allocations: 0.5794 MB / 1.517 GB, free: 123.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000402/1.306, allocations: 40.06 kB / 1.517 GB, free: 123.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002893/1.309, allocations: 267.5 kB / 1.517 GB, free: 123.2 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001937/1.31, allocations: 112.7 kB / 1.518 GB, free: 123 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000133/1.31, allocations: 75.91 kB / 1.518 GB, free: 123 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.002455/1.312, allocations: 1.832 MB / 1.519 GB, free: 121.1 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.2e-07/1.312, allocations: 0 / 1.519 GB, free: 121.1 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.006162/1.318, allocations: 2.284 MB / 1.522 GB, free: 118.9 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 2 (heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum1.com.isOn,N.T_start,N.count,realToInteger.y) * Number of discrete states: 3 (N.count,heaPum1.com.isOn,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,17), (4,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001895/1.32, allocations: 0.9474 MB / 1.523 GB, free: 118.1 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.01122/1.331, allocations: 3.568 MB / 1.526 GB, free: 114.5 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.438e-05/1.332, allocations: 5.438 kB / 1.526 GB, free: 114.4 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.003386/1.335, allocations: 1.035 MB / 1.527 GB, free: 113.4 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007478/1.342, allocations: 1.515 MB / 1.529 GB, free: 111.9 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01309/1.356, allocations: 7.174 MB / 1.536 GB, free: 104.6 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000994/1.357, allocations: 1.77 MB / 1.537 GB, free: 102.8 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.003515/1.36, allocations: 0.666 MB / 1.538 GB, free: 102.2 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005968/1.361, allocations: 239.3 kB / 1.538 GB, free: 101.9 MB / 0.9167 GB Notification: Performance of SimCode: time 7.12e-07/1.361, allocations: 7.938 kB / 1.538 GB, free: 101.9 MB / 0.9167 GB Notification: Performance of Templates: time 0.1/1.461, allocations: 81.13 MB / 1.617 GB, free: 21.51 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe 2>&1)