Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.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.Validation.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.408/1.408, allocations: 251.5 MB / 267.4 MB, free: 11.04 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.001103/0.001103, allocations: 170.5 kB / 326.5 MB, free: 2.664 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.72/1.72, allocations: 205 MB / 0.5766 GB, free: 20.59 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.0007654/0.0007656, allocations: 97.17 kB / 0.6804 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000311/0.0003112, allocations: 11.41 kB / 0.7938 GB, free: 136.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2091/0.2094, allocations: 105.4 MB / 0.8967 GB, free: 67.68 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic): time 0.1109/0.3204, allocations: 129.6 MB / 1.023 GB, free: 1.613 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.04081/0.3613, allocations: 25.29 MB / 1.048 GB, free: 8.266 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006761/0.3681, allocations: 123.2 kB / 1.048 GB, free: 8.145 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.00593/0.3741, allocations: 1.418 MB / 1.05 GB, free: 6.719 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01502/0.3891, allocations: 4.137 MB / 1.054 GB, free: 2.57 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.484/0.8732, allocations: 3.149 MB / 1.057 GB, free: 41.84 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01825/0.8914, allocations: 11.3 MB / 1.068 GB, free: 41.84 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006779/0.8982, allocations: 2.475 MB / 1.07 GB, free: 41.55 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0105/0.9088, allocations: 2.787 MB / 1.073 GB, free: 41.55 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006454/0.9153, allocations: 2.295 MB / 1.075 GB, free: 41.45 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001009/0.9163, allocations: 135.5 kB / 1.075 GB, free: 41.44 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008565/0.9249, allocations: 2.574 MB / 1.078 GB, free: 41.44 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001384/0.9263, allocations: 0.6049 MB / 1.078 GB, free: 41.32 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.004973/0.9313, allocations: 1.674 MB / 1.08 GB, free: 40.82 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.009266/0.9406, allocations: 4.866 MB / 1.085 GB, free: 40.66 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.9407, allocations: 4.891 kB / 1.085 GB, free: 40.66 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.446e-06/0.9407, allocations: 0 / 1.085 GB, free: 40.66 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002847/0.941, allocations: 3.938 kB / 1.085 GB, free: 40.65 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.00952/0.9505, allocations: 3.393 MB / 1.088 GB, free: 38.83 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.9506, allocations: 9.062 kB / 1.088 GB, free: 38.83 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01114/0.9617, allocations: 1.454 MB / 1.089 GB, free: 38.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006994/0.9687, allocations: 2.896 MB / 1.092 GB, free: 37.99 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004122/0.9692, allocations: 260.5 kB / 1.092 GB, free: 37.92 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009507/0.9702, allocations: 232.8 kB / 1.093 GB, free: 37.92 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0105/0.9807, allocations: 3.216 MB / 1.096 GB, free: 37.41 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000115/0.9808, allocations: 6.844 kB / 1.096 GB, free: 37.41 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007143/0.9816, allocations: 108.8 kB / 1.096 GB, free: 37.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.722e-05/0.9817, allocations: 67.67 kB / 1.096 GB, free: 37.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01168/0.9934, allocations: 2.895 MB / 1.099 GB, free: 37.34 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.02454/1.018, allocations: 13.63 MB / 1.112 GB, free: 30.03 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004407/1.022, allocations: 1.512 MB / 1.114 GB, free: 29.77 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003004/1.025, allocations: 0.9415 MB / 1.115 GB, free: 29.59 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001605/1.027, allocations: 1.792 MB / 1.116 GB, free: 27.56 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003615/1.031, allocations: 1.181 MB / 1.117 GB, free: 27.09 MB / 0.698 GB Notification: Performance of pre-optimization done (n=126): time 6.171e-06/1.031, allocations: 2.594 kB / 1.117 GB, free: 27.09 MB / 0.698 GB Notification: Performance of matching and sorting (n=132): time 0.057/1.088, allocations: 11.93 MB / 1.129 GB, free: 21.36 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001682/1.088, allocations: 0.576 MB / 1.13 GB, free: 20.67 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005247/1.093, allocations: 2.605 MB / 1.132 GB, free: 20.01 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003598/1.094, allocations: 62.58 kB / 1.132 GB, free: 19.98 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001085/1.095, allocations: 1.325 MB / 1.134 GB, free: 19.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005628/1.095, allocations: 454.4 kB / 1.134 GB, free: 19.08 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003172/1.096, allocations: 148 kB / 1.134 GB, free: 19.04 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.331e-05/1.096, allocations: 309 kB / 1.134 GB, free: 18.74 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003603/1.099, allocations: 1.01 MB / 1.135 GB, free: 18.36 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003908/1.103, allocations: 1.617 MB / 1.137 GB, free: 16.85 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006558/1.11, allocations: 2.315 MB / 1.139 GB, free: 15.03 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.445e-05/1.11, allocations: 4 kB / 1.139 GB, free: 15.03 MB / 0.698 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.02204/1.132, allocations: 4.263 MB / 1.143 GB, free: 11.62 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002889/1.132, allocations: 492.2 kB / 1.144 GB, free: 11.01 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.647e-05/1.132, allocations: 19.97 kB / 1.144 GB, free: 10.99 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003644/1.136, allocations: 1.127 MB / 1.145 GB, free: 10.07 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002467/1.138, allocations: 470.5 kB / 1.145 GB, free: 9.641 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003699/1.142, allocations: 2.4 MB / 1.148 GB, free: 7.707 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005035/1.147, allocations: 413.7 kB / 1.148 GB, free: 7.332 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004124/1.148, allocations: 106 kB / 1.148 GB, free: 7.246 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/1.148, allocations: 4 kB / 1.148 GB, free: 7.242 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0211/1.169, allocations: 3.976 MB / 1.152 GB, free: 3.887 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.211e-05/1.169, allocations: 12.94 kB / 1.152 GB, free: 3.875 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003399/1.172, allocations: 1.123 MB / 1.153 GB, free: 2.762 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002366/1.175, allocations: 471.9 kB / 1.154 GB, free: 2.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003454/1.178, allocations: 2.393 MB / 1.156 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00469/1.183, allocations: 387.8 kB / 1.156 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003737/1.183, allocations: 103.9 kB / 1.157 GB, free: 15.42 MB / 0.7136 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 (realToInteger.y,N.count,$PRE.N.count,N.T_start,$PRE.N.T_start,heaPum1.com.isOn,$PRE.heaPum1.com.isOn,heaPum.com.isOn,$PRE.heaPum.com.isOn,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (166): * Single equations (assignments): 163 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,25), (4,27)} Notification: Performance of prepare postOptimizeDAE: time 0.001896/1.185, allocations: 0.699 MB / 1.157 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001012/1.186, allocations: 284.6 kB / 1.158 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008202/1.194, allocations: 2.463 MB / 1.16 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.503e-05/1.194, allocations: 19.94 kB / 1.16 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/1.194, allocations: 0 / 1.16 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006547/1.201, allocations: 2.071 MB / 1.162 GB, free: 9.867 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02165/1.223, allocations: 7.045 MB / 1.169 GB, free: 2.754 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.26e-05/1.223, allocations: 8 kB / 1.169 GB, free: 2.746 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001595/1.224, allocations: 291.8 kB / 1.169 GB, free: 2.473 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003198/1.227, allocations: 0.9739 MB / 1.17 GB, free: 1.5 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001668/1.228, allocations: 59.88 kB / 1.17 GB, free: 1.441 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003752/1.231, allocations: 2.154 MB / 1.172 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.255e-05/1.231, allocations: 14.41 kB / 1.172 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01389/1.245, allocations: 3.828 MB / 1.176 GB, free: 11.33 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002009/1.247, allocations: 0.5639 MB / 1.177 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001145/1.248, allocations: 44.05 kB / 1.177 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003878/1.252, allocations: 303.5 kB / 1.177 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002435/1.253, allocations: 111.5 kB / 1.177 GB, free: 10.31 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001844/1.253, allocations: 71.92 kB / 1.177 GB, free: 10.24 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.004165/1.257, allocations: 1.832 MB / 1.179 GB, free: 8.406 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.31e-07/1.257, allocations: 0 / 1.179 GB, free: 8.406 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.006127/1.263, allocations: 1.527 MB / 1.18 GB, free: 6.879 MB / 0.7292 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 (82): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,19), (4,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00229/1.265, allocations: 0.8635 MB / 1.181 GB, free: 6.082 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01278/1.278, allocations: 3.819 MB / 1.185 GB, free: 2.359 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-05/1.278, allocations: 5 kB / 1.185 GB, free: 2.355 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.003675/1.282, allocations: 1.058 MB / 1.186 GB, free: 1.34 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01125/1.293, allocations: 1.575 MB / 1.187 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01287/1.306, allocations: 6.092 MB / 1.193 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001917/1.308, allocations: 1.713 MB / 1.195 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001229/1.309, allocations: 287.2 kB / 1.195 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of SimCode: time 2.966e-06/1.309, allocations: 0 / 1.195 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of Templates: time 0.1206/1.43, allocations: 82.15 MB / 1.276 GB, free: 5.902 MB / 0.823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1)