Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") translateModel(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002017/0.002018, allocations: 181.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8142/0.8142, allocations: 133.3 MB / 150.1 MB, free: 11.18 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 222.9 MB / 404.7 MB, free: 6.066 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009507/0.0009503, allocations: 100.2 kB / 485.9 MB, free: 7.238 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009829/0.0009829, allocations: 55.92 kB / 0.5636 GB, free: 69.94 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1128, allocations: 80.43 MB / 0.6421 GB, free: 5.445 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.3218/0.4347, allocations: 69.45 MB / 0.71 GB, free: 19.25 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.01727/0.452, allocations: 14.63 MB / 0.7243 GB, free: 17.93 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00254/0.4546, allocations: 68.38 kB / 0.7243 GB, free: 17.9 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001925/0.4566, allocations: 0.7533 MB / 0.7251 GB, free: 17.53 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00707/0.4637, allocations: 2.348 MB / 0.7273 GB, free: 16.5 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005167/0.4688, allocations: 1.77 MB / 0.7291 GB, free: 15.61 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.007311/0.4762, allocations: 5.889 MB / 0.7348 GB, free: 13.32 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002436/0.4786, allocations: 1.32 MB / 0.7361 GB, free: 12.74 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003534/0.4822, allocations: 1.501 MB / 0.7376 GB, free: 12.09 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002346/0.4846, allocations: 1.244 MB / 0.7388 GB, free: 11.54 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004949/0.4851, allocations: 87.09 kB / 0.7389 GB, free: 11.54 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004487/0.4896, allocations: 1.759 MB / 0.7406 GB, free: 10.61 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004869/0.4901, allocations: 355.3 kB / 0.7409 GB, free: 10.35 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001314/0.4914, allocations: 0.9191 MB / 0.7418 GB, free: 9.762 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003962/0.4954, allocations: 3.403 MB / 0.7452 GB, free: 7.469 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.4954, allocations: 2.812 kB / 0.7452 GB, free: 7.469 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.4954, allocations: 0 / 0.7452 GB, free: 7.469 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.487e-05/0.4954, allocations: 0 / 0.7452 GB, free: 7.469 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.003471/0.4989, allocations: 2.304 MB / 0.7474 GB, free: 5.734 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.499, allocations: 11.31 kB / 0.7474 GB, free: 5.73 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004776/0.5037, allocations: 0.648 MB / 0.7481 GB, free: 5.449 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002169/0.5059, allocations: 1.553 MB / 0.7496 GB, free: 4.188 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.899e-05/0.506, allocations: 133.2 kB / 0.7497 GB, free: 4.105 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001482/0.5062, allocations: 113.5 kB / 0.7498 GB, free: 4.07 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00319/0.5094, allocations: 1.621 MB / 0.7514 GB, free: 3 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.382e-05/0.5094, allocations: 3.031 kB / 0.7514 GB, free: 3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001314/0.5096, allocations: 57.45 kB / 0.7514 GB, free: 2.957 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.002e-05/0.5096, allocations: 35.25 kB / 0.7515 GB, free: 2.953 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004195/0.5138, allocations: 1.421 MB / 0.7529 GB, free: 2.227 MB / 490.7 MB 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.009107/0.5229, allocations: 7.18 MB / 0.7599 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00229/0.5252, allocations: 0.7906 MB / 0.7606 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00163/0.5269, allocations: 485.2 kB / 0.7611 GB, free: 9.891 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001188/0.5281, allocations: 1.271 MB / 0.7624 GB, free: 8.344 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/0.5281, allocations: 47.12 kB / 0.7624 GB, free: 8.289 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=68): time 2.665e-06/0.5281, allocations: 0 / 0.7624 GB, free: 8.289 MB / 0.4948 GB Notification: Performance of matching and sorting (n=68): time 0.009788/0.5379, allocations: 2.116 MB / 0.7645 GB, free: 6.145 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.285e-05/0.538, allocations: 111.3 kB / 0.7646 GB, free: 6.012 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00221/0.5403, allocations: 1.371 MB / 0.7659 GB, free: 4.629 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001242/0.5404, allocations: 45.7 kB / 0.766 GB, free: 4.578 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005979/0.541, allocations: 0.6803 MB / 0.7666 GB, free: 3.891 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002464/0.5413, allocations: 248.5 kB / 0.7669 GB, free: 3.645 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004464/0.5417, allocations: 218.3 kB / 0.7671 GB, free: 3.426 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.5419, allocations: 341.9 kB / 0.7674 GB, free: 3.086 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001849/0.5437, allocations: 492.5 kB / 0.7679 GB, free: 2.605 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0021/0.5458, allocations: 0.7433 MB / 0.7686 GB, free: 1.754 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003432/0.5493, allocations: 1.086 MB / 0.7696 GB, free: 0.5859 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/0.5493, allocations: 4 kB / 0.7696 GB, free: 0.582 MB / 0.4948 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.004993/0.5543, allocations: 1.503 MB / 0.7711 GB, free: 15.07 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.5543, allocations: 8 kB / 0.7711 GB, free: 15.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.5543, allocations: 12 kB / 0.7711 GB, free: 15.05 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00155/0.5559, allocations: 459.7 kB / 0.7716 GB, free: 14.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001366/0.5573, allocations: 243.6 kB / 0.7718 GB, free: 14.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001529/0.5588, allocations: 1.064 MB / 0.7728 GB, free: 13.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002296/0.5611, allocations: 246.7 kB / 0.7731 GB, free: 13.03 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/0.5613, allocations: 55.94 kB / 0.7731 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002377/0.5636, allocations: 0.7712 MB / 0.7739 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002071/0.5657, allocations: 0.7414 MB / 0.7746 GB, free: 11.36 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003377/0.5691, allocations: 1.086 MB / 0.7757 GB, free: 10.19 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.062e-06/0.5691, allocations: 4 kB / 0.7757 GB, free: 10.18 MB / 0.5105 GB Notification: Performance of matching and sorting (n=108) (initialization_lambda0): time 0.004816/0.574, allocations: 1.499 MB / 0.7771 GB, free: 8.672 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.525e-05/0.574, allocations: 8 kB / 0.7771 GB, free: 8.664 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.574, allocations: 4 kB / 0.7771 GB, free: 8.66 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001507/0.5755, allocations: 452.3 kB / 0.7776 GB, free: 8.219 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001338/0.5769, allocations: 247.6 kB / 0.7778 GB, free: 7.977 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001514/0.5784, allocations: 1.064 MB / 0.7789 GB, free: 6.887 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002285/0.5807, allocations: 211.4 kB / 0.7791 GB, free: 6.68 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/0.5808, allocations: 59.89 kB / 0.7791 GB, free: 6.621 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (heaPum.com.isOn,$PRE.heaPum.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(4,23)} Notification: Performance of prepare postOptimizeDAE: time 0.0003358/0.5812, allocations: 240.1 kB / 0.7793 GB, free: 6.379 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003416/0.5815, allocations: 150.2 kB / 0.7795 GB, free: 6.23 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003988/0.5855, allocations: 1.272 MB / 0.7807 GB, free: 4.941 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.268e-05/0.5856, allocations: 8 kB / 0.7807 GB, free: 4.934 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.5856, allocations: 3.984 kB / 0.7807 GB, free: 4.93 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003389/0.589, allocations: 1.084 MB / 0.7818 GB, free: 3.812 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007506/0.5965, allocations: 3.367 MB / 0.7851 GB, free: 244 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/0.5965, allocations: 8.031 kB / 0.7851 GB, free: 236 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008993/0.5974, allocations: 143.7 kB / 0.7852 GB, free: 92 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001459/0.5989, allocations: 435.4 kB / 0.7856 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.325e-05/0.599, allocations: 31.91 kB / 0.7857 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001435/0.6004, allocations: 1.072 MB / 0.7867 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.6004, allocations: 4 kB / 0.7867 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006133/0.6066, allocations: 2.659 MB / 0.7893 GB, free: 11.76 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006331/0.6072, allocations: 351.1 kB / 0.7897 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001798/0.6074, allocations: 19.98 kB / 0.7897 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001601/0.609, allocations: 139.8 kB / 0.7898 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/0.6091, allocations: 56.44 kB / 0.7899 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.647e-05/0.6092, allocations: 43.95 kB / 0.7899 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001466/0.6107, allocations: 0.9576 MB / 0.7908 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2e-07/0.6107, allocations: 0 / 0.7908 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002439/0.6132, allocations: 0.9201 MB / 0.7917 GB, free: 9.262 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(4,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001161/0.6143, allocations: 0.5442 MB / 0.7923 GB, free: 8.723 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006347/0.6207, allocations: 1.767 MB / 0.794 GB, free: 6.965 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.049e-05/0.6207, allocations: 4 kB / 0.794 GB, free: 6.961 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001826/0.6226, allocations: 0.5094 MB / 0.7945 GB, free: 6.453 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004015/0.6266, allocations: 0.7861 MB / 0.7953 GB, free: 5.68 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005744/0.6323, allocations: 3.465 MB / 0.7987 GB, free: 2.125 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007599/0.6331, allocations: 1.23 MB / 0.7999 GB, free: 0.8633 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001647/0.6348, allocations: 334.4 kB / 0.8002 GB, free: 0.5352 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003079/0.6351, allocations: 119.4 kB / 0.8003 GB, free: 428 kB / 0.5261 GB Notification: Performance of SimCode: time 4.51e-07/0.6351, allocations: 4 kB / 0.8003 GB, free: 424 kB / 0.5261 GB Notification: Performance of Templates: time 0.05752/0.6926, allocations: 37.86 MB / 0.8373 GB, free: 10.9 MB / 0.573 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)