Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.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_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.708/2.708, allocations: 287.3 MB / 302.3 MB, free: 8.277 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.00152/0.00152, allocations: 180.8 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.164/2.164, 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.001219/0.001219, allocations: 95.86 kB / 0.7428 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007467/0.000747, allocations: 12.97 kB / 0.8656 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2176/0.2183, allocations: 115.3 MB / 0.9782 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic): time 0.8342/1.053, allocations: 109.3 MB / 1.085 GB, free: 31.38 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.04319/1.096, allocations: 21.15 MB / 1.106 GB, free: 31.12 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006141/1.102, allocations: 111.7 kB / 1.106 GB, free: 31.12 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.00721/1.109, allocations: 1.458 MB / 1.107 GB, free: 30.78 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01992/1.129, allocations: 4.071 MB / 1.111 GB, free: 29.5 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01593/1.145, allocations: 3.157 MB / 1.114 GB, free: 28.51 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01383/1.159, allocations: 5.037 MB / 1.119 GB, free: 26.9 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005448/1.165, allocations: 2.279 MB / 1.121 GB, free: 26.12 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008047/1.173, allocations: 2.414 MB / 1.124 GB, free: 25.15 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004718/1.177, allocations: 1.574 MB / 1.125 GB, free: 24.53 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001158/1.179, allocations: 129.5 kB / 1.125 GB, free: 24.53 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009321/1.188, allocations: 1.745 MB / 1.127 GB, free: 24.14 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001657/1.19, allocations: 0.5639 MB / 1.128 GB, free: 23.89 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.002244/1.192, allocations: 0.7339 MB / 1.128 GB, free: 23.48 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0105/1.203, allocations: 4.564 MB / 1.133 GB, free: 21.68 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/1.203, allocations: 0 / 1.133 GB, free: 21.68 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.695e-06/1.203, allocations: 0 / 1.133 GB, free: 21.68 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001857/1.203, allocations: 1.531 kB / 1.133 GB, free: 21.68 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.01118/1.214, allocations: 3.34 MB / 1.136 GB, free: 19.23 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/1.214, allocations: 9.594 kB / 1.136 GB, free: 19.23 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02115/1.235, allocations: 1.46 MB / 1.137 GB, free: 18.63 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008675/1.244, allocations: 2.693 MB / 1.14 GB, free: 16.52 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004868/1.244, allocations: 259.7 kB / 1.14 GB, free: 16.36 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001033/1.246, allocations: 236.8 kB / 1.141 GB, free: 16.28 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01491/1.26, allocations: 3.208 MB / 1.144 GB, free: 14.17 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001017/1.261, allocations: 7.438 kB / 1.144 GB, free: 14.16 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005803/1.261, allocations: 99.22 kB / 1.144 GB, free: 14.09 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001247/1.261, allocations: 69.72 kB / 1.144 GB, free: 14.09 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02466/1.286, allocations: 2.882 MB / 1.147 GB, free: 12.64 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.04506/1.331, allocations: 13.73 MB / 1.16 GB, free: 0.8789 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01124/1.342, allocations: 1.51 MB / 1.162 GB, free: 136 kB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004087/1.347, allocations: 1.775 MB / 1.163 GB, free: 14.09 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01006/1.357, allocations: 1.211 MB / 1.165 GB, free: 13.32 MB / 0.698 GB Notification: Performance of pre-optimization done (n=126): time 1.057e-05/1.357, allocations: 0 / 1.165 GB, free: 13.32 MB / 0.698 GB Notification: Performance of matching and sorting (n=130): time 0.1401/1.497, allocations: 11.82 MB / 1.176 GB, free: 4.539 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003715/1.497, allocations: 0.5882 MB / 1.177 GB, free: 3.816 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008189/1.506, allocations: 2.682 MB / 1.179 GB, free: 1.117 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0006232/1.506, allocations: 61.7 kB / 1.179 GB, free: 1.051 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002223/1.508, allocations: 1.314 MB / 1.181 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.001034/1.51, allocations: 457.6 kB / 1.181 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003437/1.51, allocations: 36 kB / 1.181 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002564/1.51, allocations: 369.9 kB / 1.181 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007852/1.518, allocations: 0.9954 MB / 1.182 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008812/1.527, allocations: 1.593 MB / 1.184 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008551/1.536, allocations: 1.127 MB / 1.185 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.243e-05/1.536, allocations: 4 kB / 1.185 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.04643/1.582, allocations: 4.234 MB / 1.189 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.002614/1.585, allocations: 5.249 MB / 1.194 GB, free: 0.9922 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.916e-05/1.585, allocations: 12 kB / 1.194 GB, free: 0.9805 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007138/1.592, allocations: 1.177 MB / 1.195 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005235/1.597, allocations: 463.2 kB / 1.196 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007445/1.605, allocations: 2.387 MB / 1.198 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009545/1.614, allocations: 424.5 kB / 1.199 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00073/1.615, allocations: 103.9 kB / 1.199 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/1.615, allocations: 7.938 kB / 1.199 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05083/1.666, allocations: 3.956 MB / 1.203 GB, free: 8.418 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.533e-05/1.666, allocations: 12 kB / 1.203 GB, free: 8.406 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006899/1.673, allocations: 1.162 MB / 1.204 GB, free: 7.242 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005186/1.678, allocations: 459.2 kB / 1.204 GB, free: 6.793 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007653/1.686, allocations: 2.392 MB / 1.207 GB, free: 4.352 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00854/1.695, allocations: 383.2 kB / 1.207 GB, free: 3.977 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006699/1.695, allocations: 103.9 kB / 1.207 GB, free: 3.875 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (164): * Single equations (assignments): 161 * 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 {4 25,4 27} Notification: Performance of prepare postOptimizeDAE: time 0.00274/1.698, allocations: 0.7018 MB / 1.208 GB, free: 3.164 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001191/1.699, allocations: 284.6 kB / 1.208 GB, free: 2.883 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03128/1.731, allocations: 3.037 MB / 1.211 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.104e-05/1.731, allocations: 19.94 kB / 1.211 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.448e-05/1.731, allocations: 4.188 kB / 1.211 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02889/1.76, allocations: 2.642 MB / 1.214 GB, free: 13.13 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04057/1.8, allocations: 7.046 MB / 1.22 GB, free: 5.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.489e-05/1.8, allocations: 11.95 kB / 1.22 GB, free: 5.918 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003531/1.804, allocations: 271.8 kB / 1.221 GB, free: 5.652 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006206/1.81, allocations: 1.029 MB / 1.222 GB, free: 4.625 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003993/1.811, allocations: 47.94 kB / 1.222 GB, free: 4.578 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006359/1.817, allocations: 2.162 MB / 1.224 GB, free: 2.367 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-05/1.817, allocations: 11.94 kB / 1.224 GB, free: 2.355 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03833/1.855, allocations: 5.017 MB / 1.229 GB, free: 12.92 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002995/1.858, allocations: 0.6769 MB / 1.229 GB, free: 12.22 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00133/1.86, allocations: 43.98 kB / 1.229 GB, free: 12.18 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007426/1.867, allocations: 298.2 kB / 1.23 GB, free: 11.89 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004895/1.868, allocations: 116.6 kB / 1.23 GB, free: 11.78 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003681/1.868, allocations: 79.91 kB / 1.23 GB, free: 11.7 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.00619/1.874, allocations: 1.882 MB / 1.232 GB, free: 9.816 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.113e-06/1.874, allocations: 0 / 1.232 GB, free: 9.816 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.009428/1.884, allocations: 1.503 MB / 1.233 GB, free: 8.312 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 2 (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 (80): * Single equations (assignments): 74 * 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,4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.003217/1.887, allocations: 0.7992 MB / 1.234 GB, free: 7.527 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0249/1.912, allocations: 3.772 MB / 1.238 GB, free: 3.738 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.168e-05/1.912, allocations: 4.438 kB / 1.238 GB, free: 3.734 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.007653/1.92, allocations: 1.096 MB / 1.239 GB, free: 2.641 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01364/1.933, allocations: 1.489 MB / 1.24 GB, free: 1.168 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02102/1.955, allocations: 5.805 MB / 1.246 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00221/1.957, allocations: 1.774 MB / 1.248 GB, free: 9.43 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.005913/1.963, allocations: 0.6604 MB / 1.248 GB, free: 8.773 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001279/1.964, allocations: 239.3 kB / 1.249 GB, free: 8.539 MB / 0.7761 GB Notification: Performance of SimCode: time 9.52e-07/1.964, allocations: 0 / 1.249 GB, free: 8.539 MB / 0.7761 GB Notification: Performance of Templates: time 0.2371/2.201, allocations: 72.48 MB / 1.319 GB, free: 0.6602 MB / 0.8386 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1)