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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009387/0.0009387, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009737/0.0009737, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.199/1.199, allocations: 223.2 MB / 239.9 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.846/0.846, allocations: 135.2 MB / 426.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003486/0.0003486, allocations: 12 kB / 0.5068 GB, free: 5.234 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1409, allocations: 82.3 MB / 0.5872 GB, free: 3.105 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic): time 0.3294/0.4703, allocations: 109.3 MB / 0.6939 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02926/0.4996, allocations: 21.39 MB / 0.7148 GB, free: 40 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004088/0.5037, allocations: 112.6 kB / 0.7149 GB, free: 15.99 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.004759/0.5085, allocations: 1.461 MB / 0.7164 GB, free: 15.17 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0122/0.5207, allocations: 4.169 MB / 0.7204 GB, free: 12.43 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.009137/0.5299, allocations: 3.133 MB / 0.7235 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01134/0.5412, allocations: 5.125 MB / 0.7285 GB, free: 7.781 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004713/0.546, allocations: 2.303 MB / 0.7308 GB, free: 6.379 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006013/0.552, allocations: 2.445 MB / 0.7331 GB, free: 4.895 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003461/0.5555, allocations: 1.589 MB / 0.7347 GB, free: 3.957 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0007398/0.5562, allocations: 128.9 kB / 0.7348 GB, free: 3.957 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005759/0.562, allocations: 1.738 MB / 0.7365 GB, free: 3.262 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0007922/0.5628, allocations: 0.5773 MB / 0.7371 GB, free: 2.832 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001358/0.5642, allocations: 0.7355 MB / 0.7378 GB, free: 2.125 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.006047/0.5703, allocations: 4.573 MB / 0.7423 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.5703, allocations: 4 kB / 0.7423 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.144e-06/0.5703, allocations: 0 / 0.7423 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001014/0.5704, allocations: 0 / 0.7423 GB, free: 13.54 MB / 0.5606 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.006454/0.5769, allocations: 3.376 MB / 0.7456 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.5769, allocations: 8.031 kB / 0.7456 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009116/0.586, allocations: 1.369 MB / 0.7469 GB, free: 8.68 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0045/0.5906, allocations: 2.713 MB / 0.7496 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002049/0.5908, allocations: 255.9 kB / 0.7498 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003273/0.5911, allocations: 236 kB / 0.75 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006657/0.5978, allocations: 3.175 MB / 0.7531 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.702e-05/0.5978, allocations: 11.88 kB / 0.7531 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002578/0.5981, allocations: 100 kB / 0.7532 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.704e-05/0.5982, allocations: 67.94 kB / 0.7533 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008143/0.6064, allocations: 2.807 MB / 0.756 GB, free: 15.03 MB / 0.5762 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.0177/0.6241, allocations: 13.68 MB / 0.7694 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003809/0.6279, allocations: 1.439 MB / 0.7708 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001561/0.6295, allocations: 1.786 MB / 0.7726 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003162/0.6327, allocations: 1.147 MB / 0.7737 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=126): time 3.877e-06/0.6327, allocations: 0 / 0.7737 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of matching and sorting (n=130): time 0.02811/0.6608, allocations: 9.73 MB / 0.7832 GB, free: 1.984 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002243/0.6611, allocations: 0.5766 MB / 0.7837 GB, free: 1.273 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003537/0.6646, allocations: 2.69 MB / 0.7864 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001715/0.6648, allocations: 65.7 kB / 0.7864 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001108/0.6659, allocations: 1.341 MB / 0.7877 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004065/0.6663, allocations: 453.5 kB / 0.7882 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.6664, allocations: 36 kB / 0.7882 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.6666, allocations: 381.8 kB / 0.7886 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003213/0.6698, allocations: 0.9407 MB / 0.7895 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003573/0.6734, allocations: 1.538 MB / 0.791 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003303/0.6767, allocations: 1.09 MB / 0.7921 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/0.6767, allocations: 4 kB / 0.7921 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.009047/0.6858, allocations: 3.09 MB / 0.7951 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.00166/0.6875, allocations: 5.244 MB / 0.8002 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.646e-05/0.6875, allocations: 12 kB / 0.8002 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00277/0.6903, allocations: 0.9387 MB / 0.8011 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002348/0.6926, allocations: 475.2 kB / 0.8016 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00269/0.6953, allocations: 2.197 MB / 0.8037 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003897/0.6992, allocations: 398.1 kB / 0.8041 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001869/0.6994, allocations: 108.1 kB / 0.8042 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.251e-06/0.6995, allocations: 0 / 0.8042 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008594/0.7081, allocations: 2.818 MB / 0.807 GB, free: 8.715 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-05/0.7081, allocations: 12 kB / 0.807 GB, free: 8.703 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002673/0.7108, allocations: 0.9398 MB / 0.8079 GB, free: 7.762 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00232/0.7131, allocations: 475.2 kB / 0.8083 GB, free: 7.297 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002636/0.7157, allocations: 2.176 MB / 0.8105 GB, free: 5.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003684/0.7194, allocations: 363.3 kB / 0.8108 GB, free: 4.715 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001992/0.7197, allocations: 107.9 kB / 0.8109 GB, free: 4.609 MB / 0.6231 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,$PRE.heaPum1.com.isOn,heaPum1.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count,realToInteger.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (168): * Single equations (assignments): 165 * 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.001349/0.721, allocations: 0.692 MB / 0.8116 GB, free: 3.906 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00054/0.7216, allocations: 288.6 kB / 0.8119 GB, free: 3.621 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007837/0.7294, allocations: 2.369 MB / 0.8142 GB, free: 1.238 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.55e-05/0.7295, allocations: 16 kB / 0.8142 GB, free: 1.223 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/0.7295, allocations: 4 kB / 0.8142 GB, free: 1.219 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00671/0.7362, allocations: 1.99 MB / 0.8161 GB, free: 15.17 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01326/0.7495, allocations: 6.241 MB / 0.8222 GB, free: 8.754 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/0.7495, allocations: 4 kB / 0.8222 GB, free: 8.75 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001659/0.7512, allocations: 284.2 kB / 0.8225 GB, free: 8.473 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002446/0.7536, allocations: 0.7964 MB / 0.8233 GB, free: 7.676 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001068/0.7538, allocations: 59.88 kB / 0.8233 GB, free: 7.617 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0024/0.7562, allocations: 1.956 MB / 0.8253 GB, free: 5.609 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.495e-05/0.7562, allocations: 16.09 kB / 0.8253 GB, free: 5.594 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01163/0.7678, allocations: 4.35 MB / 0.8295 GB, free: 0.8281 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00148/0.7693, allocations: 0.673 MB / 0.8302 GB, free: 136 kB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004186/0.7698, allocations: 36 kB / 0.8302 GB, free: 100 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002905/0.7727, allocations: 283.6 kB / 0.8305 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001839/0.7729, allocations: 120.6 kB / 0.8306 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001468/0.773, allocations: 76.03 kB / 0.8307 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.002791/0.7758, allocations: 1.895 MB / 0.8325 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.71e-07/0.7758, allocations: 0 / 0.8325 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00381/0.7796, allocations: 1.503 MB / 0.834 GB, free: 12.23 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 2 (heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum1.com.isOn,N.T_start,N.count,realToInteger.y) * 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,4 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.001358/0.781, allocations: 0.8055 MB / 0.8348 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01072/0.7917, allocations: 3.655 MB / 0.8383 GB, free: 7.762 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/0.7918, allocations: 4.438 kB / 0.8383 GB, free: 7.758 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.003175/0.7949, allocations: 1.059 MB / 0.8394 GB, free: 6.699 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005774/0.8007, allocations: 1.488 MB / 0.8408 GB, free: 5.234 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01083/0.8116, allocations: 6.005 MB / 0.8467 GB, free: 15.11 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001133/0.8127, allocations: 1.779 MB / 0.8484 GB, free: 13.3 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002881/0.8156, allocations: 0.6595 MB / 0.8491 GB, free: 12.65 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005213/0.8162, allocations: 235.2 kB / 0.8493 GB, free: 12.42 MB / 0.67 GB Notification: Performance of SimCode: time 4.91e-07/0.8162, allocations: 0 / 0.8493 GB, free: 12.42 MB / 0.67 GB Notification: Performance of Templates: time 0.3288/1.145, allocations: 70.12 MB / 0.9178 GB, free: 191.5 MB / 0.67 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: