Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_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.ReciprocatingWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.978/2.978, allocations: 287.3 MB / 302.3 MB, free: 8.281 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.00155/0.00155, allocations: 196.3 kB / 370.8 MB, free: 10.83 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.238/2.238, allocations: 205.4 MB / 0.6295 GB, free: 10.58 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.001117/0.001117, allocations: 99.95 kB / 0.7428 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005296/0.0005298, allocations: 15.7 kB / 0.8656 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.218/0.2185, allocations: 115.3 MB / 0.9782 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor): time 0.8376/1.056, allocations: 109.3 MB / 1.085 GB, free: 31.23 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.04613/1.102, allocations: 21.22 MB / 1.106 GB, free: 30.97 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006683/1.109, allocations: 116 kB / 1.106 GB, free: 30.97 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.007626/1.117, allocations: 1.461 MB / 1.107 GB, free: 30.74 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.02103/1.138, allocations: 4.081 MB / 1.111 GB, free: 29.45 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01665/1.155, allocations: 3.145 MB / 1.114 GB, free: 28.47 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01503/1.17, allocations: 5.065 MB / 1.119 GB, free: 26.85 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006165/1.176, allocations: 2.269 MB / 1.121 GB, free: 26.07 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008972/1.185, allocations: 2.429 MB / 1.124 GB, free: 25.09 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005328/1.19, allocations: 1.561 MB / 1.125 GB, free: 24.49 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001354/1.192, allocations: 134.5 kB / 1.125 GB, free: 24.48 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01021/1.202, allocations: 1.741 MB / 1.127 GB, free: 24.1 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001941/1.204, allocations: 0.5671 MB / 1.128 GB, free: 23.84 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.002619/1.207, allocations: 0.7299 MB / 1.128 GB, free: 23.43 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.01091/1.218, allocations: 4.551 MB / 1.133 GB, free: 21.65 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/1.218, allocations: 4 kB / 1.133 GB, free: 21.64 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.426e-06/1.218, allocations: 0 / 1.133 GB, free: 21.64 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001971/1.218, allocations: 0 / 1.133 GB, free: 21.64 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: 577 * Number of variables: 577 Notification: Performance of Generate backend data structure: time 0.01176/1.23, allocations: 3.356 MB / 1.136 GB, free: 19.18 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/1.23, allocations: 9.062 kB / 1.136 GB, free: 19.18 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01984/1.25, allocations: 1.366 MB / 1.137 GB, free: 18.61 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009385/1.259, allocations: 2.686 MB / 1.14 GB, free: 16.51 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004342/1.259, allocations: 257.7 kB / 1.14 GB, free: 16.35 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009594/1.26, allocations: 235 kB / 1.141 GB, free: 16.28 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01397/1.274, allocations: 3.129 MB / 1.144 GB, free: 14.22 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.895e-05/1.275, allocations: 11.25 kB / 1.144 GB, free: 14.21 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005014/1.275, allocations: 98.5 kB / 1.144 GB, free: 14.14 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001254/1.275, allocations: 69.45 kB / 1.144 GB, free: 14.14 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01712/1.292, allocations: 2.775 MB / 1.147 GB, free: 12.74 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.03228/1.325, allocations: 13.38 MB / 1.16 GB, free: 1.32 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007471/1.332, allocations: 1.42 MB / 1.161 GB, free: 0.6172 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002734/1.335, allocations: 1.787 MB / 1.163 GB, free: 14.56 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006865/1.342, allocations: 1.157 MB / 1.164 GB, free: 13.82 MB / 0.698 GB Notification: Performance of pre-optimization done (n=126): time 8.496e-06/1.342, allocations: 7.922 kB / 1.164 GB, free: 13.81 MB / 0.698 GB Notification: Performance of matching and sorting (n=126): time 0.04067/1.383, allocations: 4.248 MB / 1.168 GB, free: 11.62 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000349/1.383, allocations: 0.574 MB / 1.169 GB, free: 10.93 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007028/1.39, allocations: 2.58 MB / 1.171 GB, free: 9.523 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005475/1.391, allocations: 67.34 kB / 1.171 GB, free: 9.465 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001962/1.393, allocations: 1.341 MB / 1.172 GB, free: 8.164 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008714/1.394, allocations: 445.7 kB / 1.173 GB, free: 7.723 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002405/1.394, allocations: 36 kB / 1.173 GB, free: 7.688 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002293/1.394, allocations: 365.9 kB / 1.173 GB, free: 7.324 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006952/1.401, allocations: 0.9642 MB / 1.174 GB, free: 6.359 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007789/1.409, allocations: 1.548 MB / 1.176 GB, free: 4.578 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007368/1.416, allocations: 1.095 MB / 1.177 GB, free: 3.477 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.611e-05/1.416, allocations: 4 kB / 1.177 GB, free: 3.473 MB / 0.698 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.02299/1.439, allocations: 3.113 MB / 1.18 GB, free: 344 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.002578/1.442, allocations: 5.015 MB / 1.185 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.099e-05/1.442, allocations: 12 kB / 1.185 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004437/1.447, allocations: 0.7242 MB / 1.185 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005606/1.452, allocations: 0.507 MB / 1.186 GB, free: 9.656 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004161/1.456, allocations: 1.804 MB / 1.188 GB, free: 7.805 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009266/1.466, allocations: 0.5171 MB / 1.188 GB, free: 7.285 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005828/1.466, allocations: 107.9 kB / 1.188 GB, free: 7.18 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/1.466, allocations: 6.031 kB / 1.188 GB, free: 7.176 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02212/1.488, allocations: 2.841 MB / 1.191 GB, free: 4.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.996e-05/1.489, allocations: 12 kB / 1.191 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004285/1.493, allocations: 0.725 MB / 1.192 GB, free: 3.59 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007847/1.501, allocations: 0.507 MB / 1.192 GB, free: 3.082 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006698/1.508, allocations: 1.795 MB / 1.194 GB, free: 1.238 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008604/1.516, allocations: 473.7 kB / 1.194 GB, free: 0.7734 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006066/1.517, allocations: 107.9 kB / 1.195 GB, free: 0.668 MB / 0.7136 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 17,2 17} Notification: Performance of prepare postOptimizeDAE: time 0.002525/1.519, allocations: 0.6881 MB / 1.195 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001162/1.521, allocations: 268.7 kB / 1.196 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02175/1.542, allocations: 2.608 MB / 1.198 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-05/1.542, allocations: 12 kB / 1.198 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.486e-05/1.542, allocations: 7.984 kB / 1.198 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01992/1.562, allocations: 2.207 MB / 1.2 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02983/1.592, allocations: 6.548 MB / 1.207 GB, free: 4.145 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-05/1.592, allocations: 8 kB / 1.207 GB, free: 4.137 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003685/1.596, allocations: 299.6 kB / 1.207 GB, free: 3.844 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004171/1.6, allocations: 0.7005 MB / 1.208 GB, free: 3.145 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003095/1.601, allocations: 51.94 kB / 1.208 GB, free: 3.094 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003971/1.605, allocations: 1.807 MB / 1.209 GB, free: 1.242 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.309e-05/1.605, allocations: 8 kB / 1.209 GB, free: 1.234 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02339/1.628, allocations: 4.291 MB / 1.214 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002874/1.631, allocations: 0.6846 MB / 1.214 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001109/1.632, allocations: 35.98 kB / 1.214 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006792/1.639, allocations: 279.5 kB / 1.215 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004399/1.639, allocations: 112.7 kB / 1.215 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003146/1.64, allocations: 71.92 kB / 1.215 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.005788/1.646, allocations: 1.813 MB / 1.217 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7.91e-07/1.646, allocations: 4 kB / 1.217 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.009326/1.655, allocations: 1.692 MB / 1.218 GB, free: 7.777 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 17,2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.003146/1.658, allocations: 0.8212 MB / 1.219 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.02274/1.681, allocations: 3.586 MB / 1.223 GB, free: 3.359 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.692e-05/1.681, allocations: 1.562 kB / 1.223 GB, free: 3.359 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.006979/1.688, allocations: 1.054 MB / 1.224 GB, free: 2.309 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01226/1.7, allocations: 1.381 MB / 1.225 GB, free: 0.9453 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02327/1.724, allocations: 6.103 MB / 1.231 GB, free: 10.73 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002209/1.726, allocations: 1.769 MB / 1.233 GB, free: 8.93 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.005809/1.732, allocations: 0.6937 MB / 1.233 GB, free: 8.254 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001222/1.733, allocations: 231.2 kB / 1.233 GB, free: 8.027 MB / 0.7605 GB Notification: Performance of SimCode: time 1.363e-06/1.733, allocations: 7.875 kB / 1.233 GB, free: 8.02 MB / 0.7605 GB Notification: Performance of Templates: time 0.1802/1.913, allocations: 66.13 MB / 1.298 GB, free: 6.48 MB / 0.823 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1)