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.649/1.649, allocations: 287.4 MB / 303.2 MB, free: 8.234 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.001309/0.001309, allocations: 179 kB / 371.8 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.426/1.426, allocations: 205.4 MB / 0.6305 GB, free: 10.59 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.0009312/0.0009311, allocations: 93.83 kB / 0.7438 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003934/0.0003934, allocations: 11.75 kB / 0.8667 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.2197, allocations: 115.3 MB / 0.9793 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.4831/0.7029, allocations: 116.4 MB / 1.093 GB, free: 33.7 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.01863/0.7215, allocations: 14.26 MB / 1.107 GB, free: 33.35 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003063/0.7246, allocations: 63.56 kB / 1.107 GB, free: 33.35 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.002864/0.7275, allocations: 0.6746 MB / 1.108 GB, free: 33.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. Notification: Performance of NFTyping.typeBindings: time 0.007051/0.7346, allocations: 2.033 MB / 1.11 GB, free: 32.44 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.005303/0.7399, allocations: 1.525 MB / 1.111 GB, free: 31.93 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.007215/0.7471, allocations: 5.202 MB / 1.116 GB, free: 29.82 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002522/0.7497, allocations: 1.35 MB / 1.118 GB, free: 29.28 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003375/0.7531, allocations: 1.43 MB / 1.119 GB, free: 28.76 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002459/0.7555, allocations: 1.174 MB / 1.12 GB, free: 28.36 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0004401/0.756, allocations: 69.88 kB / 1.12 GB, free: 28.36 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004394/0.7604, allocations: 1.496 MB / 1.122 GB, free: 27.98 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0005405/0.761, allocations: 343.5 kB / 1.122 GB, free: 27.82 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0007968/0.7618, allocations: 421.7 kB / 1.122 GB, free: 27.58 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003687/0.7655, allocations: 2.717 MB / 1.125 GB, free: 27.05 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.7655, allocations: 0 / 1.125 GB, free: 27.05 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.064e-06/0.7655, allocations: 3.938 kB / 1.125 GB, free: 27.05 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.686e-05/0.7656, allocations: 0 / 1.125 GB, free: 27.05 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.004094/0.7697, allocations: 2.059 MB / 1.127 GB, free: 25.73 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.7697, allocations: 10.78 kB / 1.127 GB, free: 25.73 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005383/0.7751, allocations: 0.7532 MB / 1.128 GB, free: 25.59 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003158/0.7783, allocations: 1.651 MB / 1.129 GB, free: 24.63 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001453/0.7785, allocations: 137.5 kB / 1.129 GB, free: 24.55 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002086/0.7787, allocations: 125.9 kB / 1.13 GB, free: 24.51 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004159/0.7828, allocations: 1.734 MB / 1.131 GB, free: 23.61 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.089e-05/0.7829, allocations: 1.344 kB / 1.131 GB, free: 23.61 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001516/0.7831, allocations: 54 kB / 1.131 GB, free: 23.57 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.974e-05/0.7831, allocations: 41.8 kB / 1.131 GB, free: 23.56 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004773/0.7879, allocations: 1.528 MB / 1.133 GB, free: 22.79 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.009714/0.7976, allocations: 7.574 MB / 1.14 GB, free: 16.26 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00392/0.8016, allocations: 1.185 MB / 1.141 GB, free: 15.67 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001884/0.8035, allocations: 0.5973 MB / 1.142 GB, free: 15.38 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001003/0.8045, allocations: 1.276 MB / 1.143 GB, free: 13.91 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00211/0.8066, allocations: 0.6983 MB / 1.144 GB, free: 13.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=80): time 3.667e-06/0.8066, allocations: 0 / 1.144 GB, free: 13.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=80): time 0.01692/0.8236, allocations: 3.256 MB / 1.147 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.612e-05/0.8236, allocations: 137.4 kB / 1.147 GB, free: 11.74 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001668/0.8253, allocations: 1.259 MB / 1.148 GB, free: 11.03 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001236/0.8254, allocations: 49.8 kB / 1.149 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005179/0.826, allocations: 0.7256 MB / 1.149 GB, free: 10.35 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002137/0.8262, allocations: 273.2 kB / 1.149 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.062e-05/0.8262, allocations: 21.41 kB / 1.15 GB, free: 10.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.308e-05/0.8263, allocations: 350.7 kB / 1.15 GB, free: 9.762 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001788/0.8281, allocations: 0.5271 MB / 1.15 GB, free: 9.504 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001911/0.83, allocations: 0.807 MB / 1.151 GB, free: 8.906 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003567/0.8336, allocations: 1.249 MB / 1.152 GB, free: 8.141 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.8336, allocations: 0 / 1.152 GB, free: 8.141 MB / 0.6823 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.004799/0.8384, allocations: 1.678 MB / 1.154 GB, free: 7.309 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.512e-05/0.8385, allocations: 268.5 kB / 1.154 GB, free: 6.977 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.8386, allocations: 7.703 kB / 1.154 GB, free: 6.977 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001785/0.8404, allocations: 0.572 MB / 1.155 GB, free: 6.738 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/0.8417, allocations: 253.9 kB / 1.155 GB, free: 6.656 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001709/0.8434, allocations: 1.179 MB / 1.156 GB, free: 5.785 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002155/0.8456, allocations: 233.9 kB / 1.156 GB, free: 5.664 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001068/0.8457, allocations: 58.86 kB / 1.156 GB, free: 5.641 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.075e-06/0.8457, allocations: 6.594 kB / 1.157 GB, free: 5.641 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004427/0.8501, allocations: 1.507 MB / 1.158 GB, free: 4.906 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.8502, allocations: 6.688 kB / 1.158 GB, free: 4.906 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001685/0.8518, allocations: 0.5708 MB / 1.159 GB, free: 4.668 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001256/0.8531, allocations: 251.1 kB / 1.159 GB, free: 4.586 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001665/0.8548, allocations: 1.181 MB / 1.16 GB, free: 3.715 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002363/0.8572, allocations: 231 kB / 1.16 GB, free: 3.594 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001303/0.8573, allocations: 53.02 kB / 1.16 GB, free: 3.574 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.001239/0.8586, allocations: 477.2 kB / 1.161 GB, free: 3.207 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004537/0.859, allocations: 148.2 kB / 1.161 GB, free: 3.133 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01184/0.8709, allocations: 2.163 MB / 1.163 GB, free: 1.996 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01107/0.882, allocations: 2.001 MB / 1.165 GB, free: 0.7539 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/0.882, allocations: 0 / 1.165 GB, free: 0.7539 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009812/0.883, allocations: 410.7 kB / 1.165 GB, free: 340 kB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002185/0.8832, allocations: 19.98 kB / 1.165 GB, free: 320 kB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00157/0.8848, allocations: 151.8 kB / 1.165 GB, free: 168 kB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.979e-05/0.8849, allocations: 51.2 kB / 1.165 GB, free: 120 kB / 0.6823 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007487/0.8924, allocations: 1.799 MB / 1.167 GB, free: 14.32 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.006527/0.8989, allocations: 2.123 MB / 1.169 GB, free: 12.18 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001889/0.9008, allocations: 0.5519 MB / 1.17 GB, free: 11.64 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001295/0.9021, allocations: 0.8515 MB / 1.171 GB, free: 10.79 MB / 0.698 GB Notification: Performance of Backend: time 5.51e-07/0.9021, allocations: 0 / 1.171 GB, free: 10.79 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00802/0.9102, allocations: 2.632 MB / 1.173 GB, free: 8.426 MB / 0.698 GB Notification: Performance of SimCode: time 0.007136/0.9173, allocations: 4.085 MB / 1.177 GB, free: 4.293 MB / 0.698 GB Notification: Performance of Templates: time 0.06339/0.9807, allocations: 42.82 MB / 1.219 GB, free: 9.762 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)