Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.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_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") translateModel(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006755/0.006755, allocations: 172 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.74/0.74, allocations: 132.3 MB / 148.1 MB, free: 232 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 223.2 MB / 403.2 MB, free: 6.73 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.0008535/0.0008535, allocations: 90.23 kB / 485.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00036/0.0003601, allocations: 12 kB / 0.5641 GB, free: 2.113 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4361/0.4365, allocations: 81.59 MB / 0.6438 GB, free: 39.28 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8236/1.26, allocations: 398 MB / 1.032 GB, free: 15.11 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002734/1.261, allocations: 106.9 kB / 1.033 GB, free: 15.05 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.94/5.201, allocations: 1.065 GB / 2.098 GB, free: 3.008 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.445e-06/5.201, allocations: 4 kB / 2.098 GB, free: 3.004 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003062/5.201, allocations: 71.98 kB / 2.098 GB, free: 2.934 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: 577 * Number of variables: 577 Notification: Performance of Generate backend data structure: time 0.01037/5.211, allocations: 3.697 MB / 2.101 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/5.211, allocations: 8.031 kB / 2.101 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009769/5.221, allocations: 1.217 MB / 2.102 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008826/5.23, allocations: 3.324 MB / 2.106 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002999/5.23, allocations: 255.9 kB / 2.106 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005607/5.231, allocations: 235.9 kB / 2.106 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008556/5.24, allocations: 3.13 MB / 2.109 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.926e-05/5.24, allocations: 7.922 kB / 2.109 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003365/5.24, allocations: 100 kB / 2.109 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.171e-05/5.24, allocations: 67.94 kB / 2.109 GB, free: 6.523 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009834/5.25, allocations: 2.772 MB / 2.112 GB, free: 3.734 MB / 0.7136 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.5603/5.81, allocations: 13.11 MB / 2.125 GB, free: 54.01 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004269/5.815, allocations: 1.503 MB / 2.126 GB, free: 53.79 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001583/5.816, allocations: 1.773 MB / 2.128 GB, free: 51.82 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003663/5.82, allocations: 1.224 MB / 2.129 GB, free: 51.55 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=118): time 4.328e-06/5.82, allocations: 0 / 2.129 GB, free: 51.55 MB / 0.7136 GB Notification: Performance of matching and sorting (n=118): time 0.02167/5.842, allocations: 4.273 MB / 2.133 GB, free: 51.14 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002395/5.842, allocations: 0.9368 MB / 2.134 GB, free: 50.02 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004561/5.846, allocations: 2.332 MB / 2.137 GB, free: 49.8 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0005396/5.847, allocations: 64.59 kB / 2.137 GB, free: 49.77 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001402/5.848, allocations: 1.357 MB / 2.138 GB, free: 49.39 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006765/5.849, allocations: 418.4 kB / 2.138 GB, free: 49.19 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001305/5.849, allocations: 35.03 kB / 2.138 GB, free: 49.19 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001321/5.849, allocations: 366.7 kB / 2.139 GB, free: 48.88 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003763/5.853, allocations: 0.9488 MB / 2.14 GB, free: 48.88 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004394/5.858, allocations: 1.558 MB / 2.141 GB, free: 48.23 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003976/5.862, allocations: 1.079 MB / 2.142 GB, free: 48.18 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.255e-05/5.862, allocations: 3.281 kB / 2.142 GB, free: 48.18 MB / 0.7136 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.009607/5.871, allocations: 2.899 MB / 2.145 GB, free: 47.94 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.001049/5.872, allocations: 5.043 MB / 2.15 GB, free: 42.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.987e-05/5.872, allocations: 9.625 kB / 2.15 GB, free: 42.66 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002422/5.875, allocations: 0.7277 MB / 2.151 GB, free: 42.64 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003049/5.878, allocations: 497 kB / 2.151 GB, free: 42.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002644/5.88, allocations: 1.796 MB / 2.153 GB, free: 41.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005907/5.886, allocations: 0.5117 MB / 2.154 GB, free: 41.53 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003418/5.887, allocations: 102.8 kB / 2.154 GB, free: 41.53 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/5.887, allocations: 3.625 kB / 2.154 GB, free: 41.53 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008315/5.895, allocations: 2.585 MB / 2.156 GB, free: 41.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.461e-05/5.895, allocations: 11.19 kB / 2.156 GB, free: 41.45 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002194/5.897, allocations: 0.7175 MB / 2.157 GB, free: 41.43 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002838/5.9, allocations: 481.1 kB / 2.157 GB, free: 41.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002187/5.902, allocations: 1.802 MB / 2.159 GB, free: 40.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005333/5.908, allocations: 438.1 kB / 2.16 GB, free: 40.32 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003068/5.908, allocations: 106.4 kB / 2.16 GB, free: 40.32 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (170): * Single equations (assignments): 167 * 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 {2 17,2 17} Notification: Performance of prepare postOptimizeDAE: time 0.002122/5.91, allocations: 0.6946 MB / 2.16 GB, free: 40.14 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008635/5.911, allocations: 274.4 kB / 2.161 GB, free: 40 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009093/5.92, allocations: 2.274 MB / 2.163 GB, free: 39.88 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.981e-05/5.92, allocations: 15.06 kB / 2.163 GB, free: 39.88 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.168e-05/5.92, allocations: 3.938 kB / 2.163 GB, free: 39.88 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008077/5.928, allocations: 2.058 MB / 2.165 GB, free: 39.59 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01763/5.946, allocations: 6.984 MB / 2.172 GB, free: 37.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.577e-05/5.946, allocations: 7.344 kB / 2.172 GB, free: 37.62 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001861/5.948, allocations: 288.8 kB / 2.172 GB, free: 37.62 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002238/5.95, allocations: 0.709 MB / 2.173 GB, free: 37.59 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001505/5.95, allocations: 48.83 kB / 2.173 GB, free: 37.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001938/5.952, allocations: 1.79 MB / 2.174 GB, free: 36.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.907e-06/5.952, allocations: 10.69 kB / 2.174 GB, free: 36.54 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01106/5.963, allocations: 4.111 MB / 2.178 GB, free: 35.05 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002316/5.966, allocations: 0.6576 MB / 2.179 GB, free: 34.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006322/5.966, allocations: 38.16 kB / 2.179 GB, free: 34.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003429/5.97, allocations: 279.8 kB / 2.179 GB, free: 34.82 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002211/5.97, allocations: 109.1 kB / 2.179 GB, free: 34.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001538/5.97, allocations: 70.55 kB / 2.18 GB, free: 34.82 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.003319/5.974, allocations: 1.828 MB / 2.181 GB, free: 34.67 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/5.974, allocations: 0 / 2.181 GB, free: 34.67 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.006915/5.981, allocations: 1.845 MB / 2.183 GB, free: 34.59 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 4 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U,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 (84): * Single equations (assignments): 78 * 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,2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.003111/5.984, allocations: 1.498 MB / 2.185 GB, free: 34.32 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.01208/5.996, allocations: 3.491 MB / 2.188 GB, free: 34.16 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.697e-05/5.996, allocations: 6.406 kB / 2.188 GB, free: 34.16 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.003505/5.999, allocations: 1.036 MB / 2.189 GB, free: 34.14 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008103/6.007, allocations: 1.377 MB / 2.19 GB, free: 34.13 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01431/6.022, allocations: 6.105 MB / 2.196 GB, free: 31.53 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001309/6.023, allocations: 1.769 MB / 2.198 GB, free: 30.8 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.004137/6.027, allocations: 0.6881 MB / 2.199 GB, free: 30.72 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006657/6.028, allocations: 236.9 kB / 2.199 GB, free: 30.71 MB / 0.7136 GB Notification: Performance of SimCode: time 8.81e-07/6.028, allocations: 0 / 2.199 GB, free: 30.71 MB / 0.7136 GB Notification: Performance of Templates: time 0.1157/6.144, allocations: 71.66 MB / 2.269 GB, free: 26.23 MB / 0.7136 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1)