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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 99.62 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.001239/0.001239, allocations: 177.3 kB / 15.94 MB, free: 228 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.194/1.194, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8605/0.8605, allocations: 135.2 MB / 426.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002993/0.0002995, allocations: 8 kB / 0.5068 GB, free: 5.285 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1372, allocations: 82.31 MB / 0.5872 GB, free: 3.152 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic): time 0.3135/0.4507, allocations: 109.3 MB / 0.694 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.03092/0.4817, allocations: 21.38 MB / 0.7148 GB, free: 148 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004526/0.4862, allocations: 116.4 kB / 0.7149 GB, free: 96 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.005114/0.4914, allocations: 1.457 MB / 0.7164 GB, free: 15.27 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01373/0.5051, allocations: 4.182 MB / 0.7204 GB, free: 12.53 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.009777/0.5149, allocations: 3.134 MB / 0.7235 GB, free: 11 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01081/0.5257, allocations: 5.127 MB / 0.7285 GB, free: 7.82 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004816/0.5306, allocations: 2.301 MB / 0.7308 GB, free: 6.422 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006335/0.5369, allocations: 2.447 MB / 0.7332 GB, free: 4.934 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003696/0.5406, allocations: 1.59 MB / 0.7347 GB, free: 3.996 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0007922/0.5414, allocations: 129.4 kB / 0.7348 GB, free: 3.996 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005953/0.5474, allocations: 1.741 MB / 0.7365 GB, free: 3.297 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.001076/0.5485, allocations: 0.5691 MB / 0.7371 GB, free: 2.875 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0016/0.5501, allocations: 0.7406 MB / 0.7378 GB, free: 2.16 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.007613/0.5577, allocations: 4.573 MB / 0.7423 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.5578, allocations: 0 / 0.7423 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.072e-06/0.5578, allocations: 0 / 0.7423 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0002152/0.558, allocations: 0 / 0.7423 GB, free: 13.58 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.006983/0.565, allocations: 3.373 MB / 0.7456 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.817e-05/0.565, allocations: 16.03 kB / 0.7456 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009278/0.5743, allocations: 1.366 MB / 0.7469 GB, free: 8.719 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004878/0.5792, allocations: 2.721 MB / 0.7496 GB, free: 5.922 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002409/0.5795, allocations: 248 kB / 0.7498 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004852/0.5799, allocations: 240 kB / 0.75 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006925/0.5869, allocations: 3.163 MB / 0.7531 GB, free: 2.078 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.152e-05/0.5869, allocations: 11.88 kB / 0.7531 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002411/0.5872, allocations: 104 kB / 0.7532 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.16e-05/0.5873, allocations: 67.98 kB / 0.7533 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007859/0.5951, allocations: 2.811 MB / 0.756 GB, free: 15.07 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.01816/0.6133, allocations: 13.69 MB / 0.7694 GB, free: 0.7344 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00379/0.6171, allocations: 1.432 MB / 0.7708 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00166/0.6188, allocations: 1.782 MB / 0.7726 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003225/0.622, allocations: 1.154 MB / 0.7737 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=126): time 5.41e-06/0.6221, allocations: 0 / 0.7737 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of matching and sorting (n=130): time 0.02951/0.6516, allocations: 9.722 MB / 0.7832 GB, free: 2.031 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002221/0.6518, allocations: 0.5844 MB / 0.7837 GB, free: 1.312 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003581/0.6554, allocations: 2.694 MB / 0.7864 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002043/0.6556, allocations: 57.7 kB / 0.7864 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001025/0.6567, allocations: 1.345 MB / 0.7877 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003927/0.6571, allocations: 457.5 kB / 0.7882 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001172/0.6572, allocations: 36 kB / 0.7882 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.6573, allocations: 377.9 kB / 0.7886 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003262/0.6606, allocations: 0.9446 MB / 0.7895 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003596/0.6642, allocations: 1.538 MB / 0.791 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003414/0.6676, allocations: 1.086 MB / 0.7921 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.684e-06/0.6677, allocations: 4 kB / 0.7921 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.009468/0.6771, allocations: 3.085 MB / 0.7951 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.001634/0.6788, allocations: 5.251 MB / 0.8002 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.76e-05/0.6788, allocations: 12 kB / 0.8002 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002782/0.6816, allocations: 0.9304 MB / 0.8011 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00236/0.684, allocations: 475.2 kB / 0.8016 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002664/0.6867, allocations: 2.205 MB / 0.8037 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004034/0.6907, allocations: 395.9 kB / 0.8041 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001898/0.6909, allocations: 103.9 kB / 0.8042 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 8.967e-06/0.6909, allocations: 4 kB / 0.8042 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008557/0.6995, allocations: 2.806 MB / 0.807 GB, free: 8.758 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.76e-05/0.6995, allocations: 16.03 kB / 0.807 GB, free: 8.742 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00265/0.7022, allocations: 0.9404 MB / 0.8079 GB, free: 7.805 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002271/0.7045, allocations: 471.2 kB / 0.8083 GB, free: 7.344 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002629/0.7071, allocations: 2.187 MB / 0.8105 GB, free: 5.105 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003656/0.7108, allocations: 359.3 kB / 0.8108 GB, free: 4.754 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001799/0.711, allocations: 107.9 kB / 0.8109 GB, free: 4.648 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.00125/0.7122, allocations: 0.6959 MB / 0.8116 GB, free: 3.941 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000458/0.7127, allocations: 280.6 kB / 0.8119 GB, free: 3.664 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007541/0.7202, allocations: 2.37 MB / 0.8142 GB, free: 1.281 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.852e-05/0.7203, allocations: 19.98 kB / 0.8142 GB, free: 1.262 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.701e-05/0.7203, allocations: 4 kB / 0.8142 GB, free: 1.258 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006606/0.7269, allocations: 1.986 MB / 0.8161 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01307/0.74, allocations: 6.237 MB / 0.8222 GB, free: 8.801 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/0.74, allocations: 8 kB / 0.8222 GB, free: 8.793 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001618/0.7416, allocations: 291.8 kB / 0.8225 GB, free: 8.508 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002406/0.7441, allocations: 0.7962 MB / 0.8233 GB, free: 7.711 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.595e-05/0.7442, allocations: 47.94 kB / 0.8233 GB, free: 7.664 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002298/0.7465, allocations: 1.964 MB / 0.8253 GB, free: 5.648 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/0.7465, allocations: 11.94 kB / 0.8253 GB, free: 5.637 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01133/0.7578, allocations: 4.354 MB / 0.8295 GB, free: 0.8672 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001761/0.7596, allocations: 0.673 MB / 0.8302 GB, free: 176 kB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004561/0.7601, allocations: 36.06 kB / 0.8302 GB, free: 140 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002887/0.763, allocations: 279.5 kB / 0.8305 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001871/0.7632, allocations: 120.7 kB / 0.8306 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001282/0.7633, allocations: 72.02 kB / 0.8307 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.002923/0.7663, allocations: 1.898 MB / 0.8325 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.61e-07/0.7663, allocations: 0 / 0.8325 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.004046/0.7703, allocations: 1.503 MB / 0.834 GB, free: 12.27 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.001378/0.7717, allocations: 0.8203 MB / 0.8348 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0106/0.7823, allocations: 3.651 MB / 0.8384 GB, free: 7.797 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.553e-06/0.7823, allocations: 0.6875 kB / 0.8384 GB, free: 7.797 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.003178/0.7855, allocations: 1.062 MB / 0.8394 GB, free: 6.734 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00632/0.7918, allocations: 1.475 MB / 0.8408 GB, free: 5.281 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01143/0.8033, allocations: 6.013 MB / 0.8467 GB, free: 15.15 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001204/0.8045, allocations: 1.771 MB / 0.8484 GB, free: 13.35 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.003182/0.8077, allocations: 0.6609 MB / 0.8491 GB, free: 12.7 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005958/0.8083, allocations: 243.3 kB / 0.8493 GB, free: 12.46 MB / 0.67 GB Notification: Performance of SimCode: time 8.81e-07/0.8083, allocations: 0 / 0.8493 GB, free: 12.46 MB / 0.67 GB Notification: Performance of Templates: time 0.3547/1.163, allocations: 70.13 MB / 0.9178 GB, free: 194 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: