Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.716/1.716, allocations: 287.4 MB / 303.2 MB, free: 8.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001218/0.001218, allocations: 178.4 kB / 371.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.44/1.44, allocations: 205.4 MB / 0.6305 GB, free: 10.46 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007063/0.0007064, allocations: 91.78 kB / 0.7438 GB, free: 6.457 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003749/0.000375, allocations: 15.92 kB / 0.8667 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1989/0.1993, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic): time 0.5784/0.7777, allocations: 120.7 MB / 1.097 GB, free: 33.97 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.03789/0.8157, allocations: 23.33 MB / 1.12 GB, free: 27.69 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006164/0.8219, allocations: 119 kB / 1.12 GB, free: 27.64 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.005848/0.8278, allocations: 1.196 MB / 1.121 GB, free: 27.11 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.01469/0.8425, allocations: 3.531 MB / 1.125 GB, free: 25.71 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.008167/0.8507, allocations: 2.472 MB / 1.127 GB, free: 24.73 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01375/0.8644, allocations: 9.881 MB / 1.137 GB, free: 20.5 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005269/0.8697, allocations: 2.501 MB / 1.139 GB, free: 19.42 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006486/0.8762, allocations: 2.665 MB / 1.142 GB, free: 18.01 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005395/0.8816, allocations: 2.187 MB / 1.144 GB, free: 16.73 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001091/0.8828, allocations: 130.5 kB / 1.144 GB, free: 16.73 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009079/0.8919, allocations: 1.941 MB / 1.146 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001841/0.8937, allocations: 0.5845 MB / 1.146 GB, free: 15.36 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.00265/0.8964, allocations: 0.7379 MB / 1.147 GB, free: 14.95 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.009662/0.9061, allocations: 4.74 MB / 1.152 GB, free: 11.65 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.9062, allocations: 1.344 kB / 1.152 GB, free: 11.65 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.877e-06/0.9062, allocations: 0 / 1.152 GB, free: 11.65 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001962/0.9064, allocations: 3.938 kB / 1.152 GB, free: 11.65 MB / 0.6823 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.01284/0.9192, allocations: 3.388 MB / 1.155 GB, free: 9.148 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.339e-05/0.9193, allocations: 6.781 kB / 1.155 GB, free: 9.148 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01735/0.9367, allocations: 1.371 MB / 1.157 GB, free: 8.578 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009475/0.9462, allocations: 2.916 MB / 1.159 GB, free: 6.289 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004352/0.9467, allocations: 248.2 kB / 1.16 GB, free: 6.141 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000891/0.9476, allocations: 234.5 kB / 1.16 GB, free: 6.066 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01346/0.9611, allocations: 3.189 MB / 1.163 GB, free: 3.977 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001051/0.9612, allocations: 7.406 kB / 1.163 GB, free: 3.973 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005828/0.9618, allocations: 103.9 kB / 1.163 GB, free: 3.898 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001184/0.962, allocations: 78.05 kB / 1.163 GB, free: 3.883 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01624/0.9782, allocations: 2.802 MB / 1.166 GB, free: 2.473 MB / 0.6823 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.03037/1.009, allocations: 13.63 MB / 1.179 GB, free: 5.742 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006002/1.015, allocations: 1.427 MB / 1.181 GB, free: 4.316 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004245/1.019, allocations: 0.8847 MB / 1.181 GB, free: 3.426 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002348/1.021, allocations: 1.781 MB / 1.183 GB, free: 1.258 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005053/1.026, allocations: 1.158 MB / 1.184 GB, free: 48 kB / 0.698 GB Notification: Performance of pre-optimization done (n=126): time 7.063e-06/1.026, allocations: 0 / 1.184 GB, free: 48 kB / 0.698 GB Notification: Performance of matching and sorting (n=132): time 0.05107/1.078, allocations: 9.813 MB / 1.194 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003189/1.078, allocations: 0.5805 MB / 1.194 GB, free: 5.359 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006382/1.084, allocations: 2.592 MB / 1.197 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0003673/1.085, allocations: 61.7 kB / 1.197 GB, free: 2.684 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001743/1.086, allocations: 1.345 MB / 1.198 GB, free: 1.324 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007609/1.087, allocations: 461.6 kB / 1.199 GB, free: 0.8672 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002134/1.087, allocations: 32 kB / 1.199 GB, free: 0.8359 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002195/1.088, allocations: 377.8 kB / 1.199 GB, free: 472 kB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005245/1.093, allocations: 0.9486 MB / 1.2 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005827/1.099, allocations: 1.554 MB / 1.202 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009553/1.108, allocations: 2.208 MB / 1.204 GB, free: 11.33 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.335e-05/1.108, allocations: 4 kB / 1.204 GB, free: 11.33 MB / 0.7292 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.01828/1.127, allocations: 3.385 MB / 1.207 GB, free: 7.926 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004854/1.127, allocations: 498 kB / 1.208 GB, free: 7.262 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.077e-05/1.127, allocations: 12 kB / 1.208 GB, free: 7.25 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0043/1.132, allocations: 0.9341 MB / 1.208 GB, free: 6.316 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003955/1.136, allocations: 479.2 kB / 1.209 GB, free: 5.848 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004294/1.14, allocations: 2.194 MB / 1.211 GB, free: 3.602 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00731/1.147, allocations: 403.2 kB / 1.211 GB, free: 3.207 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004167/1.148, allocations: 107.9 kB / 1.212 GB, free: 3.102 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/1.148, allocations: 6.344 kB / 1.212 GB, free: 3.098 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0179/1.166, allocations: 3.076 MB / 1.215 GB, free: 8 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.397e-05/1.166, allocations: 16.95 kB / 1.215 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004077/1.17, allocations: 0.9386 MB / 1.216 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003777/1.174, allocations: 475.2 kB / 1.216 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004297/1.178, allocations: 2.186 MB / 1.218 GB, free: 12.35 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00622/1.184, allocations: 367.3 kB / 1.218 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005648/1.185, allocations: 115.9 kB / 1.219 GB, free: 11.88 MB / 0.7448 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 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.heaPum1.com.isOn,heaPum1.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count,realToInteger.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 23,4 25} Notification: Performance of prepare postOptimizeDAE: time 0.002249/1.187, allocations: 0.6964 MB / 1.219 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001129/1.188, allocations: 284.6 kB / 1.22 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01122/1.199, allocations: 2.297 MB / 1.222 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008957/1.208, allocations: 1.928 MB / 1.224 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.902e-05/1.209, allocations: 0 / 1.224 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002636/1.211, allocations: 0.6379 MB / 1.224 GB, free: 5.938 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00129/1.212, allocations: 39.86 kB / 1.224 GB, free: 5.898 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005137/1.218, allocations: 284.3 kB / 1.225 GB, free: 5.621 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000307/1.218, allocations: 96.8 kB / 1.225 GB, free: 5.527 MB / 0.7448 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0158/1.234, allocations: 3.206 MB / 1.228 GB, free: 2.305 MB / 0.7448 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01474/1.249, allocations: 3.704 MB / 1.231 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00425/1.253, allocations: 0.8392 MB / 1.232 GB, free: 13.73 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.005048/1.258, allocations: 1.8 MB / 1.234 GB, free: 11.93 MB / 0.7605 GB Notification: Performance of Backend: time 6.22e-07/1.258, allocations: 0 / 1.234 GB, free: 11.93 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.02073/1.279, allocations: 3.962 MB / 1.238 GB, free: 7.969 MB / 0.7605 GB Notification: Performance of SimCode: time 0.02099/1.3, allocations: 7.172 MB / 1.245 GB, free: 0.7539 MB / 0.7605 GB Notification: Performance of Templates: time 0.1828/1.483, allocations: 87.44 MB / 1.33 GB, free: 9.875 MB / 0.8542 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe 2>&1)