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 2.571/2.571, allocations: 287.5 MB / 302.4 MB, free: 8.328 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.001302/0.001302, allocations: 178.5 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.135/2.135, allocations: 205.4 MB / 0.6297 GB, free: 10.56 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.0009328/0.0009326, allocations: 86.41 kB / 0.743 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004902/0.0004905, allocations: 20.45 kB / 0.8658 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2399/0.2404, allocations: 115.3 MB / 0.9783 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.8227/1.063, allocations: 116.4 MB / 1.092 GB, free: 33.73 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.02849/1.092, allocations: 14.25 MB / 1.106 GB, free: 33.35 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003808/1.096, allocations: 64.69 kB / 1.106 GB, free: 33.35 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.003647/1.099, allocations: 0.6767 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.009753/1.109, allocations: 2.035 MB / 1.109 GB, free: 32.44 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.007736/1.117, allocations: 1.527 MB / 1.11 GB, free: 31.93 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01019/1.127, allocations: 5.166 MB / 1.115 GB, free: 29.83 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003328/1.13, allocations: 1.221 MB / 1.116 GB, free: 29.41 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004718/1.135, allocations: 1.431 MB / 1.118 GB, free: 28.88 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003515/1.139, allocations: 1.182 MB / 1.119 GB, free: 28.48 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0007055/1.14, allocations: 72.19 kB / 1.119 GB, free: 28.48 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006832/1.146, allocations: 1.479 MB / 1.12 GB, free: 28.11 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001139/1.148, allocations: 346.9 kB / 1.121 GB, free: 27.95 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001214/1.149, allocations: 414.5 kB / 1.121 GB, free: 27.72 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.006378/1.155, allocations: 2.721 MB / 1.124 GB, free: 27.18 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/1.155, allocations: 3.641 kB / 1.124 GB, free: 27.18 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.605e-06/1.155, allocations: 0 / 1.124 GB, free: 27.18 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001021/1.155, allocations: 0 / 1.124 GB, free: 27.18 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.006766/1.162, allocations: 2.083 MB / 1.126 GB, free: 25.86 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/1.162, allocations: 14.09 kB / 1.126 GB, free: 25.85 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01083/1.173, allocations: 0.7442 MB / 1.127 GB, free: 25.72 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004854/1.178, allocations: 1.602 MB / 1.128 GB, free: 24.81 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002441/1.178, allocations: 135.5 kB / 1.128 GB, free: 24.73 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005091/1.179, allocations: 125.4 kB / 1.128 GB, free: 24.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007291/1.186, allocations: 1.737 MB / 1.13 GB, free: 23.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.787e-05/1.186, allocations: 5.125 kB / 1.13 GB, free: 23.79 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002704/1.187, allocations: 54.41 kB / 1.13 GB, free: 23.75 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.943e-05/1.187, allocations: 38.11 kB / 1.13 GB, free: 23.75 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009367/1.196, allocations: 1.52 MB / 1.132 GB, free: 22.99 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.01855/1.215, allocations: 7.576 MB / 1.139 GB, free: 16.46 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01148/1.226, allocations: 1.181 MB / 1.14 GB, free: 15.88 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003973/1.23, allocations: 0.6193 MB / 1.141 GB, free: 15.57 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001707/1.232, allocations: 1.272 MB / 1.142 GB, free: 14.11 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004354/1.236, allocations: 0.7108 MB / 1.143 GB, free: 13.69 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=80): time 5.22e-06/1.236, allocations: 0 / 1.143 GB, free: 13.69 MB / 0.6823 GB Notification: Performance of matching and sorting (n=80): time 0.0338/1.27, allocations: 3.219 MB / 1.146 GB, free: 12.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.371e-05/1.27, allocations: 141.1 kB / 1.146 GB, free: 11.94 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002791/1.273, allocations: 1.256 MB / 1.147 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003653/1.274, allocations: 50.05 kB / 1.147 GB, free: 11.19 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008235/1.274, allocations: 0.7169 MB / 1.148 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000499/1.275, allocations: 287.4 kB / 1.148 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/1.275, allocations: 21.78 kB / 1.148 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.036e-05/1.275, allocations: 335.9 kB / 1.149 GB, free: 9.973 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003682/1.279, allocations: 0.5283 MB / 1.149 GB, free: 9.715 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003963/1.283, allocations: 0.8131 MB / 1.15 GB, free: 9.113 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003839/1.287, allocations: 0.5777 MB / 1.151 GB, free: 8.828 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.287e-05/1.287, allocations: 7.188 kB / 1.151 GB, free: 8.824 MB / 0.6823 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.009724/1.297, allocations: 1.661 MB / 1.152 GB, free: 8.008 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001736/1.297, allocations: 280 kB / 1.152 GB, free: 7.664 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.545e-05/1.297, allocations: 6.531 kB / 1.152 GB, free: 7.664 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003178/1.3, allocations: 0.5682 MB / 1.153 GB, free: 7.43 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00267/1.303, allocations: 259.2 kB / 1.153 GB, free: 7.344 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003126/1.306, allocations: 1.172 MB / 1.154 GB, free: 6.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003984/1.31, allocations: 235.8 kB / 1.155 GB, free: 6.359 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003292/1.31, allocations: 59.22 kB / 1.155 GB, free: 6.336 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/1.31, allocations: 2.594 kB / 1.155 GB, free: 6.336 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01003/1.32, allocations: 1.512 MB / 1.156 GB, free: 5.602 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.094e-05/1.32, allocations: 14.56 kB / 1.156 GB, free: 5.594 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003149/1.324, allocations: 0.5736 MB / 1.157 GB, free: 5.355 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002622/1.326, allocations: 246.3 kB / 1.157 GB, free: 5.277 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003136/1.329, allocations: 1.194 MB / 1.158 GB, free: 4.395 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003826/1.333, allocations: 215.8 kB / 1.158 GB, free: 4.285 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003055/1.334, allocations: 62.94 kB / 1.158 GB, free: 4.258 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.001292/1.335, allocations: 472.7 kB / 1.159 GB, free: 3.895 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005574/1.336, allocations: 148.7 kB / 1.159 GB, free: 3.82 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02376/1.359, allocations: 2.166 MB / 1.161 GB, free: 2.68 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.118e-05/1.359, allocations: 7.531 kB / 1.161 GB, free: 2.68 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-05/1.359, allocations: 0 / 1.161 GB, free: 2.68 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02269/1.382, allocations: 1.998 MB / 1.163 GB, free: 1.625 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01585/1.398, allocations: 3.664 MB / 1.167 GB, free: 13.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.375e-05/1.398, allocations: 4 kB / 1.167 GB, free: 13.93 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002304/1.4, allocations: 179.8 kB / 1.167 GB, free: 13.75 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003241/1.404, allocations: 0.5435 MB / 1.167 GB, free: 13.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000213/1.404, allocations: 39.89 kB / 1.167 GB, free: 13.16 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003388/1.407, allocations: 1.162 MB / 1.169 GB, free: 11.98 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/1.407, allocations: 0 / 1.169 GB, free: 11.98 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009271/1.417, allocations: 1.62 MB / 1.17 GB, free: 10.31 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001338/1.418, allocations: 402.9 kB / 1.17 GB, free: 9.898 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003447/1.418, allocations: 31.98 kB / 1.171 GB, free: 9.867 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003221/1.422, allocations: 155.7 kB / 1.171 GB, free: 9.715 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001595/1.422, allocations: 56.53 kB / 1.171 GB, free: 9.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001917/1.422, allocations: 59.86 kB / 1.171 GB, free: 9.602 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001946/1.424, allocations: 0.8515 MB / 1.172 GB, free: 8.75 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.81e-07/1.424, allocations: 4 kB / 1.172 GB, free: 8.746 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003822/1.428, allocations: 0.9625 MB / 1.173 GB, free: 7.781 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.002746/1.431, allocations: 0.8609 MB / 1.173 GB, free: 7.141 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01285/1.443, allocations: 2.044 MB / 1.175 GB, free: 5.102 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.738e-06/1.443, allocations: 0 / 1.175 GB, free: 5.102 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.004172/1.448, allocations: 0.6322 MB / 1.176 GB, free: 4.473 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0069/1.455, allocations: 0.7687 MB / 1.177 GB, free: 3.715 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0103/1.465, allocations: 3.218 MB / 1.18 GB, free: 464 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001241/1.466, allocations: 1.263 MB / 1.181 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.003239/1.47, allocations: 364 kB / 1.181 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006745/1.47, allocations: 155.2 kB / 1.182 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of SimCode: time 1.092e-06/1.47, allocations: 0 / 1.182 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of Templates: time 0.1007/1.571, allocations: 37.46 MB / 1.218 GB, free: 9.543 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)