Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001683/0.001683, allocations: 110.5 kB / 16.38 MB, free: 5.891 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.001941/0.001941, allocations: 193.8 kB / 17.31 MB, free: 5.543 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.328/1.328, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.803/1.803, allocations: 292.3 MB / 0.5496 GB, free: 17.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 75.84 kB / 0.6729 GB, free: 5.836 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2091/0.2106, allocations: 114.5 MB / 0.7848 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic): time 0.4282/0.6389, allocations: 130.8 MB / 0.9125 GB, free: 4.348 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.03643/0.6754, allocations: 24.86 MB / 0.9368 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004984/0.6804, allocations: 135.2 kB / 0.9369 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.005187/0.6857, allocations: 1.727 MB / 0.9386 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01348/0.6992, allocations: 4.521 MB / 0.9431 GB, free: 8.148 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.009519/0.7087, allocations: 3.52 MB / 0.9465 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.01287/0.7216, allocations: 8.962 MB / 0.9552 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00525/0.7269, allocations: 3.209 MB / 0.9584 GB, free: 8.469 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007661/0.7345, allocations: 3.45 MB / 0.9617 GB, free: 5.023 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004362/0.7389, allocations: 2.491 MB / 0.9642 GB, free: 2.523 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.001285/0.7402, allocations: 388 kB / 0.9645 GB, free: 2.145 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007732/0.748, allocations: 2.894 MB / 0.9674 GB, free: 15.25 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.001886/0.7499, allocations: 0.8838 MB / 0.9682 GB, free: 14.36 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.004474/0.7544, allocations: 1.999 MB / 0.9702 GB, free: 12.35 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.01094/0.7654, allocations: 6.377 MB / 0.9764 GB, free: 5.961 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.7654, allocations: 0 / 0.9764 GB, free: 5.961 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7654, allocations: 0 / 0.9764 GB, free: 5.961 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.000151/0.7656, allocations: 0 / 0.9764 GB, free: 5.961 MB / 0.7637 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.008888/0.7745, allocations: 4.086 MB / 0.9804 GB, free: 1.773 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.7745, allocations: 11.97 kB / 0.9804 GB, free: 1.762 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01029/0.7848, allocations: 1.291 MB / 0.9817 GB, free: 476 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005391/0.7902, allocations: 2.952 MB / 0.9846 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002406/0.7905, allocations: 252 kB / 0.9848 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004352/0.7909, allocations: 240 kB / 0.985 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007916/0.7989, allocations: 3.153 MB / 0.9881 GB, free: 9.602 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.397e-05/0.799, allocations: 7.938 kB / 0.9881 GB, free: 9.594 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003254/0.7993, allocations: 111.9 kB / 0.9882 GB, free: 9.484 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.716e-05/0.7994, allocations: 67.98 kB / 0.9883 GB, free: 9.418 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009063/0.8084, allocations: 2.753 MB / 0.991 GB, free: 6.648 MB / 0.7794 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.02057/0.829, allocations: 13.57 MB / 1.004 GB, free: 8.43 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004177/0.8332, allocations: 1.398 MB / 1.006 GB, free: 7.023 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00292/0.8362, allocations: 0.8573 MB / 1.006 GB, free: 6.164 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001739/0.8379, allocations: 1.773 MB / 1.008 GB, free: 4.004 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003525/0.8415, allocations: 1.13 MB / 1.009 GB, free: 2.809 MB / 0.795 GB Notification: Performance of pre-optimization done (n=126): time 3.767e-06/0.8415, allocations: 4 kB / 1.009 GB, free: 2.805 MB / 0.795 GB Notification: Performance of matching and sorting (n=132): time 0.0321/0.8736, allocations: 9.531 MB / 1.019 GB, free: 9.113 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002574/0.8739, allocations: 0.5805 MB / 1.019 GB, free: 8.398 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004273/0.8782, allocations: 2.639 MB / 1.022 GB, free: 5.742 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0003721/0.8786, allocations: 65.92 kB / 1.022 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.001172/0.8797, allocations: 1.337 MB / 1.023 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005277/0.8803, allocations: 461.4 kB / 1.024 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007573/0.881, allocations: 470.9 kB / 1.024 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.8812, allocations: 309.1 kB / 1.024 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003689/0.8848, allocations: 0.9373 MB / 1.025 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004137/0.889, allocations: 1.526 MB / 1.027 GB, free: 396 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006906/0.8959, allocations: 2.153 MB / 1.029 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.037e-06/0.896, allocations: 4 kB / 1.029 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.01167/0.9076, allocations: 3.094 MB / 1.032 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.736e-05/0.9077, allocations: 41.69 kB / 1.032 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.016e-05/0.9077, allocations: 12.91 kB / 1.032 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003078/0.9108, allocations: 0.9157 MB / 1.033 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002575/0.9134, allocations: 463.2 kB / 1.033 GB, free: 9.508 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003057/0.9165, allocations: 2.17 MB / 1.035 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004233/0.9207, allocations: 288.1 kB / 1.036 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002585/0.921, allocations: 103.9 kB / 1.036 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004436/0.9255, allocations: 1.429 MB / 1.037 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004042/0.9295, allocations: 1.515 MB / 1.039 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006721/0.9362, allocations: 2.137 MB / 1.041 GB, free: 1.406 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.33e-05/0.9363, allocations: 4 kB / 1.041 GB, free: 1.402 MB / 0.8262 GB Notification: Performance of matching and sorting (n=225) (initialization_lambda0): time 0.01175/0.9481, allocations: 3.067 MB / 1.044 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.324e-05/0.9481, allocations: 37.7 kB / 1.044 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/0.9482, allocations: 12 kB / 1.044 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003018/0.9512, allocations: 0.9247 MB / 1.045 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002601/0.9538, allocations: 455.2 kB / 1.045 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00308/0.9569, allocations: 2.18 MB / 1.047 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004375/0.9613, allocations: 296 kB / 1.047 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002556/0.9616, allocations: 109.1 kB / 1.048 GB, free: 10.27 MB / 0.8419 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.0005576/0.9621, allocations: 300.4 kB / 1.048 GB, free: 9.965 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007055/0.9628, allocations: 284.6 kB / 1.048 GB, free: 9.684 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007607/0.9704, allocations: 2.229 MB / 1.05 GB, free: 7.434 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006294/0.9768, allocations: 1.861 MB / 1.052 GB, free: 5.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.06e-05/0.9768, allocations: 1.125 kB / 1.052 GB, free: 5.52 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001346/0.9781, allocations: 0.5756 MB / 1.053 GB, free: 4.922 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005018/0.9787, allocations: 32 kB / 1.053 GB, free: 4.891 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002885/0.9815, allocations: 207.6 kB / 1.053 GB, free: 4.688 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002083/0.9818, allocations: 96.8 kB / 1.053 GB, free: 4.594 MB / 0.8419 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01057/0.9923, allocations: 3.055 MB / 1.056 GB, free: 1.523 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01009/1.002, allocations: 3.61 MB / 1.059 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002954/1.005, allocations: 0.8394 MB / 1.06 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.003395/1.009, allocations: 1.839 MB / 1.062 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of Backend: time 5.31e-07/1.009, allocations: 3.938 kB / 1.062 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.01402/1.023, allocations: 3.953 MB / 1.066 GB, free: 7.27 MB / 0.8575 GB Notification: Performance of SimCode: time 0.01242/1.035, allocations: 6.388 MB / 1.072 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of Templates: time 0.456/1.491, allocations: 90.3 MB / 1.16 GB, free: 297.5 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe 2>&1)