Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") translateModel(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.00872/0.00872, allocations: 170.6 kB / 15.11 MB, free: 5.992 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.847/0.847, allocations: 135.2 MB / 151.1 MB, free: 13.78 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.518/1.518, allocations: 223.2 MB / 406.9 MB, free: 3.223 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.0009946/0.0009945, allocations: 97.41 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000357/0.000357, allocations: 8 kB / 0.5691 GB, free: 14.17 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4442/0.4446, allocations: 82.29 MB / 0.6495 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8426/1.287, allocations: 398.4 MB / 1.039 GB, free: 7.695 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003229/1.288, allocations: 99.3 kB / 1.039 GB, free: 7.641 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.411/5.698, allocations: 1.066 GB / 2.105 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.573e-06/5.699, allocations: 3.938 kB / 2.105 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0005348/5.699, allocations: 83.91 kB / 2.105 GB, free: 13.83 MB / 0.7292 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.01402/5.713, allocations: 3.717 MB / 2.109 GB, free: 10.01 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/5.713, allocations: 8.031 kB / 2.109 GB, free: 10 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01036/5.724, allocations: 1.217 MB / 2.11 GB, free: 8.781 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01046/5.734, allocations: 3.334 MB / 2.113 GB, free: 5.371 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004144/5.735, allocations: 251.9 kB / 2.113 GB, free: 5.109 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001037/5.736, allocations: 232 kB / 2.114 GB, free: 4.883 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0106/5.746, allocations: 3.179 MB / 2.117 GB, free: 1.5 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001049/5.746, allocations: 11.89 kB / 2.117 GB, free: 1.488 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006956/5.747, allocations: 108 kB / 2.117 GB, free: 1.383 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001204/5.747, allocations: 92.27 kB / 2.117 GB, free: 1.289 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5759/6.323, allocations: 2.8 MB / 2.12 GB, free: 67.57 MB / 0.7292 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.02812/6.351, allocations: 13.35 MB / 2.133 GB, free: 62.07 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00425/6.356, allocations: 1.523 MB / 2.134 GB, free: 61.86 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001544/6.357, allocations: 1.781 MB / 2.136 GB, free: 59.89 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003694/6.361, allocations: 1.201 MB / 2.137 GB, free: 59.61 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=118): time 5.6e-06/6.361, allocations: 3.562 kB / 2.137 GB, free: 59.61 MB / 0.7292 GB Notification: Performance of matching and sorting (n=122): time 0.03856/6.399, allocations: 13.32 MB / 2.15 GB, free: 53.44 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002432/6.4, allocations: 0.9396 MB / 2.151 GB, free: 52.32 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005252/6.405, allocations: 2.429 MB / 2.153 GB, free: 52.1 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0004769/6.405, allocations: 57.52 kB / 2.153 GB, free: 52.07 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001252/6.407, allocations: 1.366 MB / 2.155 GB, free: 51.71 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.000513/6.407, allocations: 421.9 kB / 2.155 GB, free: 51.5 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/6.407, allocations: 32.38 kB / 2.155 GB, free: 51.5 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001072/6.408, allocations: 374.8 kB / 2.156 GB, free: 51.2 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003367/6.411, allocations: 0.9236 MB / 2.157 GB, free: 51.2 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003768/6.415, allocations: 1.561 MB / 2.158 GB, free: 50.51 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003606/6.418, allocations: 1.069 MB / 2.159 GB, free: 50.46 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.346e-05/6.418, allocations: 3.219 kB / 2.159 GB, free: 50.46 MB / 0.7292 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.009379/6.428, allocations: 2.975 MB / 2.162 GB, free: 50.21 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001149/6.429, allocations: 5.265 MB / 2.167 GB, free: 44.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.264e-05/6.429, allocations: 12.88 kB / 2.167 GB, free: 44.73 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003024/6.432, allocations: 0.9239 MB / 2.168 GB, free: 44.71 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002739/6.435, allocations: 463.8 kB / 2.168 GB, free: 44.71 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002717/6.437, allocations: 2.183 MB / 2.171 GB, free: 43.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005864/6.443, allocations: 414.2 kB / 2.171 GB, free: 43.63 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004761/6.444, allocations: 113.2 kB / 2.171 GB, free: 43.63 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/6.444, allocations: 3.688 kB / 2.171 GB, free: 43.63 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009278/6.453, allocations: 2.647 MB / 2.174 GB, free: 43.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.18e-05/6.453, allocations: 10.47 kB / 2.174 GB, free: 43.55 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002868/6.456, allocations: 0.9322 MB / 2.175 GB, free: 43.52 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002698/6.459, allocations: 439.5 kB / 2.175 GB, free: 43.52 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002908/6.462, allocations: 2.184 MB / 2.177 GB, free: 42.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005922/6.468, allocations: 355.1 kB / 2.178 GB, free: 42.45 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006738/6.468, allocations: 108 kB / 2.178 GB, free: 42.45 MB / 0.7292 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 (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 {4 23,4 25} Notification: Performance of prepare postOptimizeDAE: time 0.003342/6.472, allocations: 0.6994 MB / 2.178 GB, free: 42.26 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0016/6.473, allocations: 290.2 kB / 2.179 GB, free: 42.11 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01091/6.484, allocations: 2.341 MB / 2.181 GB, free: 41.99 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.075e-05/6.484, allocations: 15.03 kB / 2.181 GB, free: 41.99 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.582e-05/6.484, allocations: 13.48 kB / 2.181 GB, free: 41.99 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00796/6.492, allocations: 2.111 MB / 2.183 GB, free: 41.7 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01681/6.509, allocations: 6.77 MB / 2.19 GB, free: 39.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.201e-05/6.509, allocations: 9.391 kB / 2.19 GB, free: 39.75 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001771/6.511, allocations: 287.3 kB / 2.19 GB, free: 39.75 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00262/6.514, allocations: 0.7897 MB / 2.191 GB, free: 39.73 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002069/6.514, allocations: 51.88 kB / 2.191 GB, free: 39.73 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002322/6.516, allocations: 1.961 MB / 2.193 GB, free: 38.67 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.694e-06/6.516, allocations: 9.594 kB / 2.193 GB, free: 38.67 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01234/6.529, allocations: 4.118 MB / 2.197 GB, free: 37.27 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003395/6.532, allocations: 0.6516 MB / 2.197 GB, free: 37.03 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00191/6.534, allocations: 44.62 kB / 2.197 GB, free: 37.03 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005018/6.539, allocations: 278.2 kB / 2.198 GB, free: 37.03 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003098/6.539, allocations: 111.5 kB / 2.198 GB, free: 37.02 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000294/6.54, allocations: 76.27 kB / 2.198 GB, free: 37.02 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.005682/6.545, allocations: 1.902 MB / 2.2 GB, free: 36.88 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.11e-07/6.545, allocations: 0 / 2.2 GB, free: 36.88 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.009911/6.555, allocations: 1.652 MB / 2.201 GB, free: 36.88 MB / 0.7292 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 (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,4 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.004231/6.56, allocations: 1.49 MB / 2.203 GB, free: 36.61 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01324/6.573, allocations: 3.553 MB / 2.206 GB, free: 36.43 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-05/6.573, allocations: 3.406 kB / 2.206 GB, free: 36.43 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.003834/6.577, allocations: 1.043 MB / 2.207 GB, free: 36.41 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008658/6.586, allocations: 1.505 MB / 2.209 GB, free: 36.4 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01566/6.601, allocations: 5.996 MB / 2.214 GB, free: 33.83 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001228/6.602, allocations: 1.773 MB / 2.216 GB, free: 33.1 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.004236/6.607, allocations: 0.6602 MB / 2.217 GB, free: 33.03 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008647/6.608, allocations: 234.8 kB / 2.217 GB, free: 33.02 MB / 0.7292 GB Notification: Performance of SimCode: time 1.873e-06/6.608, allocations: 0 / 2.217 GB, free: 33.02 MB / 0.7292 GB Notification: Performance of Templates: time 0.1175/6.725, allocations: 76.12 MB / 2.291 GB, free: 28.36 MB / 0.7292 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe 2>&1)