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.001446/0.001446, allocations: 112.1 kB / 16.37 MB, free: 6.344 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.001437/0.001437, allocations: 185.5 kB / 17.3 MB, free: 5.898 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.334/1.334, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.767/0.767, allocations: 132.2 MB / 423.4 MB, free: 6.641 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 59.66 kB / 0.5819 GB, free: 23.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1782/0.1796, allocations: 80.21 MB / 0.6603 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic): time 0.6215/0.8011, allocations: 130.8 MB / 0.788 GB, free: 19.68 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03398/0.8351, allocations: 25.05 MB / 0.8125 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007691/0.8428, allocations: 139.1 kB / 0.8126 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.005739/0.8487, allocations: 1.733 MB / 0.8143 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01433/0.863, allocations: 4.549 MB / 0.8188 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.01011/0.8731, allocations: 3.499 MB / 0.8222 GB, free: 148 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01397/0.8871, allocations: 9.012 MB / 0.831 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005381/0.8926, allocations: 3.213 MB / 0.8341 GB, free: 8.684 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009652/0.9023, allocations: 3.453 MB / 0.8375 GB, free: 6.594 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006012/0.9083, allocations: 2.488 MB / 0.8399 GB, free: 4.496 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001366/0.9097, allocations: 388 kB / 0.8403 GB, free: 4.117 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008683/0.9184, allocations: 2.89 MB / 0.8431 GB, free: 1.223 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001545/0.92, allocations: 0.8877 MB / 0.844 GB, free: 340 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.003837/0.9238, allocations: 2.003 MB / 0.8459 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01239/0.9362, allocations: 6.371 MB / 0.8521 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.655e-06/0.9363, allocations: 0 / 0.8521 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.635e-06/0.9363, allocations: 0 / 0.8521 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001615/0.9365, allocations: 0 / 0.8521 GB, free: 7.938 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.009392/0.9458, allocations: 4.095 MB / 0.8561 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.9459, allocations: 8.031 kB / 0.8562 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00998/0.9559, allocations: 1.287 MB / 0.8574 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006075/0.962, allocations: 2.973 MB / 0.8603 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002669/0.9623, allocations: 263.9 kB / 0.8606 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005373/0.9629, allocations: 243.7 kB / 0.8608 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007967/0.9709, allocations: 3.16 MB / 0.8639 GB, free: 11.53 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.241e-05/0.971, allocations: 3.938 kB / 0.8639 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002963/0.9713, allocations: 107.9 kB / 0.864 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.989e-05/0.9713, allocations: 67.98 kB / 0.8641 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008929/0.9803, allocations: 2.749 MB / 0.8667 GB, free: 8.586 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.03079/1.011, allocations: 13.57 MB / 0.88 GB, free: 10.37 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00621/1.017, allocations: 1.4 MB / 0.8814 GB, free: 8.961 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004254/1.022, allocations: 0.8574 MB / 0.8822 GB, free: 8.102 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00246/1.024, allocations: 1.781 MB / 0.8839 GB, free: 5.934 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005188/1.029, allocations: 1.134 MB / 0.885 GB, free: 4.73 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=126): time 5.952e-06/1.029, allocations: 0 / 0.885 GB, free: 4.73 MB / 0.6387 GB Notification: Performance of matching and sorting (n=132): time 0.04769/1.077, allocations: 9.541 MB / 0.8944 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000311/1.077, allocations: 0.5766 MB / 0.8949 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005044/1.083, allocations: 2.644 MB / 0.8975 GB, free: 7.652 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0005362/1.083, allocations: 65.7 kB / 0.8976 GB, free: 7.582 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001703/1.085, allocations: 1.339 MB / 0.8989 GB, free: 6.234 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009361/1.086, allocations: 457.5 kB / 0.8993 GB, free: 5.781 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009418/1.087, allocations: 466.8 kB / 0.8998 GB, free: 5.316 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001288/1.087, allocations: 309.1 kB / 0.9 GB, free: 5.012 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003538/1.09, allocations: 0.9337 MB / 0.901 GB, free: 4.074 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00409/1.095, allocations: 1.515 MB / 0.9024 GB, free: 2.316 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007149/1.102, allocations: 2.165 MB / 0.9046 GB, free: 15.97 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.899e-05/1.102, allocations: 8 kB / 0.9046 GB, free: 15.96 MB / 0.67 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.01304/1.115, allocations: 3.093 MB / 0.9076 GB, free: 12.84 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 7.574e-05/1.115, allocations: 39.27 kB / 0.9076 GB, free: 12.8 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.662e-05/1.115, allocations: 15.94 kB / 0.9076 GB, free: 12.78 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003264/1.118, allocations: 0.9169 MB / 0.9085 GB, free: 11.87 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002776/1.121, allocations: 467.2 kB / 0.909 GB, free: 11.41 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003539/1.125, allocations: 2.161 MB / 0.9111 GB, free: 9.203 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004859/1.129, allocations: 279.6 kB / 0.9114 GB, free: 8.93 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004937/1.13, allocations: 111.9 kB / 0.9115 GB, free: 8.82 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005116/1.135, allocations: 1.43 MB / 0.9129 GB, free: 7.387 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004337/1.14, allocations: 1.503 MB / 0.9143 GB, free: 5.645 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007184/1.147, allocations: 2.134 MB / 0.9164 GB, free: 3.336 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.694e-05/1.147, allocations: 4 kB / 0.9164 GB, free: 3.332 MB / 0.67 GB Notification: Performance of matching and sorting (n=225) (initialization_lambda0): time 0.01268/1.159, allocations: 3.074 MB / 0.9194 GB, free: 240 kB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 6.116e-05/1.16, allocations: 37.7 kB / 0.9194 GB, free: 196 kB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.313e-05/1.16, allocations: 16.12 kB / 0.9195 GB, free: 180 kB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003126/1.163, allocations: 0.9144 MB / 0.9204 GB, free: 15.25 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002722/1.166, allocations: 455.2 kB / 0.9208 GB, free: 14.81 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003344/1.169, allocations: 2.167 MB / 0.9229 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00479/1.174, allocations: 288 kB / 0.9232 GB, free: 12.31 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004232/1.174, allocations: 107.9 kB / 0.9233 GB, free: 12.2 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.0008756/1.175, allocations: 299.9 kB / 0.9236 GB, free: 11.9 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001199/1.176, allocations: 288.6 kB / 0.9238 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008229/1.184, allocations: 2.227 MB / 0.926 GB, free: 9.371 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.279e-05/1.185, allocations: 16 kB / 0.926 GB, free: 9.355 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.374e-05/1.185, allocations: 4.25 kB / 0.926 GB, free: 9.352 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006425/1.191, allocations: 1.858 MB / 0.9279 GB, free: 7.438 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01728/1.208, allocations: 6.224 MB / 0.9339 GB, free: 1.051 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-05/1.208, allocations: 8.656 kB / 0.9339 GB, free: 1.043 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001836/1.21, allocations: 283.6 kB / 0.9342 GB, free: 0.7656 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002874/1.213, allocations: 0.7867 MB / 0.935 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002176/1.213, allocations: 47.89 kB / 0.935 GB, free: 15.93 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002842/1.216, allocations: 1.948 MB / 0.9369 GB, free: 13.93 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.135e-05/1.216, allocations: 11.94 kB / 0.9369 GB, free: 13.92 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01234/1.229, allocations: 3.452 MB / 0.9403 GB, free: 10.36 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002038/1.231, allocations: 0.5717 MB / 0.9409 GB, free: 9.762 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001156/1.232, allocations: 43.98 kB / 0.9409 GB, free: 9.719 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003788/1.236, allocations: 205.2 kB / 0.9411 GB, free: 9.52 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003693/1.236, allocations: 120.7 kB / 0.9412 GB, free: 9.398 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003143/1.236, allocations: 71.92 kB / 0.9413 GB, free: 9.328 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.004674/1.241, allocations: 1.863 MB / 0.9431 GB, free: 7.465 MB / 0.7012 GB Notification: Performance of sort global known variables: time 9.02e-07/1.241, allocations: 0 / 0.9431 GB, free: 7.465 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.007373/1.249, allocations: 1.496 MB / 0.9446 GB, free: 5.969 MB / 0.7012 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.002547/1.251, allocations: 0.8337 MB / 0.9454 GB, free: 5.145 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01338/1.264, allocations: 3.618 MB / 0.9489 GB, free: 1.508 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.661e-05/1.265, allocations: 448 / 0.9489 GB, free: 1.508 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.003805/1.268, allocations: 0.9889 MB / 0.9499 GB, free: 0.5195 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009492/1.278, allocations: 1.586 MB / 0.9514 GB, free: 15 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01503/1.293, allocations: 5.131 MB / 0.9564 GB, free: 9.746 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002187/1.295, allocations: 1.716 MB / 0.9581 GB, free: 8 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001269/1.297, allocations: 279.2 kB / 0.9584 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of SimCode: time 1.402e-06/1.297, allocations: 0 / 0.9584 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of Templates: time 0.1099/1.406, allocations: 83 MB / 1.039 GB, free: 4.922 MB / 0.795 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)