Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.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.Validation.ScrollWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.852/2.852, allocations: 287.3 MB / 302.3 MB, free: 8.332 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.001657/0.001657, allocations: 174.9 kB / 370.8 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.267/2.267, allocations: 205.4 MB / 0.6295 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.001174/0.001174, allocations: 94.91 kB / 0.7428 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004906/0.0004908, allocations: 20.98 kB / 0.8656 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2047/0.2053, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor): time 0.8572/1.063, allocations: 109.4 MB / 1.085 GB, free: 31.36 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.04363/1.106, allocations: 21.15 MB / 1.106 GB, free: 31.11 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005874/1.112, allocations: 111.8 kB / 1.106 GB, free: 31.11 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.008241/1.12, allocations: 1.461 MB / 1.107 GB, free: 30.77 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01943/1.14, allocations: 4.072 MB / 1.111 GB, free: 29.49 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0155/1.155, allocations: 3.147 MB / 1.114 GB, free: 28.5 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01367/1.169, allocations: 5.072 MB / 1.119 GB, free: 26.88 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005539/1.175, allocations: 2.277 MB / 1.121 GB, free: 26.1 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008135/1.183, allocations: 2.433 MB / 1.124 GB, free: 25.12 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004716/1.188, allocations: 1.581 MB / 1.125 GB, free: 24.5 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001224/1.189, allocations: 130.7 kB / 1.125 GB, free: 24.5 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009484/1.198, allocations: 1.741 MB / 1.127 GB, free: 24.11 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001743/1.2, allocations: 0.576 MB / 1.128 GB, free: 23.85 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.002362/1.203, allocations: 0.731 MB / 1.128 GB, free: 23.44 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.01438/1.217, allocations: 4.579 MB / 1.133 GB, free: 21.62 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/1.217, allocations: 0 / 1.133 GB, free: 21.62 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.617e-06/1.217, allocations: 0 / 1.133 GB, free: 21.62 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000191/1.217, allocations: 4 kB / 1.133 GB, free: 21.62 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: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.0137/1.231, allocations: 3.358 MB / 1.136 GB, free: 19.16 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/1.231, allocations: 8.906 kB / 1.136 GB, free: 19.16 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02138/1.253, allocations: 1.454 MB / 1.138 GB, free: 18.56 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008523/1.261, allocations: 2.704 MB / 1.14 GB, free: 16.44 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004293/1.262, allocations: 259.4 kB / 1.14 GB, free: 16.28 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009343/1.263, allocations: 231.9 kB / 1.141 GB, free: 16.21 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01441/1.277, allocations: 3.2 MB / 1.144 GB, free: 14.12 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001104/1.277, allocations: 7 kB / 1.144 GB, free: 14.11 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006807/1.278, allocations: 102.9 kB / 1.144 GB, free: 14.04 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001344/1.278, allocations: 74.81 kB / 1.144 GB, free: 14.03 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01842/1.296, allocations: 2.879 MB / 1.147 GB, free: 12.58 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.03249/1.329, allocations: 13.54 MB / 1.16 GB, free: 1.055 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008915/1.338, allocations: 1.522 MB / 1.162 GB, free: 304 kB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003789/1.342, allocations: 1.782 MB / 1.163 GB, free: 14.24 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007637/1.35, allocations: 1.248 MB / 1.164 GB, free: 13.43 MB / 0.698 GB Notification: Performance of pre-optimization done (n=130): time 6.552e-06/1.35, allocations: 0 / 1.164 GB, free: 13.43 MB / 0.698 GB Notification: Performance of matching and sorting (n=130): time 0.07797/1.428, allocations: 5.977 MB / 1.17 GB, free: 10.48 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000341/1.428, allocations: 0.582 MB / 1.171 GB, free: 9.777 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006889/1.435, allocations: 2.584 MB / 1.173 GB, free: 7.211 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005602/1.435, allocations: 61.7 kB / 1.173 GB, free: 7.145 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00193/1.437, allocations: 1.351 MB / 1.175 GB, free: 5.777 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009215/1.438, allocations: 457.5 kB / 1.175 GB, free: 5.324 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002479/1.439, allocations: 36 kB / 1.175 GB, free: 5.289 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002228/1.439, allocations: 373.9 kB / 1.176 GB, free: 4.918 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007438/1.446, allocations: 1.019 MB / 1.177 GB, free: 3.898 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008508/1.455, allocations: 1.607 MB / 1.178 GB, free: 2.059 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008222/1.463, allocations: 1.157 MB / 1.179 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.1e-05/1.463, allocations: 4 kB / 1.179 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of matching and sorting (n=227) (initialization): time 0.04406/1.507, allocations: 4.139 MB / 1.183 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.00262/1.51, allocations: 5.021 MB / 1.188 GB, free: 7.281 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-05/1.51, allocations: 12 kB / 1.188 GB, free: 7.27 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006291/1.516, allocations: 0.9621 MB / 1.189 GB, free: 6.312 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005753/1.522, allocations: 0.5108 MB / 1.19 GB, free: 5.801 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005908/1.528, allocations: 1.99 MB / 1.192 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009761/1.538, allocations: 0.5443 MB / 1.192 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000705/1.539, allocations: 107.9 kB / 1.192 GB, free: 3.109 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/1.539, allocations: 4 kB / 1.192 GB, free: 3.105 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04287/1.582, allocations: 3.855 MB / 1.196 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-05/1.582, allocations: 12 kB / 1.196 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006139/1.588, allocations: 0.9519 MB / 1.197 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005666/1.594, allocations: 0.5035 MB / 1.197 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006062/1.6, allocations: 1.998 MB / 1.199 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01006/1.61, allocations: 485.6 kB / 1.2 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001015/1.611, allocations: 115.8 kB / 1.2 GB, free: 11.13 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.heaPum1.com.isOn,heaPum1.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count,realToInteger.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (186): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 19,2 19} Notification: Performance of prepare postOptimizeDAE: time 0.004135/1.615, allocations: 0.692 MB / 1.201 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001679/1.617, allocations: 276.8 kB / 1.201 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03349/1.65, allocations: 2.572 MB / 1.203 GB, free: 7.586 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.028e-05/1.65, allocations: 19.94 kB / 1.203 GB, free: 7.566 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.632e-05/1.65, allocations: 0 / 1.203 GB, free: 7.566 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03062/1.681, allocations: 2.189 MB / 1.206 GB, free: 5.336 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07404/1.755, allocations: 7.605 MB / 1.213 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.503e-05/1.755, allocations: 4 kB / 1.213 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003729/1.759, allocations: 296.2 kB / 1.213 GB, free: 13.28 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005818/1.765, allocations: 0.9434 MB / 1.214 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000383/1.765, allocations: 55.94 kB / 1.214 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005777/1.771, allocations: 1.986 MB / 1.216 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.561e-05/1.771, allocations: 11.94 kB / 1.216 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02398/1.795, allocations: 4.453 MB / 1.221 GB, free: 5.336 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003076/1.798, allocations: 0.6847 MB / 1.221 GB, free: 4.629 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001236/1.8, allocations: 43.94 kB / 1.221 GB, free: 4.586 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007136/1.807, allocations: 299.4 kB / 1.222 GB, free: 4.293 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004232/1.807, allocations: 112.8 kB / 1.222 GB, free: 4.184 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003373/1.808, allocations: 79.91 kB / 1.222 GB, free: 4.105 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.005866/1.813, allocations: 1.809 MB / 1.224 GB, free: 2.293 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.082e-06/1.814, allocations: 0 / 1.224 GB, free: 2.293 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.009662/1.823, allocations: 1.7 MB / 1.225 GB, free: 0.5898 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 4 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U,heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum1.com.isOn,N.T_start,N.count,realToInteger.y) * Number of discrete states: 3 (N.count,heaPum1.com.isOn,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 82 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 19,2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.003196/1.826, allocations: 0.8245 MB / 1.226 GB, free: 15.79 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.02522/1.852, allocations: 3.759 MB / 1.23 GB, free: 12.01 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.769e-05/1.852, allocations: 4.438 kB / 1.23 GB, free: 12 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.007381/1.859, allocations: 1.103 MB / 1.231 GB, free: 10.91 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01207/1.871, allocations: 1.395 MB / 1.232 GB, free: 9.523 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02085/1.892, allocations: 5.951 MB / 1.238 GB, free: 3.445 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002228/1.894, allocations: 1.769 MB / 1.24 GB, free: 1.645 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.005956/1.9, allocations: 0.6938 MB / 1.24 GB, free: 0.9648 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001179/1.902, allocations: 231.3 kB / 1.241 GB, free: 0.7383 MB / 0.7605 GB Notification: Performance of SimCode: time 1.122e-06/1.902, allocations: 0 / 1.241 GB, free: 0.7383 MB / 0.7605 GB Notification: Performance of Templates: time 0.2081/2.11, allocations: 68.66 MB / 1.308 GB, free: 12.63 MB / 0.8386 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe 2>&1)