Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.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_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.747/1.747, allocations: 287.5 MB / 302.6 MB, free: 8.188 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.0009859/0.0009859, allocations: 170 kB / 371.2 MB, free: 10.81 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.373/1.373, allocations: 205.4 MB / 0.6299 GB, free: 10.54 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.0007947/0.0007946, allocations: 92.27 kB / 0.7432 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003747/0.0003747, allocations: 12.17 kB / 0.8661 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2026/0.203, allocations: 115.3 MB / 0.9787 GB, free: 28.16 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed): time 0.05354/0.2566, allocations: 64.46 MB / 1.042 GB, free: 11.52 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.02156/0.2782, allocations: 13.36 MB / 1.055 GB, free: 14.13 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002906/0.2812, allocations: 63.56 kB / 1.055 GB, free: 14.07 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.002792/0.284, allocations: 0.6366 MB / 1.055 GB, free: 13.43 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.007072/0.2911, allocations: 1.996 MB / 1.057 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004967/0.2961, allocations: 1.412 MB / 1.059 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.008493/0.3046, allocations: 5.118 MB / 1.064 GB, free: 4.902 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003051/0.3077, allocations: 1.262 MB / 1.065 GB, free: 3.609 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003485/0.3112, allocations: 1.373 MB / 1.066 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002586/0.3139, allocations: 1.128 MB / 1.067 GB, free: 1.098 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0005397/0.3144, allocations: 64 kB / 1.067 GB, free: 1.035 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4293/0.7438, allocations: 1.426 MB / 1.069 GB, free: 29.98 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001023/0.7449, allocations: 316.4 kB / 1.069 GB, free: 29.98 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001514/0.7464, allocations: 402.6 kB / 1.07 GB, free: 29.95 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.007167/0.7536, allocations: 2.583 MB / 1.072 GB, free: 29.87 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.076e-06/0.7536, allocations: 1.219 kB / 1.072 GB, free: 29.87 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.725e-06/0.7536, allocations: 1.156 kB / 1.072 GB, free: 29.87 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.65e-05/0.7537, allocations: 0 / 1.072 GB, free: 29.87 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.005521/0.7592, allocations: 1.925 MB / 1.074 GB, free: 28.84 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.7593, allocations: 13.31 kB / 1.074 GB, free: 28.83 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005825/0.7651, allocations: 0.7388 MB / 1.075 GB, free: 28.73 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003642/0.7688, allocations: 1.541 MB / 1.076 GB, free: 28.33 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001589/0.769, allocations: 130 kB / 1.076 GB, free: 28.29 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002315/0.7692, allocations: 125.5 kB / 1.076 GB, free: 28.29 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004617/0.7738, allocations: 1.65 MB / 1.078 GB, free: 28.04 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.432e-05/0.7739, allocations: 1.781 kB / 1.078 GB, free: 28.04 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001489/0.774, allocations: 54.2 kB / 1.078 GB, free: 28.03 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.318e-05/0.7741, allocations: 39.41 kB / 1.078 GB, free: 28.03 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005252/0.7794, allocations: 1.486 MB / 1.08 GB, free: 28 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.01127/0.7907, allocations: 7.028 MB / 1.086 GB, free: 24.81 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00231/0.793, allocations: 0.7553 MB / 1.087 GB, free: 24.78 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001669/0.7947, allocations: 0.5027 MB / 1.088 GB, free: 24.76 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001057/0.7958, allocations: 1.271 MB / 1.089 GB, free: 23.35 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.171e-05/0.7958, allocations: 42.72 kB / 1.089 GB, free: 23.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=68): time 3.347e-06/0.7958, allocations: 3.984 kB / 1.089 GB, free: 23.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=68): time 0.02051/0.8164, allocations: 3.124 MB / 1.092 GB, free: 22.97 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.584e-05/0.8165, allocations: 115.6 kB / 1.092 GB, free: 22.84 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002648/0.8191, allocations: 1.339 MB / 1.093 GB, free: 22.68 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002266/0.8194, allocations: 45.58 kB / 1.093 GB, free: 22.64 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006541/0.8201, allocations: 0.6856 MB / 1.094 GB, free: 22.39 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002919/0.8204, allocations: 249.1 kB / 1.094 GB, free: 22.23 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.928e-05/0.8204, allocations: 17.44 kB / 1.094 GB, free: 22.23 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.59e-05/0.8205, allocations: 341.4 kB / 1.095 GB, free: 21.93 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002018/0.8225, allocations: 0.5121 MB / 1.095 GB, free: 21.92 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00223/0.8248, allocations: 0.7958 MB / 1.096 GB, free: 21.61 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003759/0.8285, allocations: 1.167 MB / 1.097 GB, free: 21.36 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.686e-06/0.8286, allocations: 2.062 kB / 1.097 GB, free: 21.36 MB / 0.6823 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.01304/0.8416, allocations: 2.154 MB / 1.099 GB, free: 21.19 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001655/0.8418, allocations: 284.8 kB / 1.099 GB, free: 20.87 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/0.8419, allocations: 7.531 kB / 1.099 GB, free: 20.87 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00176/0.8436, allocations: 485.2 kB / 1.1 GB, free: 20.83 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001602/0.8452, allocations: 263 kB / 1.1 GB, free: 20.83 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001549/0.8468, allocations: 0.9981 MB / 1.101 GB, free: 20.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003035/0.8499, allocations: 279.4 kB / 1.101 GB, free: 20.22 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001471/0.85, allocations: 60.14 kB / 1.101 GB, free: 20.21 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.85, allocations: 5.406 kB / 1.101 GB, free: 20.21 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01138/0.8614, allocations: 1.995 MB / 1.103 GB, free: 20.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.963e-05/0.8615, allocations: 7.188 kB / 1.103 GB, free: 20.14 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001709/0.8632, allocations: 495.6 kB / 1.104 GB, free: 20.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001551/0.8648, allocations: 262.3 kB / 1.104 GB, free: 20.09 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001433/0.8662, allocations: 0.997 MB / 1.105 GB, free: 19.56 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002499/0.8687, allocations: 253.5 kB / 1.105 GB, free: 19.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/0.8689, allocations: 49.3 kB / 1.105 GB, free: 19.5 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 ($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 (94): * Single equations (assignments): 93 * 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 {2 19} Notification: Performance of prepare postOptimizeDAE: time 0.0009424/0.8698, allocations: 457.2 kB / 1.106 GB, free: 19.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002404/0.8701, allocations: 143.2 kB / 1.106 GB, free: 19.23 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004072/0.8741, allocations: 1.337 MB / 1.107 GB, free: 19.11 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-05/0.8742, allocations: 7.062 kB / 1.107 GB, free: 19.11 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.8742, allocations: 0 / 1.107 GB, free: 19.11 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003525/0.8777, allocations: 1.149 MB / 1.108 GB, free: 18.91 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007705/0.8854, allocations: 3.066 MB / 1.111 GB, free: 18.35 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.166e-05/0.8855, allocations: 5 kB / 1.111 GB, free: 18.35 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009233/0.8864, allocations: 155.8 kB / 1.112 GB, free: 18.35 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001645/0.8881, allocations: 487.7 kB / 1.112 GB, free: 18.31 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.308e-05/0.8882, allocations: 31.16 kB / 1.112 GB, free: 18.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001561/0.8897, allocations: 0.9927 MB / 1.113 GB, free: 17.77 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.825e-06/0.8898, allocations: 4.938 kB / 1.113 GB, free: 17.77 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006351/0.8961, allocations: 1.969 MB / 1.115 GB, free: 17.36 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001323/0.8975, allocations: 391.3 kB / 1.115 GB, free: 17.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003021/0.8978, allocations: 21.38 kB / 1.115 GB, free: 17.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00181/0.8996, allocations: 165 kB / 1.116 GB, free: 17.16 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.8998, allocations: 61.09 kB / 1.116 GB, free: 17.16 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001262/0.8999, allocations: 49.73 kB / 1.116 GB, free: 17.16 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001778/0.9017, allocations: 0.9669 MB / 1.117 GB, free: 17.04 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.81e-07/0.9017, allocations: 0 / 1.117 GB, free: 17.04 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003725/0.9054, allocations: 0.8806 MB / 1.117 GB, free: 16.93 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.001606/0.907, allocations: 0.5203 MB / 1.118 GB, free: 16.75 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006605/0.9137, allocations: 1.856 MB / 1.12 GB, free: 16.69 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.3e-05/0.9137, allocations: 1.625 kB / 1.12 GB, free: 16.69 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001814/0.9155, allocations: 0.5351 MB / 1.12 GB, free: 16.67 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004944/0.9205, allocations: 0.795 MB / 1.121 GB, free: 16.61 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005958/0.9265, allocations: 3.158 MB / 1.124 GB, free: 15.07 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007479/0.9272, allocations: 1.206 MB / 1.125 GB, free: 14.34 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002313/0.9296, allocations: 375.8 kB / 1.126 GB, free: 14.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003921/0.93, allocations: 131.3 kB / 1.126 GB, free: 14.16 MB / 0.6823 GB Notification: Performance of SimCode: time 1.162e-06/0.93, allocations: 0 / 1.126 GB, free: 14.16 MB / 0.6823 GB Notification: Performance of Templates: time 0.05454/0.9845, allocations: 37.52 MB / 1.162 GB, free: 2.887 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe 2>&1)