Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/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-master/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_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") translateModel(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001538/0.001539, allocations: 175.4 kB / 7.649 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7815/0.7815, allocations: 133.6 MB / 141.6 MB, free: 2.855 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.635/1.635, allocations: 221.5 MB / 395.4 MB, free: 10.76 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.0009324/0.0009324, allocations: 96.02 kB / 478.2 MB, free: 1.285 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.264e-05/2.277e-05, allocations: 4 kB / 0.5535 GB, free: 9.02 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.508/0.508, allocations: 82.3 MB / 0.6338 GB, free: 40.84 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8935/1.402, allocations: 398.2 MB / 1.023 GB, free: 5.512 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003022/1.402, allocations: 94.25 kB / 1.023 GB, free: 5.465 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.034/5.436, allocations: 1.057 GB / 2.08 GB, free: 13.49 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.603e-06/5.436, allocations: 0 / 2.08 GB, free: 13.49 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0006124/5.437, allocations: 79.97 kB / 2.08 GB, free: 13.41 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.0103/5.447, allocations: 3.183 MB / 2.083 GB, free: 10.14 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/5.447, allocations: 16.02 kB / 2.083 GB, free: 10.12 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01012/5.457, allocations: 1.319 MB / 2.085 GB, free: 8.797 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009399/5.467, allocations: 3.308 MB / 2.088 GB, free: 5.426 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003661/5.467, allocations: 175.9 kB / 2.088 GB, free: 5.238 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001124/5.468, allocations: 136 kB / 2.088 GB, free: 5.105 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005649/5.474, allocations: 2.016 MB / 2.09 GB, free: 3.082 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007007/5.481, allocations: 2.499 MB / 2.093 GB, free: 396 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.314e-05/5.481, allocations: 7.938 kB / 2.093 GB, free: 388 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006344/5.482, allocations: 4 kB / 2.093 GB, free: 384 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-05/5.482, allocations: 79.94 kB / 2.093 GB, free: 304 kB / 0.698 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.02637/5.508, allocations: 12.97 MB / 2.105 GB, free: 2.785 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002187/5.511, allocations: 1.171 MB / 2.106 GB, free: 1.566 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001094/5.512, allocations: 0.6048 MB / 2.107 GB, free: 0.957 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.497/6.009, allocations: 1.773 MB / 2.109 GB, free: 63.25 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001983/6.011, allocations: 0.9359 MB / 2.11 GB, free: 62.97 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=118): time 4.909e-06/6.011, allocations: 0 / 2.11 GB, free: 62.97 MB / 0.7136 GB Notification: Performance of matching and sorting (n=122): time 0.0249/6.036, allocations: 10.56 MB / 2.12 GB, free: 57.21 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002322/6.036, allocations: 0.936 MB / 2.121 GB, free: 56.08 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002785/6.039, allocations: 1.844 MB / 2.123 GB, free: 55.87 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0003306/6.039, allocations: 37.95 kB / 2.123 GB, free: 55.84 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.00123/6.04, allocations: 1.385 MB / 2.124 GB, free: 55.42 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005471/6.041, allocations: 415.4 kB / 2.124 GB, free: 55.21 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/6.041, allocations: 2.875 kB / 2.124 GB, free: 55.21 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001044/6.041, allocations: 365.4 kB / 2.125 GB, free: 54.91 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009731/6.042, allocations: 0.6034 MB / 2.125 GB, free: 54.91 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001279/6.043, allocations: 1.212 MB / 2.127 GB, free: 54.23 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003602/6.047, allocations: 0.9706 MB / 2.128 GB, free: 54.22 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.13e-05/6.047, allocations: 4.906 kB / 2.128 GB, free: 54.22 MB / 0.7136 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.006394/6.053, allocations: 2.402 MB / 2.13 GB, free: 54.02 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.001009/6.055, allocations: 5.121 MB / 2.135 GB, free: 48.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.286e-05/6.055, allocations: 15.44 kB / 2.135 GB, free: 48.56 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001926/6.056, allocations: 0.8988 MB / 2.136 GB, free: 48.54 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002475/6.059, allocations: 446.7 kB / 2.136 GB, free: 48.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003218/6.062, allocations: 2.321 MB / 2.138 GB, free: 47.47 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00533/6.068, allocations: 373.4 kB / 2.139 GB, free: 47.46 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005204/6.068, allocations: 108.5 kB / 2.139 GB, free: 47.46 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/6.068, allocations: 9.328 kB / 2.139 GB, free: 47.46 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006038/6.074, allocations: 2.116 MB / 2.141 GB, free: 47.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.287e-05/6.074, allocations: 17.34 kB / 2.141 GB, free: 47.41 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001807/6.076, allocations: 0.8902 MB / 2.142 GB, free: 47.39 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002296/6.078, allocations: 434 kB / 2.142 GB, free: 47.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003576/6.082, allocations: 2.324 MB / 2.145 GB, free: 46.31 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004629/6.087, allocations: 311.5 kB / 2.145 GB, free: 46.3 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003777/6.087, allocations: 107.2 kB / 2.145 GB, free: 46.3 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.0007232/6.088, allocations: 157.5 kB / 2.145 GB, free: 46.2 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007889/6.089, allocations: 242.2 kB / 2.145 GB, free: 46.08 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007336/6.096, allocations: 1.886 MB / 2.147 GB, free: 45.95 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-05/6.096, allocations: 21.33 kB / 2.147 GB, free: 45.95 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.601e-05/6.096, allocations: 9.297 kB / 2.147 GB, free: 45.95 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006256/6.102, allocations: 1.701 MB / 2.149 GB, free: 45.65 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01293/6.115, allocations: 6.26 MB / 2.155 GB, free: 43.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.166e-05/6.115, allocations: 8.25 kB / 2.155 GB, free: 43.76 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001603/6.117, allocations: 276.2 kB / 2.155 GB, free: 43.75 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001533/6.118, allocations: 0.7755 MB / 2.156 GB, free: 43.73 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001055/6.119, allocations: 35.12 kB / 2.156 GB, free: 43.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002319/6.121, allocations: 2.074 MB / 2.158 GB, free: 42.67 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.155e-06/6.121, allocations: 10.91 kB / 2.158 GB, free: 42.67 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008028/6.129, allocations: 3.406 MB / 2.161 GB, free: 41.48 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00181/6.131, allocations: 0.6226 MB / 2.162 GB, free: 41.26 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005007/6.131, allocations: 15.44 kB / 2.162 GB, free: 41.26 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003559/6.135, allocations: 258 kB / 2.162 GB, free: 41.25 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002448/6.135, allocations: 107.3 kB / 2.162 GB, free: 41.25 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002119/6.135, allocations: 77.59 kB / 2.162 GB, free: 41.25 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002737/6.138, allocations: 1.378 MB / 2.164 GB, free: 41.11 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.11e-07/6.138, allocations: 0 / 2.164 GB, free: 41.11 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.008065/6.146, allocations: 1.561 MB / 2.165 GB, free: 41.11 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.003521/6.15, allocations: 1.507 MB / 2.167 GB, free: 40.83 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.005812/6.156, allocations: 2.683 MB / 2.169 GB, free: 40.65 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-05/6.156, allocations: 0.7188 kB / 2.169 GB, free: 40.65 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001643/6.157, allocations: 0.7773 MB / 2.17 GB, free: 40.64 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006257/6.164, allocations: 1.073 MB / 2.171 GB, free: 40.62 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008235/6.172, allocations: 3.535 MB / 2.175 GB, free: 39.52 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001189/6.173, allocations: 1.769 MB / 2.176 GB, free: 38.78 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.004152/6.177, allocations: 0.7125 MB / 2.177 GB, free: 38.76 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004921/6.178, allocations: 173.2 kB / 2.177 GB, free: 38.75 MB / 0.7136 GB Notification: Performance of SimCode: time 9.72e-07/6.178, allocations: 2.25 kB / 2.177 GB, free: 38.75 MB / 0.7136 GB Notification: Performance of Templates: time 0.09886/6.277, allocations: 66.57 MB / 2.242 GB, free: 34.89 MB / 0.7136 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1)