Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_Dynamic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.QCon_flow|heaPum1.QCon_flow|appCap.y|heaPum.com.y",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.QCon_flow|heaPum1.QCon_flow|appCap.y|heaPum.com.y",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001644/0.001644, allocations: 110.7 kB / 16.42 MB, free: 6.512 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.001986/0.001986, allocations: 189.5 kB / 17.35 MB, free: 5.738 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.354/1.354, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.531/2.531, allocations: 437 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002172/0.002172, allocations: 64.12 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8297/0.8319, allocations: 151.6 MB / 1.167 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic): time 0.134/0.966, allocations: 130.8 MB / 1.295 GB, free: 0.5664 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0369/1.003, allocations: 25.1 MB / 1.32 GB, free: 7.406 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005281/1.008, allocations: 135.2 kB / 1.32 GB, free: 7.273 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.005294/1.014, allocations: 1.798 MB / 1.321 GB, free: 5.465 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.01335/1.027, allocations: 4.781 MB / 1.326 GB, free: 0.668 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.00886/1.036, allocations: 3.53 MB / 1.33 GB, free: 13.16 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.01181/1.048, allocations: 9.037 MB / 1.338 GB, free: 4.105 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005222/1.053, allocations: 3.199 MB / 1.342 GB, free: 0.8438 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007857/1.061, allocations: 3.545 MB / 1.345 GB, free: 13.3 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004567/1.065, allocations: 2.485 MB / 1.347 GB, free: 10.8 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0013/1.067, allocations: 392 kB / 1.348 GB, free: 10.42 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008109/1.075, allocations: 2.885 MB / 1.351 GB, free: 7.531 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.002057/1.077, allocations: 0.8838 MB / 1.351 GB, free: 6.645 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.004279/1.081, allocations: 1.999 MB / 1.353 GB, free: 4.637 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01159/1.093, allocations: 6.375 MB / 1.36 GB, free: 14.25 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/1.093, allocations: 0 / 1.36 GB, free: 14.25 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.234e-06/1.093, allocations: 0 / 1.36 GB, free: 14.25 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001715/1.093, allocations: 4 kB / 1.36 GB, free: 14.24 MB / 1.092 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.01004/1.103, allocations: 4.083 MB / 1.364 GB, free: 10.05 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/1.103, allocations: 12.86 kB / 1.364 GB, free: 10.04 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01066/1.114, allocations: 1.284 MB / 1.365 GB, free: 8.754 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006167/1.12, allocations: 2.983 MB / 1.368 GB, free: 5.695 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002922/1.12, allocations: 263.9 kB / 1.368 GB, free: 5.422 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006323/1.121, allocations: 231.9 kB / 1.368 GB, free: 5.195 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008546/1.13, allocations: 3.161 MB / 1.371 GB, free: 1.848 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.934e-05/1.13, allocations: 7.938 kB / 1.371 GB, free: 1.84 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004135/1.13, allocations: 96 kB / 1.372 GB, free: 1.746 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.121e-05/1.13, allocations: 75.92 kB / 1.372 GB, free: 1.672 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009489/1.14, allocations: 2.749 MB / 1.374 GB, free: 14.91 MB / 1.107 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.02202/1.162, allocations: 13.57 MB / 1.388 GB, free: 0.6836 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004333/1.166, allocations: 1.401 MB / 1.389 GB, free: 15.27 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003014/1.169, allocations: 0.8574 MB / 1.39 GB, free: 14.41 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00191/1.171, allocations: 1.785 MB / 1.391 GB, free: 12.24 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003659/1.175, allocations: 1.122 MB / 1.393 GB, free: 11.05 MB / 1.123 GB Notification: Performance of pre-optimization done (n=126): time 6.302e-06/1.175, allocations: 0 / 1.393 GB, free: 11.05 MB / 1.123 GB Notification: Performance of matching and sorting (n=132): time 0.0373/1.212, allocations: 9.541 MB / 1.402 GB, free: 1.352 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002823/1.212, allocations: 0.5805 MB / 1.402 GB, free: 0.6367 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005232/1.218, allocations: 2.643 MB / 1.405 GB, free: 13.98 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0004065/1.218, allocations: 61.92 kB / 1.405 GB, free: 13.91 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001496/1.22, allocations: 1.353 MB / 1.406 GB, free: 12.54 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006978/1.22, allocations: 461.5 kB / 1.407 GB, free: 12.09 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001064/1.221, allocations: 458.9 kB / 1.407 GB, free: 11.63 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001056/1.221, allocations: 301.1 kB / 1.408 GB, free: 11.34 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003795/1.225, allocations: 0.9377 MB / 1.408 GB, free: 10.39 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00434/1.23, allocations: 1.522 MB / 1.41 GB, free: 8.629 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007206/1.237, allocations: 2.153 MB / 1.412 GB, free: 6.301 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.535e-05/1.237, allocations: 7.938 kB / 1.412 GB, free: 6.293 MB / 1.139 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.01258/1.25, allocations: 3.093 MB / 1.415 GB, free: 3.176 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 6.444e-05/1.25, allocations: 45.69 kB / 1.415 GB, free: 3.125 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.541e-05/1.25, allocations: 12 kB / 1.415 GB, free: 3.113 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003183/1.253, allocations: 0.9102 MB / 1.416 GB, free: 2.203 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002711/1.256, allocations: 467.2 kB / 1.416 GB, free: 1.746 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003247/1.259, allocations: 2.171 MB / 1.419 GB, free: 15.52 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004462/1.263, allocations: 275.7 kB / 1.419 GB, free: 15.25 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003176/1.264, allocations: 111.8 kB / 1.419 GB, free: 15.14 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004854/1.269, allocations: 1.429 MB / 1.42 GB, free: 13.71 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004241/1.273, allocations: 1.515 MB / 1.422 GB, free: 11.96 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007073/1.28, allocations: 2.13 MB / 1.424 GB, free: 9.656 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.497e-05/1.28, allocations: 4 kB / 1.424 GB, free: 9.652 MB / 1.154 GB Notification: Performance of matching and sorting (n=225) (initialization_lambda0): time 0.01215/1.292, allocations: 3.07 MB / 1.427 GB, free: 6.559 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 5.986e-05/1.292, allocations: 47.83 kB / 1.427 GB, free: 6.508 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.404e-05/1.292, allocations: 12 kB / 1.427 GB, free: 6.496 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003131/1.295, allocations: 0.9002 MB / 1.428 GB, free: 5.594 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002698/1.298, allocations: 467.2 kB / 1.428 GB, free: 5.137 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003204/1.301, allocations: 2.164 MB / 1.43 GB, free: 2.922 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004472/1.306, allocations: 296 kB / 1.431 GB, free: 2.633 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000325/1.306, allocations: 103.9 kB / 1.431 GB, free: 2.531 MB / 1.154 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.0006932/1.307, allocations: 301 kB / 1.431 GB, free: 2.23 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009629/1.308, allocations: 280.6 kB / 1.431 GB, free: 1.953 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007996/1.316, allocations: 2.253 MB / 1.434 GB, free: 15.67 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006479/1.322, allocations: 1.861 MB / 1.435 GB, free: 13.75 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.351e-05/1.322, allocations: 0 / 1.435 GB, free: 13.75 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001765/1.324, allocations: 0.5678 MB / 1.436 GB, free: 13.16 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009/1.325, allocations: 24 kB / 1.436 GB, free: 13.14 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0034/1.328, allocations: 207.6 kB / 1.436 GB, free: 12.94 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002594/1.329, allocations: 108.7 kB / 1.436 GB, free: 12.83 MB / 1.17 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01118/1.34, allocations: 3.04 MB / 1.439 GB, free: 9.777 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01057/1.351, allocations: 3.618 MB / 1.443 GB, free: 6.137 MB / 1.17 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003057/1.354, allocations: 0.8398 MB / 1.444 GB, free: 5.297 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.003827/1.357, allocations: 1.839 MB / 1.445 GB, free: 3.457 MB / 1.17 GB Notification: Performance of Backend: time 5.81e-07/1.357, allocations: 3.938 kB / 1.445 GB, free: 3.453 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.015/1.372, allocations: 3.953 MB / 1.449 GB, free: 15.48 MB / 1.186 GB Notification: Performance of SimCode: time 0.01402/1.387, allocations: 6.375 MB / 1.455 GB, free: 9.078 MB / 1.186 GB Notification: Performance of Templates: time 0.1379/1.524, allocations: 90.53 MB / 1.544 GB, free: 15.12 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.makefile (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.sim & ./Buildings_10_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe 2>&1)