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.0009728/0.0009729, allocations: 99.19 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 182.2 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 223.3 MB / 241 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9595/0.9595, allocations: 135.3 MB / 427.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003698/0.0003702, allocations: 12.81 kB / 0.5082 GB, free: 4.77 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1936/0.194, allocations: 82.32 MB / 0.5886 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic): time 0.4271/0.6212, allocations: 127.9 MB / 0.7135 GB, free: 60 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0369/0.6582, allocations: 24.95 MB / 0.7378 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006374/0.6646, allocations: 123.6 kB / 0.738 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.005369/0.67, allocations: 1.421 MB / 0.7394 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01448/0.6845, allocations: 4.195 MB / 0.7434 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00988/0.6944, allocations: 3.178 MB / 0.7466 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01522/0.7096, allocations: 11.44 MB / 0.7577 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005517/0.7152, allocations: 2.546 MB / 0.7602 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007332/0.7225, allocations: 2.772 MB / 0.7629 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00496/0.7275, allocations: 2.313 MB / 0.7652 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001133/0.7287, allocations: 132 kB / 0.7653 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007783/0.7365, allocations: 2.48 MB / 0.7677 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001565/0.7381, allocations: 0.626 MB / 0.7683 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00419/0.7423, allocations: 1.72 MB / 0.77 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.008071/0.7504, allocations: 4.846 MB / 0.7747 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.7505, allocations: 0 / 0.7747 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.884e-06/0.7505, allocations: 0 / 0.7747 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001882/0.7507, allocations: 0 / 0.7747 GB, free: 13.58 MB / 0.5919 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.008522/0.7592, allocations: 3.394 MB / 0.7781 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.7593, allocations: 12.03 kB / 0.7781 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01024/0.7695, allocations: 1.369 MB / 0.7794 GB, free: 8.703 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006436/0.776, allocations: 2.926 MB / 0.7823 GB, free: 5.699 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003701/0.7764, allocations: 256 kB / 0.7825 GB, free: 5.434 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000725/0.7771, allocations: 236 kB / 0.7827 GB, free: 5.203 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008864/0.786, allocations: 3.21 MB / 0.7859 GB, free: 1.805 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.42e-05/0.7861, allocations: 3.938 kB / 0.7859 GB, free: 1.801 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004487/0.7866, allocations: 112 kB / 0.786 GB, free: 1.691 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-05/0.7867, allocations: 67.94 kB / 0.786 GB, free: 1.625 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009264/0.796, allocations: 2.827 MB / 0.7888 GB, free: 14.78 MB / 0.6075 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.02279/0.8188, allocations: 13.63 MB / 0.8021 GB, free: 0.5078 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004299/0.8231, allocations: 1.427 MB / 0.8035 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00306/0.8262, allocations: 0.8925 MB / 0.8044 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001939/0.8282, allocations: 1.777 MB / 0.8061 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00378/0.832, allocations: 1.175 MB / 0.8073 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=126): time 5.991e-06/0.832, allocations: 0 / 0.8073 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of matching and sorting (n=132): time 0.03606/0.8681, allocations: 9.824 MB / 0.8169 GB, free: 0.7969 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002775/0.8684, allocations: 0.5766 MB / 0.8174 GB, free: 88 kB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005156/0.8736, allocations: 2.612 MB / 0.82 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0003995/0.874, allocations: 61.7 kB / 0.82 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001398/0.8754, allocations: 1.352 MB / 0.8213 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007267/0.8762, allocations: 457.5 kB / 0.8218 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000371/0.8766, allocations: 149.6 kB / 0.8219 GB, free: 11.42 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.8767, allocations: 305.1 kB / 0.8222 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003838/0.8805, allocations: 0.9642 MB / 0.8232 GB, free: 10.15 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004318/0.8849, allocations: 1.554 MB / 0.8247 GB, free: 8.355 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007365/0.8923, allocations: 2.235 MB / 0.8269 GB, free: 5.945 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.948e-05/0.8923, allocations: 4 kB / 0.8269 GB, free: 5.941 MB / 0.6387 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.01252/0.9049, allocations: 3.175 MB / 0.83 GB, free: 2.742 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004021/0.9053, allocations: 0.4901 MB / 0.8304 GB, free: 2.074 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.321e-05/0.9054, allocations: 12 kB / 0.8304 GB, free: 2.062 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003299/0.9087, allocations: 0.9323 MB / 0.8314 GB, free: 1.137 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002738/0.9114, allocations: 475.5 kB / 0.8318 GB, free: 0.6719 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00348/0.9149, allocations: 2.201 MB / 0.834 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005004/0.92, allocations: 401.2 kB / 0.8343 GB, free: 14.03 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004575/0.9205, allocations: 107.9 kB / 0.8344 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/0.9205, allocations: 11.94 kB / 0.8345 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01136/0.9319, allocations: 2.884 MB / 0.8373 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.613e-05/0.9319, allocations: 12 kB / 0.8373 GB, free: 11 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003192/0.9352, allocations: 0.9272 MB / 0.8382 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002718/0.9379, allocations: 475.2 kB / 0.8386 GB, free: 9.613 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003362/0.9413, allocations: 2.192 MB / 0.8408 GB, free: 7.371 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004539/0.9458, allocations: 359.4 kB / 0.8411 GB, free: 7.02 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004368/0.9463, allocations: 107.9 kB / 0.8412 GB, free: 6.914 MB / 0.6544 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 (realToInteger.y,N.count,$PRE.N.count,N.T_start,$PRE.N.T_start,heaPum1.com.isOn,$PRE.heaPum1.com.isOn,heaPum.com.isOn,$PRE.heaPum.com.isOn,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,23), (4,25)} Notification: Performance of prepare postOptimizeDAE: time 0.001897/0.9482, allocations: 0.6942 MB / 0.8419 GB, free: 6.211 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009204/0.9492, allocations: 284.6 kB / 0.8422 GB, free: 5.93 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008189/0.9574, allocations: 2.322 MB / 0.8444 GB, free: 3.586 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.412e-05/0.9574, allocations: 19.94 kB / 0.8445 GB, free: 3.566 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.143e-05/0.9575, allocations: 0 / 0.8445 GB, free: 3.566 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006487/0.964, allocations: 1.936 MB / 0.8464 GB, free: 1.578 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01622/0.9802, allocations: 6.278 MB / 0.8525 GB, free: 11.13 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.039e-05/0.9803, allocations: 8.656 kB / 0.8525 GB, free: 11.12 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001898/0.9822, allocations: 299.5 kB / 0.8528 GB, free: 10.83 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002931/0.9851, allocations: 0.7933 MB / 0.8536 GB, free: 10.04 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002835/0.9855, allocations: 55.88 kB / 0.8536 GB, free: 9.98 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002892/0.9884, allocations: 1.965 MB / 0.8555 GB, free: 7.965 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.214e-05/0.9884, allocations: 15.88 kB / 0.8555 GB, free: 7.949 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01266/1.001, allocations: 3.548 MB / 0.859 GB, free: 4.285 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002039/1.003, allocations: 0.6495 MB / 0.8596 GB, free: 3.613 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009313/1.004, allocations: 43.98 kB / 0.8597 GB, free: 3.57 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003908/1.008, allocations: 279.6 kB / 0.86 GB, free: 3.297 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002851/1.008, allocations: 112.6 kB / 0.8601 GB, free: 3.188 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002551/1.009, allocations: 79.91 kB / 0.8601 GB, free: 3.109 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.004405/1.013, allocations: 1.84 MB / 0.8619 GB, free: 1.27 MB / 0.67 GB Notification: Performance of sort global known variables: time 4.61e-07/1.013, allocations: 0 / 0.8619 GB, free: 1.27 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.3151/1.328, allocations: 1.479 MB / 0.8634 GB, free: 210.2 MB / 0.67 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 (86): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,17), (4,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001997/1.33, allocations: 0.8032 MB / 0.8642 GB, free: 210.1 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01174/1.342, allocations: 3.699 MB / 0.8678 GB, free: 209.9 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-05/1.342, allocations: 3.5 kB / 0.8678 GB, free: 209.9 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.003372/1.345, allocations: 1.01 MB / 0.8688 GB, free: 209.8 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01138/1.357, allocations: 1.574 MB / 0.8703 GB, free: 209.8 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01373/1.371, allocations: 6.361 MB / 0.8765 GB, free: 206.9 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001092/1.372, allocations: 1.712 MB / 0.8782 GB, free: 206.2 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001154/1.373, allocations: 289.3 kB / 0.8785 GB, free: 206.2 MB / 0.67 GB Notification: Performance of SimCode: time 8.11e-07/1.373, allocations: 0 / 0.8785 GB, free: 206.2 MB / 0.67 GB Notification: Performance of Templates: time 0.1035/1.476, allocations: 82.12 MB / 0.9587 GB, free: 162.2 MB / 0.67 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)