Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_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.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") translateModel(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 169 kB / 7.645 MB, free: 1.434 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7699/0.7699, allocations: 130.7 MB / 138.7 MB, free: 3.531 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.777/1.777, allocations: 221.5 MB / 391.8 MB, free: 14.25 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.0009378/0.0009374, allocations: 95.41 kB / 473.9 MB, free: 4.496 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.954e-05/1.956e-05, allocations: 4 kB / 0.5485 GB, free: 13.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4713/0.4713, allocations: 81.57 MB / 0.6282 GB, free: 43.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8668/1.338, allocations: 397.4 MB / 1.016 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002917/1.339, allocations: 91.45 kB / 1.016 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.747/5.086, allocations: 1.058 GB / 2.074 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.783e-06/5.086, allocations: 0 / 2.074 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0005125/5.086, allocations: 83.97 kB / 2.074 GB, free: 0.8398 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: 583 * Number of variables: 583 Notification: Performance of Generate backend data structure: time 0.01097/5.097, allocations: 3.206 MB / 2.078 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/5.097, allocations: 8.031 kB / 2.078 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009419/5.107, allocations: 1.21 MB / 2.079 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009555/5.116, allocations: 3.327 MB / 2.082 GB, free: 8.914 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003891/5.117, allocations: 163.9 kB / 2.082 GB, free: 8.738 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00101/5.118, allocations: 143.9 kB / 2.082 GB, free: 8.598 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005475/5.123, allocations: 1.993 MB / 2.084 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005847/5.129, allocations: 2.503 MB / 2.087 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.074e-05/5.129, allocations: 3.938 kB / 2.087 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002591/5.13, allocations: 8 kB / 2.087 GB, free: 3.887 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000109/5.13, allocations: 100.2 kB / 2.087 GB, free: 3.785 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.5572/5.687, allocations: 12.8 MB / 2.099 GB, free: 61.64 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002069/5.689, allocations: 1.146 MB / 2.1 GB, free: 61.42 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008846/5.69, allocations: 0.5735 MB / 2.101 GB, free: 61.41 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001709/5.692, allocations: 1.781 MB / 2.103 GB, free: 59.45 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001467/5.693, allocations: 0.9028 MB / 2.104 GB, free: 59.15 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=118): time 5.48e-06/5.693, allocations: 4.406 kB / 2.104 GB, free: 59.15 MB / 0.7136 GB Notification: Performance of matching and sorting (n=122): time 0.02399/5.717, allocations: 10.5 MB / 2.114 GB, free: 53.18 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002884/5.717, allocations: 0.9331 MB / 2.115 GB, free: 52.05 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002885/5.72, allocations: 1.845 MB / 2.117 GB, free: 51.84 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0004086/5.721, allocations: 33.33 kB / 2.117 GB, free: 51.81 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001299/5.722, allocations: 1.387 MB / 2.118 GB, free: 51.39 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000546/5.723, allocations: 416.5 kB / 2.118 GB, free: 51.18 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/5.723, allocations: 0 / 2.118 GB, free: 51.18 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001144/5.723, allocations: 366.9 kB / 2.119 GB, free: 50.88 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009644/5.724, allocations: 0.5804 MB / 2.119 GB, free: 50.88 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001237/5.725, allocations: 1.195 MB / 2.12 GB, free: 50.2 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003616/5.729, allocations: 0.9537 MB / 2.121 GB, free: 50.18 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-05/5.729, allocations: 3.781 kB / 2.121 GB, free: 50.18 MB / 0.7136 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.006451/5.735, allocations: 2.337 MB / 2.124 GB, free: 49.98 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009966/5.736, allocations: 5.124 MB / 2.129 GB, free: 44.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.148e-05/5.736, allocations: 12.5 kB / 2.129 GB, free: 44.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001623/5.738, allocations: 0.7162 MB / 2.129 GB, free: 44.48 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002442/5.74, allocations: 457.5 kB / 2.13 GB, free: 44.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003362/5.744, allocations: 2.274 MB / 2.132 GB, free: 43.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005049/5.749, allocations: 362.6 kB / 2.132 GB, free: 43.4 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003847/5.749, allocations: 103.2 kB / 2.132 GB, free: 43.4 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/5.749, allocations: 7.984 kB / 2.133 GB, free: 43.4 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006304/5.756, allocations: 2.052 MB / 2.135 GB, free: 43.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.63e-05/5.756, allocations: 13.25 kB / 2.135 GB, free: 43.35 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00173/5.757, allocations: 0.7158 MB / 2.135 GB, free: 43.32 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002537/5.76, allocations: 447.4 kB / 2.136 GB, free: 43.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003803/5.764, allocations: 2.269 MB / 2.138 GB, free: 42.26 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004919/5.769, allocations: 299.4 kB / 2.138 GB, free: 42.25 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004436/5.769, allocations: 106.2 kB / 2.138 GB, free: 42.25 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 (152): * Single equations (assignments): 149 * 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 22,4 25} Notification: Performance of prepare postOptimizeDAE: time 0.0006862/5.77, allocations: 155.1 kB / 2.138 GB, free: 42.15 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008364/5.771, allocations: 251.2 kB / 2.139 GB, free: 42.02 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00655/5.777, allocations: 1.84 MB / 2.14 GB, free: 41.9 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.309e-05/5.777, allocations: 16.66 kB / 2.14 GB, free: 41.9 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-05/5.777, allocations: 4.531 kB / 2.14 GB, free: 41.9 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005283/5.783, allocations: 1.664 MB / 2.142 GB, free: 41.6 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01349/5.796, allocations: 6.149 MB / 2.148 GB, free: 39.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.514e-05/5.796, allocations: 8.344 kB / 2.148 GB, free: 39.71 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001629/5.798, allocations: 275.3 kB / 2.148 GB, free: 39.71 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001222/5.799, allocations: 0.6175 MB / 2.149 GB, free: 39.68 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001244/5.799, allocations: 33.61 kB / 2.149 GB, free: 39.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002821/5.802, allocations: 2.036 MB / 2.151 GB, free: 38.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.518e-06/5.802, allocations: 7.625 kB / 2.151 GB, free: 38.62 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00686/5.809, allocations: 3.3 MB / 2.154 GB, free: 37.43 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001776/5.811, allocations: 0.607 MB / 2.155 GB, free: 37.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006333/5.811, allocations: 25.27 kB / 2.155 GB, free: 37.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003253/5.815, allocations: 238.1 kB / 2.155 GB, free: 37.2 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002536/5.815, allocations: 115 kB / 2.155 GB, free: 37.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001789/5.815, allocations: 70.34 kB / 2.155 GB, free: 37.2 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002744/5.818, allocations: 1.382 MB / 2.157 GB, free: 37.05 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.41e-07/5.818, allocations: 0 / 2.157 GB, free: 37.05 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.007705/5.826, allocations: 1.56 MB / 2.158 GB, free: 37.05 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 (80): * Single equations (assignments): 74 * 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 17,5 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.003406/5.829, allocations: 1.478 MB / 2.16 GB, free: 36.79 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.007098/5.836, allocations: 2.778 MB / 2.162 GB, free: 36.61 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.871e-05/5.836, allocations: 4.625 kB / 2.162 GB, free: 36.61 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002158/5.838, allocations: 0.8415 MB / 2.163 GB, free: 36.59 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006285/5.845, allocations: 1.073 MB / 2.164 GB, free: 36.58 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009653/5.854, allocations: 3.753 MB / 2.168 GB, free: 35.47 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001171/5.856, allocations: 1.768 MB / 2.17 GB, free: 34.73 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.00429/5.86, allocations: 0.7186 MB / 2.17 GB, free: 34.71 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004939/5.86, allocations: 174 kB / 2.17 GB, free: 34.7 MB / 0.7136 GB Notification: Performance of SimCode: time 1.133e-06/5.86, allocations: 0 / 2.17 GB, free: 34.7 MB / 0.7136 GB Notification: Performance of Templates: time 0.1073/5.968, allocations: 64.13 MB / 2.233 GB, free: 30.88 MB / 0.7136 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe 2>&1)