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.001432/0.001432, allocations: 174.5 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7345/0.7345, allocations: 130.5 MB / 143.8 MB, free: 13.58 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.575/1.575, allocations: 221.3 MB / 396.8 MB, free: 9.121 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009506/0.0009507, allocations: 100.8 kB / 479 MB, free: 10.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.025e-05/4.026e-05, allocations: 4.125 kB / 0.5551 GB, free: 86.12 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.176, allocations: 81.59 MB / 0.6348 GB, free: 12.01 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.368/1.545, allocations: 398.6 MB / 1.024 GB, free: 233.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002229/1.545, allocations: 95.89 kB / 1.024 GB, free: 233.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.868/5.413, allocations: 1.063 GB / 2.087 GB, free: 61.49 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.504e-06/5.413, allocations: 1.188 kB / 2.087 GB, free: 61.49 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0004697/5.414, allocations: 80.69 kB / 2.087 GB, free: 61.48 MB / 0.7136 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.008823/5.422, allocations: 3.175 MB / 2.09 GB, free: 60.14 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/5.422, allocations: 12.77 kB / 2.09 GB, free: 60.14 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0104/5.433, allocations: 1.32 MB / 2.091 GB, free: 59.96 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008047/5.441, allocations: 3.314 MB / 2.094 GB, free: 59.41 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002807/5.441, allocations: 255.3 kB / 2.095 GB, free: 59.34 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005182/5.442, allocations: 229.3 kB / 2.095 GB, free: 59.34 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005014/5.447, allocations: 2.829 MB / 2.098 GB, free: 58.83 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.156e-05/5.447, allocations: 9.469 kB / 2.098 GB, free: 58.83 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002925/5.447, allocations: 104.8 kB / 2.098 GB, free: 58.83 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.197e-05/5.447, allocations: 68.23 kB / 2.098 GB, free: 58.83 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00386/5.451, allocations: 2.166 MB / 2.1 GB, free: 58.8 MB / 0.7136 GB Warning: The model contains alias variables with conflicting start and/or 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.01995/5.471, allocations: 13.51 MB / 2.113 GB, free: 52.92 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001725/5.473, allocations: 1.233 MB / 2.114 GB, free: 52.69 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008917/5.474, allocations: 0.6374 MB / 2.115 GB, free: 52.67 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001501/5.475, allocations: 1.775 MB / 2.117 GB, free: 50.7 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001409/5.477, allocations: 0.9786 MB / 2.118 GB, free: 50.41 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=118): time 4.238e-06/5.477, allocations: 0 / 2.118 GB, free: 50.41 MB / 0.7136 GB Notification: Performance of matching and sorting (n=122): time 0.01717/5.494, allocations: 10.12 MB / 2.127 GB, free: 44.38 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002457/5.494, allocations: 0.9343 MB / 2.128 GB, free: 43.25 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003653/5.498, allocations: 2.342 MB / 2.131 GB, free: 43 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.000377/5.498, allocations: 62.3 kB / 2.131 GB, free: 42.97 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001017/5.499, allocations: 1.356 MB / 2.132 GB, free: 42.51 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004418/5.5, allocations: 430.4 kB / 2.132 GB, free: 42.25 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/5.5, allocations: 33.28 kB / 2.132 GB, free: 42.25 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.765e-05/5.5, allocations: 370.4 kB / 2.133 GB, free: 41.94 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001082/5.501, allocations: 0.63 MB / 2.133 GB, free: 41.94 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001478/5.503, allocations: 1.265 MB / 2.135 GB, free: 41.25 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001255/5.504, allocations: 0.7771 MB / 2.135 GB, free: 41.19 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.303e-06/5.504, allocations: 4.266 kB / 2.135 GB, free: 41.19 MB / 0.7136 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.00453/5.508, allocations: 2.37 MB / 2.138 GB, free: 40.94 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009997/5.509, allocations: 5.262 MB / 2.143 GB, free: 35.47 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.828e-05/5.509, allocations: 11.62 kB / 2.143 GB, free: 35.47 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002883/5.512, allocations: 1.05 MB / 2.144 GB, free: 35.45 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002477/5.515, allocations: 446.8 kB / 2.144 GB, free: 35.45 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002431/5.517, allocations: 2.201 MB / 2.146 GB, free: 34.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005558/5.523, allocations: 433.8 kB / 2.147 GB, free: 34.35 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004413/5.523, allocations: 112.2 kB / 2.147 GB, free: 34.35 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/5.523, allocations: 3.844 kB / 2.147 GB, free: 34.35 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003661/5.527, allocations: 2.093 MB / 2.149 GB, free: 34.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.574e-05/5.527, allocations: 14.59 kB / 2.149 GB, free: 34.27 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002712/5.53, allocations: 1.055 MB / 2.15 GB, free: 34.25 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002244/5.532, allocations: 432.3 kB / 2.15 GB, free: 34.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002549/5.535, allocations: 2.202 MB / 2.153 GB, free: 33.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005035/5.54, allocations: 373 kB / 2.153 GB, free: 33.15 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003464/5.54, allocations: 104.4 kB / 2.153 GB, free: 33.15 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 () * 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 {5 24,4 27} Notification: Performance of prepare postOptimizeDAE: time 0.0007784/5.541, allocations: 226.2 kB / 2.153 GB, free: 33.04 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001033/5.542, allocations: 285 kB / 2.154 GB, free: 32.89 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005328/5.547, allocations: 1.761 MB / 2.155 GB, free: 32.77 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.87e-05/5.547, allocations: 17.66 kB / 2.155 GB, free: 32.77 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.144e-05/5.547, allocations: 4.875 kB / 2.155 GB, free: 32.77 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003816/5.551, allocations: 1.533 MB / 2.157 GB, free: 32.48 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01171/5.563, allocations: 6.44 MB / 2.163 GB, free: 30.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.629e-05/5.563, allocations: 7.031 kB / 2.163 GB, free: 30.53 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001704/5.564, allocations: 278.8 kB / 2.163 GB, free: 30.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002563/5.567, allocations: 0.8877 MB / 2.164 GB, free: 30.5 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001695/5.567, allocations: 48.14 kB / 2.164 GB, free: 30.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001979/5.569, allocations: 1.972 MB / 2.166 GB, free: 29.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.505e-06/5.569, allocations: 14.03 kB / 2.166 GB, free: 29.43 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006564/5.576, allocations: 3.421 MB / 2.17 GB, free: 28.02 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002197/5.578, allocations: 0.6542 MB / 2.17 GB, free: 27.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0011/5.579, allocations: 38.39 kB / 2.17 GB, free: 27.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004063/5.583, allocations: 300.9 kB / 2.171 GB, free: 27.77 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002453/5.584, allocations: 108.5 kB / 2.171 GB, free: 27.77 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000202/5.584, allocations: 72.19 kB / 2.171 GB, free: 27.77 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.003743/5.588, allocations: 1.821 MB / 2.172 GB, free: 27.61 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.753e-06/5.588, allocations: 0 / 2.172 GB, free: 27.61 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.007703/5.595, allocations: 1.652 MB / 2.174 GB, free: 27.48 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (heaPum1.port_b1.h_outflow,heaPum1.port_b2.h_outflow) * 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) * 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.003561/5.599, allocations: 1.503 MB / 2.176 GB, free: 27.08 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.005835/5.605, allocations: 2.854 MB / 2.178 GB, free: 26.88 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-05/5.605, allocations: 11.12 kB / 2.178 GB, free: 26.88 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001643/5.606, allocations: 0.8064 MB / 2.179 GB, free: 26.86 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008282/5.615, allocations: 1.487 MB / 2.181 GB, free: 26.84 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009635/5.624, allocations: 3.675 MB / 2.184 GB, free: 25.75 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001792/5.626, allocations: 1.77 MB / 2.186 GB, free: 25.01 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.005799/5.632, allocations: 0.8387 MB / 2.187 GB, free: 24.96 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006038/5.633, allocations: 188.3 kB / 2.187 GB, free: 24.95 MB / 0.7136 GB Notification: Performance of SimCode: time 1.533e-06/5.633, allocations: 0 / 2.187 GB, free: 24.95 MB / 0.7136 GB Notification: Performance of Templates: time 0.1179/5.751, allocations: 84.07 MB / 2.269 GB, free: 16.57 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)