Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater") translateModel(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.527/1.527, allocations: 252 MB / 267.6 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001016/0.001016, allocations: 172.8 kB / 327.3 MB, free: 2.203 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.853/1.853, allocations: 205.4 MB / 0.5783 GB, free: 20.49 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009049/0.0009048, allocations: 89.55 kB / 0.6829 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004062/0.0004066, allocations: 12.08 kB / 0.797 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2395/0.24, allocations: 106.3 MB / 0.9008 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.1017/0.3418, allocations: 116.5 MB / 1.015 GB, free: 11.5 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.02527/0.3671, allocations: 14.51 MB / 1.029 GB, free: 12.96 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003524/0.3707, allocations: 63.56 kB / 1.029 GB, free: 12.89 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.003204/0.3739, allocations: 0.6716 MB / 1.029 GB, free: 12.22 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.008272/0.3822, allocations: 2.038 MB / 1.031 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.006259/0.3885, allocations: 1.559 MB / 1.033 GB, free: 8.633 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.008819/0.3973, allocations: 5.157 MB / 1.038 GB, free: 3.461 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003453/0.4008, allocations: 1.212 MB / 1.039 GB, free: 2.219 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004646/0.4055, allocations: 1.419 MB / 1.041 GB, free: 0.793 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003428/0.409, allocations: 1.173 MB / 1.042 GB, free: 15.62 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.000749/0.4097, allocations: 72 kB / 1.042 GB, free: 15.55 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005696/0.4154, allocations: 1.567 MB / 1.043 GB, free: 13.98 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001004/0.4165, allocations: 342.5 kB / 1.044 GB, free: 13.64 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001379/0.4179, allocations: 416.8 kB / 1.044 GB, free: 13.23 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.005884/0.4238, allocations: 2.767 MB / 1.047 GB, free: 10.46 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.086e-06/0.4238, allocations: 4 kB / 1.047 GB, free: 10.45 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.855e-06/0.4238, allocations: 0 / 1.047 GB, free: 10.45 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001193/0.424, allocations: 0 / 1.047 GB, free: 10.45 MB / 0.698 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.00604/0.43, allocations: 2.104 MB / 1.049 GB, free: 8.277 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.4301, allocations: 8.031 kB / 1.049 GB, free: 8.27 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00599/0.4361, allocations: 0.7547 MB / 1.05 GB, free: 7.512 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004381/0.4405, allocations: 1.596 MB / 1.051 GB, free: 5.859 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002608/0.4408, allocations: 136.1 kB / 1.051 GB, free: 5.719 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004639/0.4412, allocations: 128 kB / 1.051 GB, free: 5.594 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005444/0.4467, allocations: 1.72 MB / 1.053 GB, free: 3.773 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.333e-05/0.4468, allocations: 3.938 kB / 1.053 GB, free: 3.77 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002703/0.447, allocations: 59.98 kB / 1.053 GB, free: 3.711 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-05/0.4471, allocations: 39.94 kB / 1.053 GB, free: 3.672 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005472/0.4526, allocations: 1.519 MB / 1.055 GB, free: 2.145 MB / 0.698 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.5299/0.9826, allocations: 7.53 MB / 1.062 GB, free: 146.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004465/0.987, allocations: 1.187 MB / 1.063 GB, free: 146.8 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001971/0.989, allocations: 0.5996 MB / 1.064 GB, free: 146.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001219/0.9903, allocations: 1.282 MB / 1.065 GB, free: 145.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002286/0.9926, allocations: 0.6949 MB / 1.066 GB, free: 145.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=80): time 3.596e-06/0.9926, allocations: 1.219 kB / 1.066 GB, free: 145.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=80): time 0.01827/1.011, allocations: 3.223 MB / 1.069 GB, free: 145.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.599e-05/1.011, allocations: 142.5 kB / 1.069 GB, free: 144.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002598/1.014, allocations: 1.258 MB / 1.07 GB, free: 144.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001794/1.014, allocations: 47.89 kB / 1.07 GB, free: 144.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007875/1.015, allocations: 0.7184 MB / 1.071 GB, free: 144.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003264/1.015, allocations: 278 kB / 1.071 GB, free: 144.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.906e-05/1.015, allocations: 19 kB / 1.071 GB, free: 144.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001134/1.015, allocations: 341.9 kB / 1.071 GB, free: 144.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002174/1.017, allocations: 0.5301 MB / 1.072 GB, free: 144.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002364/1.02, allocations: 0.8159 MB / 1.073 GB, free: 143.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00225/1.022, allocations: 0.5797 MB / 1.073 GB, free: 143.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.207e-05/1.022, allocations: 2.469 kB / 1.073 GB, free: 143.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.005921/1.028, allocations: 1.665 MB / 1.075 GB, free: 143.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001908/1.028, allocations: 277 kB / 1.075 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.067e-05/1.028, allocations: 10.77 kB / 1.075 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002244/1.03, allocations: 0.5467 MB / 1.076 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001373/1.032, allocations: 257.5 kB / 1.076 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002045/1.034, allocations: 1.173 MB / 1.077 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002336/1.036, allocations: 244 kB / 1.077 GB, free: 142.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001374/1.036, allocations: 58.11 kB / 1.077 GB, free: 142.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/1.036, allocations: 3.938 kB / 1.077 GB, free: 142.5 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00479/1.041, allocations: 1.505 MB / 1.079 GB, free: 142.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/1.041, allocations: 7 kB / 1.079 GB, free: 142.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00181/1.043, allocations: 0.5488 MB / 1.08 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001319/1.044, allocations: 248.7 kB / 1.08 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001937/1.046, allocations: 1.181 MB / 1.081 GB, free: 141.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002319/1.049, allocations: 233.4 kB / 1.081 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001223/1.049, allocations: 54.5 kB / 1.081 GB, free: 141.6 MB / 0.698 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.001189/1.05, allocations: 470.1 kB / 1.082 GB, free: 141.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003082/1.05, allocations: 146.8 kB / 1.082 GB, free: 141.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0126/1.063, allocations: 2.164 MB / 1.084 GB, free: 140.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.775e-05/1.063, allocations: 11.02 kB / 1.084 GB, free: 140.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/1.063, allocations: 0.5312 kB / 1.084 GB, free: 140.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01293/1.076, allocations: 1.999 MB / 1.086 GB, free: 139.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009419/1.085, allocations: 3.643 MB / 1.089 GB, free: 136.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.808e-06/1.085, allocations: 0 / 1.089 GB, free: 136.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001091/1.087, allocations: 186.6 kB / 1.09 GB, free: 136.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001751/1.088, allocations: 0.5389 MB / 1.09 GB, free: 136.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.382e-05/1.088, allocations: 35.83 kB / 1.09 GB, free: 136.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00181/1.09, allocations: 1.166 MB / 1.091 GB, free: 135.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/1.09, allocations: 6.578 kB / 1.091 GB, free: 135.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004807/1.095, allocations: 1.605 MB / 1.093 GB, free: 134.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009526/1.096, allocations: 400.7 kB / 1.093 GB, free: 134.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004094/1.097, allocations: 23.61 kB / 1.093 GB, free: 134.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002006/1.099, allocations: 158.4 kB / 1.093 GB, free: 134 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/1.099, allocations: 53.05 kB / 1.093 GB, free: 134 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001266/1.099, allocations: 56.05 kB / 1.094 GB, free: 133.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001408/1.1, allocations: 0.8508 MB / 1.094 GB, free: 133.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/1.1, allocations: 3.938 kB / 1.094 GB, free: 133.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003374/1.104, allocations: 1.004 MB / 1.095 GB, free: 133.3 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.002292/1.106, allocations: 0.9087 MB / 1.096 GB, free: 132.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.006955/1.113, allocations: 2.04 MB / 1.098 GB, free: 131 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.226e-06/1.113, allocations: 0 / 1.098 GB, free: 131 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00214/1.115, allocations: 0.6488 MB / 1.099 GB, free: 130.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004352/1.119, allocations: 0.7673 MB / 1.1 GB, free: 129.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006496/1.126, allocations: 3.278 MB / 1.103 GB, free: 126.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008193/1.127, allocations: 1.251 MB / 1.104 GB, free: 125 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005426/1.127, allocations: 159.3 kB / 1.104 GB, free: 124.9 MB / 0.698 GB Notification: Performance of SimCode: time 1.223e-06/1.127, allocations: 4 kB / 1.104 GB, free: 124.9 MB / 0.698 GB Notification: Performance of Templates: time 0.05179/1.179, allocations: 37.21 MB / 1.14 GB, free: 87.74 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1)