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.001455/0.001455, allocations: 169.2 kB / 7.64 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8205/0.8205, allocations: 130.7 MB / 138.7 MB, free: 3.598 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.562/1.562, allocations: 221.5 MB / 391.8 MB, free: 14.18 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.0008559/0.0008555, allocations: 95.53 kB / 473.9 MB, free: 4.469 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.834e-05/2.811e-05, allocations: 4 kB / 0.5485 GB, free: 13.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5552/0.5553, allocations: 81.57 MB / 0.6282 GB, free: 42.95 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9469/1.502, allocations: 397.9 MB / 1.017 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002705/1.503, allocations: 91.45 kB / 1.017 GB, free: 10.51 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.151/5.654, allocations: 1.057 GB / 2.074 GB, free: 1.355 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.038e-06/5.654, allocations: 0 / 2.074 GB, free: 1.355 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0006141/5.654, allocations: 87.84 kB / 2.074 GB, free: 1.27 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.01205/5.666, allocations: 3.179 MB / 2.077 GB, free: 14 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/5.666, allocations: 8.031 kB / 2.077 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01041/5.677, allocations: 1.315 MB / 2.079 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01032/5.687, allocations: 3.311 MB / 2.082 GB, free: 9.281 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004966/5.688, allocations: 167.9 kB / 2.082 GB, free: 9.102 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00134/5.689, allocations: 139.9 kB / 2.082 GB, free: 8.965 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006725/5.696, allocations: 2.016 MB / 2.084 GB, free: 6.941 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007933/5.704, allocations: 2.503 MB / 2.087 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001016/5.704, allocations: 7.938 kB / 2.087 GB, free: 4.234 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000691/5.705, allocations: 11.94 kB / 2.087 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001031/5.705, allocations: 67.94 kB / 2.087 GB, free: 4.156 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.5686/6.273, allocations: 12.97 MB / 2.099 GB, free: 62.06 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00202/6.275, allocations: 1.168 MB / 2.101 GB, free: 61.84 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009078/6.276, allocations: 0.6023 MB / 2.101 GB, free: 61.84 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001759/6.278, allocations: 1.783 MB / 2.103 GB, free: 59.87 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001682/6.28, allocations: 0.9362 MB / 2.104 GB, free: 59.58 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=118): time 5.27e-06/6.28, allocations: 1.156 kB / 2.104 GB, free: 59.58 MB / 0.7136 GB Notification: Performance of matching and sorting (n=122): time 0.02356/6.303, allocations: 10.56 MB / 2.114 GB, free: 53.62 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002068/6.304, allocations: 0.9352 MB / 2.115 GB, free: 52.5 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003003/6.307, allocations: 1.841 MB / 2.117 GB, free: 52.29 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0004009/6.307, allocations: 40.89 kB / 2.117 GB, free: 52.25 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.00109/6.308, allocations: 1.384 MB / 2.118 GB, free: 51.84 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004545/6.309, allocations: 409.4 kB / 2.119 GB, free: 51.63 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001202/6.309, allocations: 3.062 kB / 2.119 GB, free: 51.63 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.077e-05/6.309, allocations: 370 kB / 2.119 GB, free: 51.33 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009727/6.31, allocations: 0.5997 MB / 2.12 GB, free: 51.33 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001223/6.311, allocations: 1.224 MB / 2.121 GB, free: 50.65 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00359/6.315, allocations: 0.9694 MB / 2.122 GB, free: 50.63 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.357e-06/6.315, allocations: 3.75 kB / 2.122 GB, free: 50.63 MB / 0.7136 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.006197/6.321, allocations: 2.399 MB / 2.124 GB, free: 50.43 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008334/6.322, allocations: 5.122 MB / 2.129 GB, free: 44.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.969e-05/6.322, allocations: 17.27 kB / 2.129 GB, free: 44.95 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001706/6.324, allocations: 0.9002 MB / 2.13 GB, free: 44.93 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002301/6.326, allocations: 441.7 kB / 2.13 GB, free: 44.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003264/6.329, allocations: 2.324 MB / 2.133 GB, free: 43.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005048/6.334, allocations: 376.2 kB / 2.133 GB, free: 43.84 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000359/6.335, allocations: 107.3 kB / 2.133 GB, free: 43.84 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/6.335, allocations: 6.406 kB / 2.133 GB, free: 43.84 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006205/6.341, allocations: 2.12 MB / 2.135 GB, free: 43.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.794e-05/6.341, allocations: 11.66 kB / 2.135 GB, free: 43.79 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001924/6.343, allocations: 0.8855 MB / 2.136 GB, free: 43.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002399/6.345, allocations: 433.3 kB / 2.136 GB, free: 43.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003127/6.348, allocations: 2.323 MB / 2.139 GB, free: 42.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004521/6.353, allocations: 318.5 kB / 2.139 GB, free: 42.69 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003481/6.353, allocations: 104 kB / 2.139 GB, free: 42.69 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.000623/6.354, allocations: 166.3 kB / 2.139 GB, free: 42.58 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006099/6.355, allocations: 247 kB / 2.139 GB, free: 42.45 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007759/6.362, allocations: 1.888 MB / 2.141 GB, free: 42.33 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.574e-05/6.362, allocations: 19.83 kB / 2.141 GB, free: 42.33 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.559e-05/6.362, allocations: 6.312 kB / 2.141 GB, free: 42.33 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0059/6.368, allocations: 1.703 MB / 2.143 GB, free: 42.03 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01219/6.381, allocations: 6.267 MB / 2.149 GB, free: 40.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.789e-06/6.381, allocations: 7.844 kB / 2.149 GB, free: 40.12 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001585/6.382, allocations: 273.5 kB / 2.149 GB, free: 40.12 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001423/6.384, allocations: 0.7792 MB / 2.15 GB, free: 40.1 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001075/6.384, allocations: 32.14 kB / 2.15 GB, free: 40.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002247/6.386, allocations: 2.071 MB / 2.152 GB, free: 39.04 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.025e-06/6.386, allocations: 13.62 kB / 2.152 GB, free: 39.04 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007681/6.394, allocations: 3.404 MB / 2.156 GB, free: 37.84 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001761/6.395, allocations: 0.6164 MB / 2.156 GB, free: 37.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000478/6.396, allocations: 12.09 kB / 2.156 GB, free: 37.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003169/6.399, allocations: 262 kB / 2.156 GB, free: 37.62 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000178/6.399, allocations: 108 kB / 2.157 GB, free: 37.62 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001409/6.399, allocations: 74.97 kB / 2.157 GB, free: 37.62 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002262/6.402, allocations: 1.38 MB / 2.158 GB, free: 37.48 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/6.402, allocations: 3 kB / 2.158 GB, free: 37.48 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.006132/6.408, allocations: 1.561 MB / 2.159 GB, free: 37.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.00257/6.41, allocations: 1.502 MB / 2.161 GB, free: 37.2 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00442/6.415, allocations: 2.683 MB / 2.164 GB, free: 37.02 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.266e-05/6.415, allocations: 6.594 kB / 2.164 GB, free: 37.02 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0014/6.416, allocations: 0.771 MB / 2.164 GB, free: 37 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005724/6.422, allocations: 1.077 MB / 2.165 GB, free: 36.98 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007645/6.43, allocations: 3.537 MB / 2.169 GB, free: 35.88 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001098/6.431, allocations: 1.776 MB / 2.171 GB, free: 35.14 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.004025/6.435, allocations: 0.712 MB / 2.171 GB, free: 35.12 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004438/6.435, allocations: 167 kB / 2.171 GB, free: 35.11 MB / 0.7136 GB Notification: Performance of SimCode: time 8.01e-07/6.435, allocations: 0 / 2.171 GB, free: 35.11 MB / 0.7136 GB Notification: Performance of Templates: time 0.09096/6.526, allocations: 66.57 MB / 2.236 GB, free: 31.25 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)