Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.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.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater") translateModel(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.667/1.667, allocations: 287.5 MB / 302.6 MB, free: 8.223 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.0009653/0.0009654, allocations: 181.9 kB / 371.2 MB, free: 10.84 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.371/1.371, allocations: 205.4 MB / 0.6298 GB, free: 10.61 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.0008271/0.0008271, allocations: 103 kB / 0.7432 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003913/0.0003914, allocations: 11.19 kB / 0.8661 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2076/0.208, allocations: 115.3 MB / 0.9787 GB, free: 28.22 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.5073/0.7153, allocations: 116.4 MB / 1.092 GB, free: 33.69 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.01911/0.7345, allocations: 14.25 MB / 1.106 GB, free: 33.36 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003733/0.7382, allocations: 63.94 kB / 1.106 GB, free: 33.36 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.002847/0.7411, allocations: 0.6769 MB / 1.107 GB, free: 33.25 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. Notification: Performance of NFTyping.typeBindings: time 0.007768/0.7489, allocations: 2.035 MB / 1.109 GB, free: 32.45 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.005903/0.7548, allocations: 1.523 MB / 1.111 GB, free: 31.94 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.009356/0.7642, allocations: 5.205 MB / 1.116 GB, free: 29.82 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002853/0.7671, allocations: 1.347 MB / 1.117 GB, free: 29.29 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004509/0.7716, allocations: 1.43 MB / 1.118 GB, free: 28.76 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003702/0.7753, allocations: 1.175 MB / 1.119 GB, free: 28.37 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0006084/0.776, allocations: 69.75 kB / 1.12 GB, free: 28.37 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006644/0.7826, allocations: 1.486 MB / 1.121 GB, free: 27.99 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001084/0.7838, allocations: 346 kB / 1.121 GB, free: 27.83 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001245/0.785, allocations: 419.8 kB / 1.122 GB, free: 27.59 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.005216/0.7903, allocations: 2.722 MB / 1.124 GB, free: 27.06 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.7903, allocations: 1.188 kB / 1.124 GB, free: 27.06 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.424e-06/0.7903, allocations: 0 / 1.124 GB, free: 27.06 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.61e-05/0.7904, allocations: 0 / 1.124 GB, free: 27.06 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: 312 * Number of variables: 312 Notification: Performance of Generate backend data structure: time 0.005276/0.7957, allocations: 2.071 MB / 1.126 GB, free: 25.73 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.33e-05/0.7958, allocations: 8.75 kB / 1.126 GB, free: 25.73 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005516/0.8013, allocations: 0.7539 MB / 1.127 GB, free: 25.59 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003501/0.8048, allocations: 1.649 MB / 1.129 GB, free: 24.63 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001718/0.805, allocations: 135.4 kB / 1.129 GB, free: 24.55 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002647/0.8053, allocations: 125.5 kB / 1.129 GB, free: 24.52 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004137/0.8095, allocations: 1.735 MB / 1.131 GB, free: 23.65 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.862e-05/0.8095, allocations: 5.156 kB / 1.131 GB, free: 23.65 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001404/0.8097, allocations: 55.06 kB / 1.131 GB, free: 23.61 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.306e-05/0.8097, allocations: 37.94 kB / 1.131 GB, free: 23.61 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004665/0.8144, allocations: 1.528 MB / 1.132 GB, free: 22.84 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.01088/0.8253, allocations: 7.57 MB / 1.14 GB, free: 16.31 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003882/0.8292, allocations: 1.183 MB / 1.141 GB, free: 15.72 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001905/0.8312, allocations: 0.6052 MB / 1.141 GB, free: 15.42 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001014/0.8322, allocations: 1.27 MB / 1.143 GB, free: 13.96 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002159/0.8344, allocations: 0.7097 MB / 1.143 GB, free: 13.54 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=80): time 3.586e-06/0.8344, allocations: 0 / 1.143 GB, free: 13.54 MB / 0.6823 GB Notification: Performance of matching and sorting (n=80): time 0.01743/0.8518, allocations: 3.255 MB / 1.147 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.31e-05/0.8519, allocations: 141.8 kB / 1.147 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00201/0.854, allocations: 1.259 MB / 1.148 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000209/0.8542, allocations: 45.86 kB / 1.148 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005548/0.8547, allocations: 0.7245 MB / 1.149 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002533/0.855, allocations: 272.2 kB / 1.149 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.564e-05/0.8551, allocations: 19.31 kB / 1.149 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.872e-05/0.8551, allocations: 343.2 kB / 1.149 GB, free: 9.812 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001788/0.8569, allocations: 0.5316 MB / 1.15 GB, free: 9.551 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001893/0.8588, allocations: 0.8129 MB / 1.151 GB, free: 8.949 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003582/0.8624, allocations: 1.242 MB / 1.152 GB, free: 8.188 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.593e-06/0.8625, allocations: 2.188 kB / 1.152 GB, free: 8.188 MB / 0.6823 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.005126/0.8676, allocations: 1.67 MB / 1.153 GB, free: 7.363 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001169/0.8677, allocations: 274 kB / 1.154 GB, free: 7.027 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.8678, allocations: 11.28 kB / 1.154 GB, free: 7.02 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001862/0.8696, allocations: 0.5733 MB / 1.154 GB, free: 6.781 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001292/0.8709, allocations: 259.1 kB / 1.154 GB, free: 6.695 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00176/0.8727, allocations: 1.172 MB / 1.156 GB, free: 5.832 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00239/0.8751, allocations: 239.5 kB / 1.156 GB, free: 5.707 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001245/0.8753, allocations: 57.88 kB / 1.156 GB, free: 5.684 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.8753, allocations: 3.906 kB / 1.156 GB, free: 5.684 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004401/0.8797, allocations: 1.505 MB / 1.157 GB, free: 4.953 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.8797, allocations: 5.344 kB / 1.157 GB, free: 4.953 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001713/0.8814, allocations: 0.5729 MB / 1.158 GB, free: 4.715 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/0.8827, allocations: 254.8 kB / 1.158 GB, free: 4.629 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001685/0.8843, allocations: 1.171 MB / 1.159 GB, free: 3.766 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00217/0.8865, allocations: 225.7 kB / 1.16 GB, free: 3.648 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/0.8866, allocations: 68.44 kB / 1.16 GB, free: 3.617 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.calDat.nextTimeEvent,calDat.nextTimeEvent,$PRE.calDat.nextTimeEventScaled,calDat.nextTimeEventScaled,$PRE.heaPum.com.isOn,heaPum.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 25} Notification: Performance of prepare postOptimizeDAE: time 0.0009244/0.8876, allocations: 468.2 kB / 1.16 GB, free: 3.258 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002335/0.8878, allocations: 151.4 kB / 1.16 GB, free: 3.18 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01155/0.8994, allocations: 2.154 MB / 1.162 GB, free: 2.051 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.159e-05/0.8994, allocations: 8.594 kB / 1.162 GB, free: 2.051 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.657e-06/0.8995, allocations: 0 / 1.162 GB, free: 2.051 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01115/0.9106, allocations: 2.009 MB / 1.164 GB, free: 0.7344 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01021/0.9209, allocations: 3.671 MB / 1.168 GB, free: 12.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-05/0.921, allocations: 0 / 1.168 GB, free: 12.91 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001169/0.9221, allocations: 183.9 kB / 1.168 GB, free: 12.73 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00206/0.9242, allocations: 0.5461 MB / 1.169 GB, free: 12.18 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001161/0.9244, allocations: 35.95 kB / 1.169 GB, free: 12.15 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002114/0.9265, allocations: 1.166 MB / 1.17 GB, free: 10.96 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.9265, allocations: 4 kB / 1.17 GB, free: 10.95 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005306/0.9318, allocations: 1.612 MB / 1.171 GB, free: 9.297 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001132/0.933, allocations: 402.9 kB / 1.172 GB, free: 8.883 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004795/0.9335, allocations: 27.98 kB / 1.172 GB, free: 8.855 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002162/0.9357, allocations: 155.7 kB / 1.172 GB, free: 8.703 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001568/0.9358, allocations: 56.52 kB / 1.172 GB, free: 8.648 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001871/0.936, allocations: 55.92 kB / 1.172 GB, free: 8.594 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001726/0.9378, allocations: 0.8593 MB / 1.173 GB, free: 7.734 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.944e-06/0.9378, allocations: 0 / 1.173 GB, free: 7.734 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003749/0.9415, allocations: 0.9587 MB / 1.174 GB, free: 6.773 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,calDat.nextTimeEvent,calDat.nextTimeEventScaled,heaPum.com.isOn) * Number of discrete states: 3 (calDat.nextTimeEvent,heaPum.com.isOn,calDat.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.002458/0.944, allocations: 0.8594 MB / 1.175 GB, free: 6.129 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.007414/0.9514, allocations: 2.041 MB / 1.177 GB, free: 4.094 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-05/0.9515, allocations: 4 kB / 1.177 GB, free: 4.09 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002303/0.9538, allocations: 0.6347 MB / 1.177 GB, free: 3.457 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005065/0.9589, allocations: 0.7523 MB / 1.178 GB, free: 2.715 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007609/0.9665, allocations: 3.218 MB / 1.181 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001211/0.9678, allocations: 1.262 MB / 1.182 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002379/0.9702, allocations: 370.6 kB / 1.183 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004667/0.9706, allocations: 151.2 kB / 1.183 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of SimCode: time 1.242e-06/0.9707, allocations: 0 / 1.183 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of Templates: time 0.06561/1.036, allocations: 37.53 MB / 1.219 GB, free: 8.441 MB / 0.7448 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1)