Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.584/1.584, allocations: 288.4 MB / 304.3 MB, free: 8.082 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.0009272/0.0009272, allocations: 181.9 kB / 372.9 MB, free: 10.14 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.39/1.39, allocations: 205.4 MB / 0.6316 GB, free: 9.891 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.0007869/0.0007869, allocations: 98.52 kB / 0.745 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003403/0.0003404, allocations: 13.06 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1824/0.1828, allocations: 115.3 MB / 0.9807 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic): time 0.5203/0.7031, allocations: 120.7 MB / 1.099 GB, free: 34.53 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.03018/0.7334, allocations: 23.32 MB / 1.121 GB, free: 27.82 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005743/0.7392, allocations: 122.7 kB / 1.122 GB, free: 27.77 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.004913/0.7441, allocations: 1.195 MB / 1.123 GB, free: 27.24 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.01359/0.7578, allocations: 3.732 MB / 1.126 GB, free: 25.54 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.008885/0.7667, allocations: 2.518 MB / 1.129 GB, free: 24.3 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01318/0.7798, allocations: 9.884 MB / 1.138 GB, free: 19.63 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005702/0.7856, allocations: 2.509 MB / 1.141 GB, free: 18.08 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008184/0.7938, allocations: 2.731 MB / 1.144 GB, free: 16.62 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005435/0.7993, allocations: 2.184 MB / 1.146 GB, free: 15.35 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001276/0.8006, allocations: 131.2 kB / 1.146 GB, free: 15.35 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008303/0.8089, allocations: 2.343 MB / 1.148 GB, free: 14.17 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001413/0.8104, allocations: 0.5932 MB / 1.149 GB, free: 13.72 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.004442/0.8149, allocations: 1.655 MB / 1.15 GB, free: 12.69 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.007904/0.8228, allocations: 4.852 MB / 1.155 GB, free: 9.34 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/0.8228, allocations: 0 / 1.155 GB, free: 9.34 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.986e-06/0.8229, allocations: 4 kB / 1.155 GB, free: 9.336 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000247/0.8231, allocations: 0 / 1.155 GB, free: 9.336 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.007565/0.8307, allocations: 3.382 MB / 1.158 GB, free: 6.84 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.8307, allocations: 9 kB / 1.158 GB, free: 6.84 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009743/0.8405, allocations: 1.372 MB / 1.16 GB, free: 6.27 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005453/0.846, allocations: 2.912 MB / 1.163 GB, free: 3.984 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002538/0.8463, allocations: 255.8 kB / 1.163 GB, free: 3.828 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005973/0.8469, allocations: 233.1 kB / 1.163 GB, free: 3.754 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008746/0.8556, allocations: 3.198 MB / 1.166 GB, free: 1.656 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.191e-05/0.8558, allocations: 7.188 kB / 1.166 GB, free: 1.652 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004616/0.8562, allocations: 101.1 kB / 1.166 GB, free: 1.578 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.451e-05/0.8563, allocations: 72.72 kB / 1.166 GB, free: 1.57 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008884/0.8652, allocations: 2.809 MB / 1.169 GB, free: 156 kB / 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.02479/0.89, allocations: 13.62 MB / 1.182 GB, free: 2.637 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004528/0.8946, allocations: 1.433 MB / 1.184 GB, free: 1.203 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003144/0.8978, allocations: 0.8808 MB / 1.185 GB, free: 328 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001934/0.8998, allocations: 1.785 MB / 1.186 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003814/0.9036, allocations: 1.15 MB / 1.187 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=126): time 6.983e-06/0.9036, allocations: 0 / 1.187 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of matching and sorting (n=132): time 0.03596/0.9396, allocations: 9.815 MB / 1.197 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002383/0.9399, allocations: 0.5805 MB / 1.198 GB, free: 2.246 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004165/0.944, allocations: 2.588 MB / 1.2 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0003654/0.9444, allocations: 61.69 kB / 1.2 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001182/0.9456, allocations: 1.342 MB / 1.202 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005479/0.9462, allocations: 457.5 kB / 1.202 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001149/0.9463, allocations: 39.94 kB / 1.202 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.9465, allocations: 377.8 kB / 1.202 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003605/0.9501, allocations: 0.9485 MB / 1.203 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004048/0.9541, allocations: 1.554 MB / 1.205 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006798/0.9609, allocations: 2.212 MB / 1.207 GB, free: 8.223 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.016e-05/0.961, allocations: 4 kB / 1.207 GB, free: 8.219 MB / 0.7292 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.01328/0.9743, allocations: 3.372 MB / 1.21 GB, free: 4.824 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.000359/0.9747, allocations: 498.1 kB / 1.211 GB, free: 4.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.897e-05/0.9747, allocations: 12 kB / 1.211 GB, free: 4.148 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003027/0.9777, allocations: 0.9464 MB / 1.212 GB, free: 3.199 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002763/0.9805, allocations: 483.2 kB / 1.212 GB, free: 2.727 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003174/0.9837, allocations: 2.186 MB / 1.214 GB, free: 500 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004823/0.9885, allocations: 403.2 kB / 1.215 GB, free: 96 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003168/0.9889, allocations: 111.9 kB / 1.215 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.9889, allocations: 5.094 kB / 1.215 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01266/1.002, allocations: 3.086 MB / 1.218 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-05/1.002, allocations: 12 kB / 1.218 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003042/1.005, allocations: 0.9277 MB / 1.219 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002758/1.007, allocations: 479.2 kB / 1.219 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003192/1.011, allocations: 2.186 MB / 1.221 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0045/1.015, allocations: 363.3 kB / 1.222 GB, free: 8.871 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003629/1.016, allocations: 107.8 kB / 1.222 GB, free: 8.766 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.001655/1.017, allocations: 0.6991 MB / 1.222 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007791/1.018, allocations: 288.9 kB / 1.223 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008003/1.026, allocations: 2.309 MB / 1.225 GB, free: 5.441 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006817/1.033, allocations: 1.92 MB / 1.227 GB, free: 3.469 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-05/1.033, allocations: 4 kB / 1.227 GB, free: 3.465 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002209/1.035, allocations: 0.6457 MB / 1.227 GB, free: 2.797 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00115/1.036, allocations: 27.94 kB / 1.227 GB, free: 2.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003884/1.04, allocations: 276.8 kB / 1.228 GB, free: 2.5 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003058/1.041, allocations: 108.8 kB / 1.228 GB, free: 2.395 MB / 0.7448 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01129/1.052, allocations: 3.199 MB / 1.231 GB, free: 15.17 MB / 0.7605 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01035/1.062, allocations: 3.711 MB / 1.235 GB, free: 11.43 MB / 0.7605 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003018/1.065, allocations: 0.8392 MB / 1.235 GB, free: 10.59 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.003722/1.069, allocations: 1.788 MB / 1.237 GB, free: 8.805 MB / 0.7605 GB Notification: Performance of Backend: time 8.62e-07/1.069, allocations: 0 / 1.237 GB, free: 8.805 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.01541/1.085, allocations: 4.018 MB / 1.241 GB, free: 4.781 MB / 0.7605 GB Notification: Performance of SimCode: time 0.01501/1.1, allocations: 7.167 MB / 1.248 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of Templates: time 0.1374/1.237, allocations: 88.33 MB / 1.334 GB, free: 5.652 MB / 0.8542 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe 2>&1)