Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.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.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater") translateModel(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.889/1.889, allocations: 288.4 MB / 303.4 MB, free: 8.137 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.00107/0.00107, allocations: 179.4 kB / 372 MB, free: 10.2 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.536/1.536, allocations: 205.4 MB / 0.6307 GB, free: 9.879 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.0008198/0.00082, allocations: 92.89 kB / 0.7441 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003591/0.0003593, allocations: 11.62 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1991/0.1995, allocations: 115.3 MB / 0.9796 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.5651/0.7646, allocations: 116.4 MB / 1.093 GB, free: 34.34 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.02194/0.7866, allocations: 14.24 MB / 1.107 GB, free: 33.59 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003072/0.7897, allocations: 62.75 kB / 1.107 GB, free: 33.59 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.002678/0.7924, allocations: 0.6764 MB / 1.108 GB, free: 33.41 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.007863/0.8003, allocations: 2.038 MB / 1.11 GB, free: 32.61 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.006166/0.8065, allocations: 1.532 MB / 1.111 GB, free: 32.09 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.008785/0.8153, allocations: 5.172 MB / 1.116 GB, free: 29.99 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00264/0.818, allocations: 1.222 MB / 1.118 GB, free: 29.56 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004016/0.822, allocations: 1.431 MB / 1.119 GB, free: 29.04 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003298/0.8254, allocations: 1.176 MB / 1.12 GB, free: 28.64 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0004963/0.8259, allocations: 70.62 kB / 1.12 GB, free: 28.64 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005769/0.8317, allocations: 1.481 MB / 1.122 GB, free: 28.26 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0007847/0.8325, allocations: 345.4 kB / 1.122 GB, free: 28.11 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001262/0.8338, allocations: 420.6 kB / 1.122 GB, free: 27.87 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.00506/0.8388, allocations: 2.722 MB / 1.125 GB, free: 27.34 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.095e-05/0.8389, allocations: 0 / 1.125 GB, free: 27.34 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.228e-06/0.8389, allocations: 3.062 kB / 1.125 GB, free: 27.34 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.998e-05/0.839, allocations: 0 / 1.125 GB, free: 27.34 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.004957/0.8439, allocations: 2.079 MB / 1.127 GB, free: 26 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.844, allocations: 12.34 kB / 1.127 GB, free: 25.99 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005776/0.8498, allocations: 0.7403 MB / 1.128 GB, free: 25.69 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003152/0.853, allocations: 1.607 MB / 1.129 GB, free: 24.46 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001465/0.8531, allocations: 134.5 kB / 1.13 GB, free: 24.38 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002152/0.8534, allocations: 128.5 kB / 1.13 GB, free: 24.34 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004202/0.8576, allocations: 1.727 MB / 1.131 GB, free: 23.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.083e-05/0.8576, allocations: 7.172 kB / 1.131 GB, free: 23.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001558/0.8578, allocations: 57.38 kB / 1.131 GB, free: 23.16 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-05/0.8579, allocations: 38.77 kB / 1.131 GB, free: 23.16 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004987/0.8629, allocations: 1.524 MB / 1.133 GB, free: 22.39 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.01034/0.8732, allocations: 7.572 MB / 1.14 GB, free: 15.87 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004219/0.8775, allocations: 1.185 MB / 1.142 GB, free: 15.28 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002054/0.8796, allocations: 0.5995 MB / 1.142 GB, free: 14.99 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001118/0.8807, allocations: 1.276 MB / 1.143 GB, free: 13.52 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0023/0.883, allocations: 0.7101 MB / 1.144 GB, free: 13.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=80): time 3.637e-06/0.883, allocations: 0 / 1.144 GB, free: 13.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=80): time 0.01824/0.9013, allocations: 3.218 MB / 1.147 GB, free: 11.51 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.883e-05/0.9014, allocations: 142 kB / 1.147 GB, free: 11.35 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00203/0.9034, allocations: 1.257 MB / 1.149 GB, free: 10.65 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000193/0.9036, allocations: 49.64 kB / 1.149 GB, free: 10.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005116/0.9042, allocations: 0.7236 MB / 1.149 GB, free: 9.965 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002442/0.9044, allocations: 283.8 kB / 1.15 GB, free: 9.727 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.271e-05/0.9045, allocations: 18.81 kB / 1.15 GB, free: 9.711 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.398e-05/0.9046, allocations: 343.4 kB / 1.15 GB, free: 9.379 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001915/0.9065, allocations: 0.5237 MB / 1.15 GB, free: 9.125 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002043/0.9085, allocations: 0.8165 MB / 1.151 GB, free: 8.523 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001896/0.9104, allocations: 0.5727 MB / 1.152 GB, free: 8.242 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.9105, allocations: 5.609 kB / 1.152 GB, free: 8.242 MB / 0.6823 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.005053/0.9155, allocations: 1.669 MB / 1.153 GB, free: 7.414 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001272/0.9157, allocations: 278.2 kB / 1.154 GB, free: 7.078 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.9157, allocations: 5.188 kB / 1.154 GB, free: 7.078 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001954/0.9177, allocations: 0.5708 MB / 1.154 GB, free: 6.844 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001356/0.919, allocations: 256.3 kB / 1.154 GB, free: 6.758 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001829/0.9209, allocations: 1.165 MB / 1.156 GB, free: 5.902 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002286/0.9232, allocations: 241.6 kB / 1.156 GB, free: 5.773 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000135/0.9233, allocations: 60.66 kB / 1.156 GB, free: 5.75 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.9233, allocations: 7.547 kB / 1.156 GB, free: 5.746 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004503/0.9278, allocations: 1.508 MB / 1.157 GB, free: 5.008 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.9279, allocations: 5.406 kB / 1.157 GB, free: 5.008 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001777/0.9297, allocations: 0.5731 MB / 1.158 GB, free: 4.77 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001264/0.9309, allocations: 251.6 kB / 1.158 GB, free: 4.688 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001701/0.9326, allocations: 1.182 MB / 1.159 GB, free: 3.812 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002114/0.9348, allocations: 224.3 kB / 1.16 GB, free: 3.699 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/0.9349, allocations: 61.88 kB / 1.16 GB, free: 3.672 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.0009576/0.9359, allocations: 472.7 kB / 1.16 GB, free: 3.309 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002976/0.9362, allocations: 145.4 kB / 1.16 GB, free: 3.234 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01228/0.9485, allocations: 2.171 MB / 1.162 GB, free: 2.09 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-05/0.9485, allocations: 6.562 kB / 1.162 GB, free: 2.09 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.9485, allocations: 0 / 1.162 GB, free: 2.09 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01151/0.9601, allocations: 2.001 MB / 1.164 GB, free: 0.9375 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01129/0.9714, allocations: 3.654 MB / 1.168 GB, free: 13.12 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.166e-05/0.9715, allocations: 4 kB / 1.168 GB, free: 13.12 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001145/0.9726, allocations: 183.8 kB / 1.168 GB, free: 12.94 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001961/0.9746, allocations: 0.5522 MB / 1.169 GB, free: 12.39 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001122/0.9747, allocations: 31.95 kB / 1.169 GB, free: 12.36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002076/0.9768, allocations: 1.162 MB / 1.17 GB, free: 11.17 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.9768, allocations: 7.938 kB / 1.17 GB, free: 11.16 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005425/0.9823, allocations: 1.616 MB / 1.171 GB, free: 9.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001302/0.9836, allocations: 406.9 kB / 1.172 GB, free: 9.082 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004868/0.9841, allocations: 27.98 kB / 1.172 GB, free: 9.055 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002184/0.9863, allocations: 159.7 kB / 1.172 GB, free: 8.898 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001323/0.9865, allocations: 60.47 kB / 1.172 GB, free: 8.84 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001808/0.9867, allocations: 51.92 kB / 1.172 GB, free: 8.789 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001662/0.9883, allocations: 0.8616 MB / 1.173 GB, free: 7.93 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.51e-07/0.9883, allocations: 0 / 1.173 GB, free: 7.93 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003855/0.9922, allocations: 0.9586 MB / 1.174 GB, free: 6.969 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.002446/0.9947, allocations: 0.859 MB / 1.175 GB, free: 6.281 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.007409/1.002, allocations: 2.044 MB / 1.177 GB, free: 4.242 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.165e-05/1.002, allocations: 7.781 kB / 1.177 GB, free: 4.234 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002352/1.005, allocations: 0.6322 MB / 1.177 GB, free: 3.605 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004926/1.009, allocations: 0.7649 MB / 1.178 GB, free: 2.848 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008842/1.018, allocations: 3.219 MB / 1.181 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001377/1.02, allocations: 1.255 MB / 1.182 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.00257/1.022, allocations: 372 kB / 1.183 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005145/1.023, allocations: 147.3 kB / 1.183 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of SimCode: time 1.342e-06/1.023, allocations: 0 / 1.183 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of Templates: time 0.06642/1.089, allocations: 37.47 MB / 1.219 GB, free: 8.621 MB / 0.7448 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1)