Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") translateModel(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01204/0.01204, allocations: 169.2 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8114/0.8114, allocations: 132.3 MB / 148.1 MB, free: 236 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.83/1.83, allocations: 223.2 MB / 403.2 MB, free: 6.609 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00097/0.0009697, allocations: 88.05 kB / 485.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003739/0.0003739, allocations: 11.98 kB / 0.5641 GB, free: 2.09 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4866/0.487, allocations: 81.57 MB / 0.6437 GB, free: 39.3 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8499/1.337, allocations: 398.6 MB / 1.033 GB, free: 14.47 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002918/1.337, allocations: 98.7 kB / 1.033 GB, free: 14.42 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.949/5.286, allocations: 1.066 GB / 2.099 GB, free: 2.746 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.164e-06/5.286, allocations: 3.938 kB / 2.099 GB, free: 2.742 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003009/5.287, allocations: 83.97 kB / 2.099 GB, free: 2.66 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.01022/5.297, allocations: 3.686 MB / 2.103 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/5.297, allocations: 12.03 kB / 2.103 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01111/5.308, allocations: 1.322 MB / 2.104 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01008/5.318, allocations: 3.332 MB / 2.107 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004116/5.319, allocations: 255.9 kB / 2.107 GB, free: 9.871 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009721/5.32, allocations: 235.9 kB / 2.108 GB, free: 9.641 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008788/5.329, allocations: 3.198 MB / 2.111 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.441e-05/5.329, allocations: 7.938 kB / 2.111 GB, free: 6.23 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003414/5.329, allocations: 111.9 kB / 2.111 GB, free: 6.121 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.209e-05/5.329, allocations: 71.92 kB / 2.111 GB, free: 6.051 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01039/5.339, allocations: 2.87 MB / 2.114 GB, free: 3.164 MB / 0.7136 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.5042/5.844, allocations: 13.5 MB / 2.127 GB, free: 53.68 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004803/5.849, allocations: 1.584 MB / 2.128 GB, free: 53.45 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001581/5.85, allocations: 1.773 MB / 2.13 GB, free: 51.48 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003932/5.854, allocations: 1.262 MB / 2.131 GB, free: 51.21 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=118): time 5.42e-06/5.854, allocations: 2.125 kB / 2.131 GB, free: 51.21 MB / 0.7136 GB Notification: Performance of matching and sorting (n=122): time 0.06345/5.918, allocations: 16.26 MB / 2.147 GB, free: 45.07 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002508/5.918, allocations: 0.9427 MB / 2.148 GB, free: 43.94 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005214/5.923, allocations: 2.422 MB / 2.151 GB, free: 43.72 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0005741/5.924, allocations: 58.73 kB / 2.151 GB, free: 43.69 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.00135/5.925, allocations: 1.36 MB / 2.152 GB, free: 43.34 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006883/5.926, allocations: 427.9 kB / 2.152 GB, free: 43.13 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001385/5.926, allocations: 34.25 kB / 2.152 GB, free: 43.13 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000162/5.926, allocations: 368.6 kB / 2.153 GB, free: 42.83 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003726/5.93, allocations: 0.9747 MB / 2.154 GB, free: 42.83 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004188/5.934, allocations: 1.612 MB / 2.155 GB, free: 42.14 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003903/5.938, allocations: 1.11 MB / 2.156 GB, free: 42.09 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.18e-05/5.938, allocations: 6.891 kB / 2.156 GB, free: 42.09 MB / 0.7136 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.01669/5.955, allocations: 3.117 MB / 2.159 GB, free: 41.84 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.001307/5.956, allocations: 5.263 MB / 2.165 GB, free: 36.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.017e-05/5.956, allocations: 16.64 kB / 2.165 GB, free: 36.36 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006517/5.963, allocations: 1.156 MB / 2.166 GB, free: 36.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004792/5.968, allocations: 450.2 kB / 2.166 GB, free: 36.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006633/5.974, allocations: 2.382 MB / 2.168 GB, free: 35.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01087/5.985, allocations: 427.5 kB / 2.169 GB, free: 35.26 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001018/5.986, allocations: 113.8 kB / 2.169 GB, free: 35.26 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.512e-05/5.986, allocations: 7.312 kB / 2.169 GB, free: 35.26 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01824/6.004, allocations: 2.787 MB / 2.172 GB, free: 35.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.325e-05/6.005, allocations: 12.44 kB / 2.172 GB, free: 35.18 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006228/6.011, allocations: 1.147 MB / 2.173 GB, free: 35.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004038/6.015, allocations: 434.2 kB / 2.173 GB, free: 35.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005158/6.02, allocations: 2.382 MB / 2.176 GB, free: 34.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00603/6.026, allocations: 366.6 kB / 2.176 GB, free: 34.07 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004392/6.027, allocations: 106.9 kB / 2.176 GB, free: 34.07 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 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,heaPum.stage,$PRE.heaPum1.com.isOn,heaPum1.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 145 * 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.0021/6.029, allocations: 0.6958 MB / 2.177 GB, free: 33.89 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009897/6.03, allocations: 291.7 kB / 2.177 GB, free: 33.74 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009668/6.039, allocations: 2.419 MB / 2.179 GB, free: 33.62 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.257e-05/6.04, allocations: 16.59 kB / 2.179 GB, free: 33.62 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/6.04, allocations: 5.25 kB / 2.179 GB, free: 33.62 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008701/6.048, allocations: 2.185 MB / 2.181 GB, free: 33.33 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01706/6.065, allocations: 7.133 MB / 2.188 GB, free: 31.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.812e-05/6.065, allocations: 10 kB / 2.188 GB, free: 31.38 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00182/6.067, allocations: 274.5 kB / 2.189 GB, free: 31.38 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003192/6.07, allocations: 1.027 MB / 2.19 GB, free: 31.35 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002167/6.071, allocations: 53.69 kB / 2.19 GB, free: 31.35 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002957/6.074, allocations: 2.146 MB / 2.192 GB, free: 30.29 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.595e-06/6.074, allocations: 11.86 kB / 2.192 GB, free: 30.29 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0133/6.087, allocations: 4.344 MB / 2.196 GB, free: 28.89 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002721/6.09, allocations: 0.6589 MB / 2.197 GB, free: 28.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001401/6.091, allocations: 43.25 kB / 2.197 GB, free: 28.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004399/6.096, allocations: 292.2 kB / 2.197 GB, free: 28.64 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002386/6.096, allocations: 108.5 kB / 2.197 GB, free: 28.64 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001979/6.096, allocations: 80 kB / 2.197 GB, free: 28.64 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.003313/6.099, allocations: 1.903 MB / 2.199 GB, free: 28.5 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.81e-07/6.099, allocations: 0 / 2.199 GB, free: 28.5 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.006847/6.106, allocations: 1.658 MB / 2.201 GB, free: 28.5 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum.stage,heaPum1.com.isOn,N.T_start,N.count) * 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 (76): * Single equations (assignments): 70 * 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.002867/6.109, allocations: 1.505 MB / 2.202 GB, free: 28.21 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.01278/6.122, allocations: 3.683 MB / 2.206 GB, free: 28.01 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-05/6.122, allocations: 8 kB / 2.206 GB, free: 28.01 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.003845/6.126, allocations: 1.09 MB / 2.207 GB, free: 27.97 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008059/6.134, allocations: 1.488 MB / 2.208 GB, free: 27.9 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01243/6.146, allocations: 5.811 MB / 2.214 GB, free: 25.17 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001146/6.148, allocations: 1.767 MB / 2.216 GB, free: 24.4 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.003863/6.152, allocations: 0.6552 MB / 2.216 GB, free: 24.27 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007399/6.152, allocations: 238 kB / 2.217 GB, free: 24.26 MB / 0.7136 GB Notification: Performance of SimCode: time 1.103e-06/6.152, allocations: 0 / 2.217 GB, free: 24.26 MB / 0.7136 GB Notification: Performance of Templates: time 0.1207/6.273, allocations: 78.28 MB / 2.293 GB, free: 19.46 MB / 0.7136 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1)