Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.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_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") translateModel(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 174.7 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.7343/0.7343, allocations: 130.5 MB / 143.8 MB, free: 13.57 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.622/1.622, allocations: 221.3 MB / 396.8 MB, free: 9.133 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.00099/0.0009898, allocations: 99.25 kB / 479 MB, free: 10.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.182e-05/3.183e-05, allocations: 3.281 kB / 0.5551 GB, free: 86.09 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1783/0.1783, allocations: 81.58 MB / 0.6348 GB, free: 12.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.311/1.49, allocations: 397 MB / 1.022 GB, free: 201.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002559/1.49, allocations: 90.55 kB / 1.023 GB, free: 201.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.978/3.468, allocations: 0.5585 GB / 1.581 GB, free: 105 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.954e-06/3.468, allocations: 3.875 kB / 1.581 GB, free: 105 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001518/3.468, allocations: 46.5 kB / 1.581 GB, free: 104.9 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.004453/3.473, allocations: 1.897 MB / 1.583 GB, free: 104.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/3.473, allocations: 16.08 kB / 1.583 GB, free: 104.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004256/3.477, allocations: 0.61 MB / 1.584 GB, free: 104 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003646/3.481, allocations: 1.803 MB / 1.585 GB, free: 103.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001126/3.481, allocations: 128.5 kB / 1.585 GB, free: 103.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001914/3.481, allocations: 121 kB / 1.586 GB, free: 103.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002311/3.483, allocations: 1.443 MB / 1.587 GB, free: 103.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.22e-05/3.483, allocations: 6.906 kB / 1.587 GB, free: 103.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001331/3.484, allocations: 53.81 kB / 1.587 GB, free: 103.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.291e-05/3.484, allocations: 50.78 kB / 1.587 GB, free: 103.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001733/3.485, allocations: 1.089 MB / 1.588 GB, free: 103.3 MB / 0.6823 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.008896/3.494, allocations: 6.768 MB / 1.595 GB, free: 100.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008465/3.495, allocations: 0.5382 MB / 1.595 GB, free: 100.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004507/3.496, allocations: 338.9 kB / 1.596 GB, free: 100.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001031/3.497, allocations: 1.262 MB / 1.597 GB, free: 98.98 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007078/3.497, allocations: 0.5261 MB / 1.597 GB, free: 98.81 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=65): time 3.005e-06/3.497, allocations: 0 / 1.597 GB, free: 98.81 MB / 0.6823 GB Notification: Performance of matching and sorting (n=65): time 0.001667/3.499, allocations: 0.8447 MB / 1.598 GB, free: 98.68 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/3.499, allocations: 483.4 kB / 1.599 GB, free: 98.12 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001591/3.501, allocations: 1.237 MB / 1.6 GB, free: 97.96 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001073/3.501, allocations: 43.89 kB / 1.6 GB, free: 97.93 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004942/3.501, allocations: 0.7208 MB / 1.601 GB, free: 97.66 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001916/3.502, allocations: 233.6 kB / 1.601 GB, free: 97.52 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.833e-05/3.502, allocations: 18.09 kB / 1.601 GB, free: 97.52 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.271e-05/3.502, allocations: 340.8 kB / 1.601 GB, free: 97.21 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000521/3.502, allocations: 326.4 kB / 1.601 GB, free: 97.21 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007296/3.503, allocations: 0.643 MB / 1.602 GB, free: 96.86 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000608/3.504, allocations: 414.2 kB / 1.602 GB, free: 96.82 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/3.504, allocations: 7.922 kB / 1.602 GB, free: 96.81 MB / 0.6823 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003291/3.507, allocations: 1.258 MB / 1.604 GB, free: 96.65 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004655/3.507, allocations: 2.53 MB / 1.606 GB, free: 94.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/3.507, allocations: 5.656 kB / 1.606 GB, free: 94.07 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001111/3.509, allocations: 326 kB / 1.607 GB, free: 94.07 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001375/3.51, allocations: 263.7 kB / 1.607 GB, free: 94.07 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008261/3.511, allocations: 0.8512 MB / 1.608 GB, free: 93.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002684/3.514, allocations: 282.4 kB / 1.608 GB, free: 93.48 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000125/3.514, allocations: 59.86 kB / 1.608 GB, free: 93.48 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/3.514, allocations: 3.812 kB / 1.608 GB, free: 93.48 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003067/3.517, allocations: 1.104 MB / 1.609 GB, free: 93.42 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/3.517, allocations: 3.844 kB / 1.609 GB, free: 93.42 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00097/3.518, allocations: 330.7 kB / 1.609 GB, free: 93.41 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001308/3.519, allocations: 266.1 kB / 1.61 GB, free: 93.41 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007293/3.52, allocations: 0.847 MB / 1.61 GB, free: 92.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00242/3.522, allocations: 247.9 kB / 1.611 GB, free: 92.83 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001275/3.522, allocations: 56 kB / 1.611 GB, free: 92.83 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.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 (90): * Single equations (assignments): 88 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0003921/3.523, allocations: 164.9 kB / 1.611 GB, free: 92.72 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003018/3.523, allocations: 164 kB / 1.611 GB, free: 92.64 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002569/3.526, allocations: 0.939 MB / 1.612 GB, free: 92.55 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-05/3.526, allocations: 11.09 kB / 1.612 GB, free: 92.55 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/3.526, allocations: 3.625 kB / 1.612 GB, free: 92.55 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001933/3.528, allocations: 0.8126 MB / 1.613 GB, free: 92.37 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005381/3.533, allocations: 3.273 MB / 1.616 GB, free: 91.28 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.385e-06/3.533, allocations: 3.656 kB / 1.616 GB, free: 91.28 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009164/3.534, allocations: 166.7 kB / 1.616 GB, free: 91.28 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001009/3.535, allocations: 321.7 kB / 1.616 GB, free: 91.27 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.724e-05/3.535, allocations: 35.91 kB / 1.616 GB, free: 91.27 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007347/3.536, allocations: 0.8456 MB / 1.617 GB, free: 90.74 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/3.536, allocations: 6.719 kB / 1.617 GB, free: 90.74 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003171/3.539, allocations: 1.815 MB / 1.619 GB, free: 89.97 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009927/3.54, allocations: 392.3 kB / 1.619 GB, free: 89.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002216/3.54, allocations: 22.17 kB / 1.619 GB, free: 89.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001629/3.542, allocations: 151.5 kB / 1.62 GB, free: 89.79 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001441/3.542, allocations: 70 kB / 1.62 GB, free: 89.79 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.421e-05/3.542, allocations: 37.88 kB / 1.62 GB, free: 89.79 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001377/3.544, allocations: 0.9839 MB / 1.621 GB, free: 89.67 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.9e-07/3.544, allocations: 0 / 1.621 GB, free: 89.67 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00283/3.546, allocations: 0.9902 MB / 1.622 GB, free: 89.52 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,heaPum.com.isOn,N.T_start,N.count) * Number of discrete states: 2 (N.count,heaPum.com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 44 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.001671/3.548, allocations: 0.8946 MB / 1.622 GB, free: 89.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002538/3.551, allocations: 1.477 MB / 1.624 GB, free: 89.14 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/3.551, allocations: 3.125 kB / 1.624 GB, free: 89.14 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007532/3.551, allocations: 413.7 kB / 1.624 GB, free: 89.13 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003814/3.555, allocations: 0.7796 MB / 1.625 GB, free: 89.12 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004871/3.56, allocations: 2.105 MB / 1.627 GB, free: 88.47 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005645/3.561, allocations: 1.249 MB / 1.628 GB, free: 87.76 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002202/3.563, allocations: 476.3 kB / 1.629 GB, free: 87.73 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002551/3.563, allocations: 102.9 kB / 1.629 GB, free: 87.72 MB / 0.6823 GB Notification: Performance of SimCode: time 1.062e-06/3.563, allocations: 0 / 1.629 GB, free: 87.72 MB / 0.6823 GB Notification: Performance of Templates: time 0.05799/3.621, allocations: 42.77 MB / 1.671 GB, free: 82.74 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe 2>&1)