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.00165/0.00165, allocations: 110.5 kB / 16.41 MB, free: 6.465 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.001877/0.001877, allocations: 190.7 kB / 17.35 MB, free: 5.711 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.378/1.378, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8474/0.8474, allocations: 135.1 MB / 426.3 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001409, allocations: 58.94 kB / 0.5863 GB, free: 21.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1596, allocations: 80.93 MB / 0.6653 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic): time 0.499/0.6586, allocations: 130.8 MB / 0.7931 GB, free: 19.38 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0373/0.696, allocations: 25.05 MB / 0.8175 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007597/0.7036, allocations: 139.2 kB / 0.8177 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.005584/0.7093, allocations: 1.79 MB / 0.8194 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0146/0.7239, allocations: 4.77 MB / 0.8241 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01023/0.7341, allocations: 3.524 MB / 0.8275 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01412/0.7483, allocations: 9.027 MB / 0.8363 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006602/0.7549, allocations: 3.207 MB / 0.8394 GB, free: 2.836 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01054/0.7655, allocations: 3.546 MB / 0.8429 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006237/0.7717, allocations: 2.496 MB / 0.8453 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001864/0.7736, allocations: 392 kB / 0.8457 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01022/0.7839, allocations: 2.892 MB / 0.8485 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001971/0.7859, allocations: 0.8838 MB / 0.8494 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.004978/0.7909, allocations: 1.995 MB / 0.8514 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01429/0.8052, allocations: 6.407 MB / 0.8576 GB, free: 0.8477 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.8053, allocations: 0 / 0.8576 GB, free: 0.8477 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.654e-06/0.8053, allocations: 4 kB / 0.8576 GB, free: 0.8438 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001999/0.8055, allocations: 0 / 0.8576 GB, free: 0.8438 MB / 0.6075 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.0105/0.816, allocations: 4.207 MB / 0.8617 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/0.816, allocations: 9.109 kB / 0.8617 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009936/0.826, allocations: 1.313 MB / 0.863 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006043/0.8321, allocations: 2.995 MB / 0.8659 GB, free: 8.129 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003455/0.8324, allocations: 252 kB / 0.8662 GB, free: 7.867 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006796/0.8331, allocations: 244 kB / 0.8664 GB, free: 7.629 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00903/0.8422, allocations: 3.153 MB / 0.8695 GB, free: 4.289 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.422e-05/0.8423, allocations: 3.938 kB / 0.8695 GB, free: 4.285 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005018/0.8428, allocations: 107.9 kB / 0.8696 GB, free: 4.18 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.37e-05/0.8429, allocations: 67.98 kB / 0.8697 GB, free: 4.113 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009648/0.8525, allocations: 2.76 MB / 0.8724 GB, free: 1.336 MB / 0.6231 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.02254/0.8751, allocations: 13.57 MB / 0.8856 GB, free: 3.113 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004272/0.8794, allocations: 1.412 MB / 0.887 GB, free: 1.691 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003078/0.8825, allocations: 0.8534 MB / 0.8878 GB, free: 0.8359 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002195/0.8847, allocations: 1.782 MB / 0.8896 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003694/0.8885, allocations: 1.126 MB / 0.8907 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=126): time 6.863e-06/0.8885, allocations: 0 / 0.8907 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of matching and sorting (n=132): time 0.03421/0.9227, allocations: 9.835 MB / 0.9003 GB, free: 3.512 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003217/0.9231, allocations: 0.5843 MB / 0.9008 GB, free: 2.789 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004468/0.9275, allocations: 2.644 MB / 0.9034 GB, free: 132 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0004395/0.928, allocations: 65.7 kB / 0.9035 GB, free: 60 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001289/0.9293, allocations: 1.363 MB / 0.9048 GB, free: 14.68 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005514/0.9299, allocations: 483.9 kB / 0.9053 GB, free: 14.21 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007442/0.9306, allocations: 467.1 kB / 0.9057 GB, free: 13.74 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.9307, allocations: 309.1 kB / 0.906 GB, free: 13.44 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003521/0.9343, allocations: 0.9347 MB / 0.9069 GB, free: 12.5 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004102/0.9384, allocations: 1.522 MB / 0.9084 GB, free: 10.73 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006889/0.9453, allocations: 2.165 MB / 0.9105 GB, free: 8.391 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-05/0.9453, allocations: 4 kB / 0.9105 GB, free: 8.387 MB / 0.67 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.01192/0.9573, allocations: 3.102 MB / 0.9136 GB, free: 5.262 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 6.293e-05/0.9574, allocations: 44.03 kB / 0.9136 GB, free: 5.215 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.212e-05/0.9574, allocations: 12 kB / 0.9136 GB, free: 5.203 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002989/0.9604, allocations: 0.9108 MB / 0.9145 GB, free: 4.293 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002579/0.963, allocations: 463.2 kB / 0.915 GB, free: 3.84 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003101/0.9661, allocations: 2.169 MB / 0.9171 GB, free: 1.621 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004262/0.9704, allocations: 287.6 kB / 0.9173 GB, free: 1.34 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002478/0.9706, allocations: 107.9 kB / 0.9174 GB, free: 1.234 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004332/0.975, allocations: 1.425 MB / 0.9188 GB, free: 15.8 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003824/0.9788, allocations: 1.511 MB / 0.9203 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006408/0.9852, allocations: 2.13 MB / 0.9224 GB, free: 11.75 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.115e-05/0.9853, allocations: 4 kB / 0.9224 GB, free: 11.74 MB / 0.6856 GB Notification: Performance of matching and sorting (n=225) (initialization_lambda0): time 0.01114/0.9964, allocations: 3.091 MB / 0.9254 GB, free: 8.629 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.455e-05/0.9965, allocations: 41.64 kB / 0.9255 GB, free: 8.582 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.144e-05/0.9965, allocations: 12 kB / 0.9255 GB, free: 8.57 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002924/0.9994, allocations: 0.9082 MB / 0.9264 GB, free: 7.66 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00257/1.002, allocations: 463.2 kB / 0.9268 GB, free: 7.207 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003102/1.005, allocations: 2.167 MB / 0.9289 GB, free: 4.988 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004351/1.01, allocations: 288.1 kB / 0.9292 GB, free: 4.707 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003165/1.01, allocations: 103.9 kB / 0.9293 GB, free: 4.605 MB / 0.6856 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.0007056/1.011, allocations: 307.9 kB / 0.9296 GB, free: 4.297 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001058/1.012, allocations: 302.1 kB / 0.9299 GB, free: 4 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007624/1.019, allocations: 2.232 MB / 0.932 GB, free: 1.75 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006034/1.025, allocations: 1.858 MB / 0.9339 GB, free: 15.83 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-05/1.025, allocations: 0 / 0.9339 GB, free: 15.83 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001509/1.027, allocations: 0.5848 MB / 0.9344 GB, free: 15.23 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000795/1.028, allocations: 32 kB / 0.9345 GB, free: 15.2 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003446/1.031, allocations: 207.6 kB / 0.9347 GB, free: 14.99 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002452/1.031, allocations: 104.8 kB / 0.9348 GB, free: 14.89 MB / 0.7012 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01071/1.042, allocations: 3.05 MB / 0.9377 GB, free: 11.82 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01043/1.053, allocations: 3.639 MB / 0.9413 GB, free: 8.168 MB / 0.7012 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002926/1.056, allocations: 0.8461 MB / 0.9421 GB, free: 7.328 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.003774/1.059, allocations: 1.835 MB / 0.9439 GB, free: 5.492 MB / 0.7012 GB Notification: Performance of Backend: time 6.31e-07/1.059, allocations: 0 / 0.9439 GB, free: 5.492 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01458/1.074, allocations: 3.949 MB / 0.9478 GB, free: 1.535 MB / 0.7012 GB Notification: Performance of SimCode: time 0.01332/1.087, allocations: 6.47 MB / 0.9541 GB, free: 11.04 MB / 0.7169 GB Notification: Performance of Templates: time 0.1434/1.231, allocations: 90.52 MB / 1.042 GB, free: 1.059 MB / 0.795 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)