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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.001125/0.001125, allocations: 89.66 kB / 15.36 MB, free: 0.7383 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.01036/0.01036, allocations: 174.1 kB / 16.27 MB, free: 6.613 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.415/1.415, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7947/0.7947, allocations: 132.4 MB / 423.8 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003668/0.0003667, allocations: 8 kB / 0.504 GB, free: 3.891 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4803/0.4806, allocations: 81.58 MB / 0.5837 GB, free: 4.031 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic): time 0.1391/0.6198, allocations: 127.9 MB / 0.7085 GB, free: 208 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.03923/0.659, allocations: 24.96 MB / 0.7329 GB, free: 7.184 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007102/0.6662, allocations: 123.2 kB / 0.733 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.005388/0.6716, allocations: 1.414 MB / 0.7344 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01497/0.6866, allocations: 4.21 MB / 0.7385 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.01012/0.6967, allocations: 3.169 MB / 0.7416 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01611/0.7129, allocations: 11.44 MB / 0.7528 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006079/0.719, allocations: 2.546 MB / 0.7553 GB, free: 232 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008528/0.7275, allocations: 2.769 MB / 0.758 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005302/0.7329, allocations: 2.321 MB / 0.7602 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001491/0.7344, allocations: 132 kB / 0.7604 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008903/0.7433, allocations: 2.472 MB / 0.7628 GB, free: 8.508 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001444/0.7448, allocations: 0.626 MB / 0.7634 GB, free: 7.879 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.003885/0.7487, allocations: 1.723 MB / 0.7651 GB, free: 6.141 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01095/0.7597, allocations: 6.059 MB / 0.771 GB, free: 64 kB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.7597, allocations: 0 / 0.771 GB, free: 64 kB / 0.5919 GB Notification: Performance of FrontEnd: time 2.255e-06/0.7597, allocations: 0 / 0.771 GB, free: 64 kB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001832/0.7599, allocations: 4 kB / 0.771 GB, free: 60 kB / 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.008434/0.7683, allocations: 3.378 MB / 0.7743 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.7684, allocations: 12.03 kB / 0.7743 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01066/0.7791, allocations: 1.373 MB / 0.7757 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006353/0.7855, allocations: 2.93 MB / 0.7785 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003789/0.7859, allocations: 248 kB / 0.7787 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006993/0.7866, allocations: 240 kB / 0.779 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009555/0.7962, allocations: 3.214 MB / 0.7821 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.341e-05/0.7963, allocations: 7.938 kB / 0.7821 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004153/0.7967, allocations: 107.9 kB / 0.7822 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-05/0.7968, allocations: 63.98 kB / 0.7823 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009772/0.8066, allocations: 2.835 MB / 0.7851 GB, free: 1.258 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.023/0.8296, allocations: 13.61 MB / 0.7983 GB, free: 2.984 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004416/0.834, allocations: 1.431 MB / 0.7997 GB, free: 1.555 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003044/0.8371, allocations: 0.8893 MB / 0.8006 GB, free: 0.6641 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001901/0.839, allocations: 1.785 MB / 0.8024 GB, free: 14.49 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003641/0.8427, allocations: 1.173 MB / 0.8035 GB, free: 13.26 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=126): time 6.192e-06/0.8427, allocations: 0 / 0.8035 GB, free: 13.26 MB / 0.6387 GB Notification: Performance of matching and sorting (n=132): time 0.03629/0.879, allocations: 9.81 MB / 0.8131 GB, free: 3.285 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003338/0.8794, allocations: 0.5843 MB / 0.8136 GB, free: 2.566 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.321/1.2, allocations: 2.611 MB / 0.8162 GB, free: 210.2 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0004682/1.201, allocations: 66.5 kB / 0.8163 GB, free: 210.2 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001799/1.203, allocations: 1.338 MB / 0.8176 GB, free: 209.8 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006047/1.203, allocations: 464.3 kB / 0.818 GB, free: 209.8 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002806/1.204, allocations: 143.8 kB / 0.8182 GB, free: 209.7 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 4.439e-05/1.204, allocations: 309.4 kB / 0.8184 GB, free: 209.4 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003814/1.208, allocations: 0.9595 MB / 0.8194 GB, free: 209.1 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004116/1.212, allocations: 1.564 MB / 0.8209 GB, free: 208.1 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007044/1.219, allocations: 2.232 MB / 0.8231 GB, free: 207 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.22e-05/1.219, allocations: 3.312 kB / 0.8231 GB, free: 207 MB / 0.6387 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.01215/1.231, allocations: 3.175 MB / 0.8262 GB, free: 205.9 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002648/1.231, allocations: 498.6 kB / 0.8267 GB, free: 205.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.571e-05/1.231, allocations: 16.61 kB / 0.8267 GB, free: 205.3 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003124/1.234, allocations: 0.9346 MB / 0.8276 GB, free: 205.2 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002732/1.237, allocations: 480.7 kB / 0.8281 GB, free: 205.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002992/1.24, allocations: 2.197 MB / 0.8302 GB, free: 203.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004962/1.245, allocations: 399.4 kB / 0.8306 GB, free: 203.5 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000406/1.246, allocations: 110.3 kB / 0.8307 GB, free: 203.5 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/1.246, allocations: 7 kB / 0.8307 GB, free: 203.5 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01136/1.257, allocations: 2.881 MB / 0.8335 GB, free: 202.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.166e-05/1.257, allocations: 11.72 kB / 0.8335 GB, free: 202.6 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00319/1.26, allocations: 0.9249 MB / 0.8344 GB, free: 202.4 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002826/1.263, allocations: 473.7 kB / 0.8349 GB, free: 202.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003092/1.266, allocations: 2.192 MB / 0.837 GB, free: 200.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004929/1.271, allocations: 370.2 kB / 0.8374 GB, free: 200.8 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003766/1.272, allocations: 105.7 kB / 0.8375 GB, free: 200.8 MB / 0.6387 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.001936/1.273, allocations: 0.7073 MB / 0.8382 GB, free: 200.3 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001054/1.275, allocations: 283.9 kB / 0.8384 GB, free: 200.1 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008018/1.283, allocations: 2.304 MB / 0.8407 GB, free: 199.3 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-05/1.283, allocations: 18.97 kB / 0.8407 GB, free: 199.3 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.66e-05/1.283, allocations: 11.14 kB / 0.8407 GB, free: 199.3 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006227/1.289, allocations: 1.936 MB / 0.8426 GB, free: 198.5 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01416/1.303, allocations: 6.274 MB / 0.8487 GB, free: 194.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.621e-05/1.303, allocations: 3.938 kB / 0.8487 GB, free: 194.2 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002008/1.305, allocations: 300.7 kB / 0.849 GB, free: 194.1 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002875/1.308, allocations: 0.7915 MB / 0.8498 GB, free: 193.8 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001972/1.308, allocations: 55.59 kB / 0.8498 GB, free: 193.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00241/1.311, allocations: 1.962 MB / 0.8518 GB, free: 192.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.554e-06/1.311, allocations: 13.53 kB / 0.8518 GB, free: 192.2 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01123/1.322, allocations: 3.559 MB / 0.8552 GB, free: 190.2 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001619/1.324, allocations: 0.6465 MB / 0.8559 GB, free: 189.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008632/1.325, allocations: 50.36 kB / 0.8559 GB, free: 189.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003734/1.328, allocations: 279.2 kB / 0.8562 GB, free: 189.5 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002599/1.329, allocations: 115.2 kB / 0.8563 GB, free: 189.4 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001964/1.329, allocations: 78.84 kB / 0.8564 GB, free: 189.4 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00356/1.332, allocations: 1.84 MB / 0.8582 GB, free: 188.4 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.11e-07/1.332, allocations: 0 / 0.8582 GB, free: 188.4 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.005472/1.338, allocations: 1.484 MB / 0.8596 GB, free: 187.5 MB / 0.6387 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.002058/1.34, allocations: 0.7973 MB / 0.8604 GB, free: 186.8 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01236/1.352, allocations: 3.697 MB / 0.864 GB, free: 183.1 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-05/1.352, allocations: 4.438 kB / 0.864 GB, free: 183.1 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.003613/1.356, allocations: 1.067 MB / 0.8651 GB, free: 182.1 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01232/1.368, allocations: 1.577 MB / 0.8666 GB, free: 180.6 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0138/1.382, allocations: 6.324 MB / 0.8728 GB, free: 174.2 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001681/1.384, allocations: 1.729 MB / 0.8745 GB, free: 172.4 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.004287/1.388, allocations: 0.6537 MB / 0.8751 GB, free: 171.7 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008508/1.389, allocations: 251.3 kB / 0.8753 GB, free: 171.5 MB / 0.6387 GB Notification: Performance of SimCode: time 1.082e-06/1.389, allocations: 0 / 0.8753 GB, free: 171.5 MB / 0.6387 GB Notification: Performance of Templates: time 0.1017/1.491, allocations: 74.26 MB / 0.9479 GB, free: 98.12 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.makefile (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)