Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.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_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") translateModel(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 108 kB / 15.6 MB, free: 132 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.001169/0.00117, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.286/1.286, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7637/0.7637, allocations: 132.2 MB / 422.6 MB, free: 1.762 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 64.88 kB / 0.5018 GB, free: 3.863 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4137/0.415, allocations: 80.2 MB / 0.5801 GB, free: 4.547 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.07012/0.4852, allocations: 69.92 MB / 0.6484 GB, free: 11.48 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02121/0.5064, allocations: 14.45 MB / 0.6625 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003674/0.5101, allocations: 71.62 kB / 0.6625 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003046/0.5132, allocations: 0.9199 MB / 0.6634 GB, free: 12 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.009032/0.5223, allocations: 2.542 MB / 0.6659 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005305/0.5276, allocations: 1.962 MB / 0.6678 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.007534/0.5351, allocations: 4.614 MB / 0.6723 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002957/0.5381, allocations: 1.614 MB / 0.6739 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004448/0.5426, allocations: 1.76 MB / 0.6756 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001887/0.5445, allocations: 1.268 MB / 0.6769 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003102/0.5448, allocations: 192 kB / 0.6771 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004119/0.5489, allocations: 1.919 MB / 0.6789 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004434/0.5494, allocations: 466.5 kB / 0.6794 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001187/0.5506, allocations: 1.023 MB / 0.6804 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00549/0.5561, allocations: 3.471 MB / 0.6838 GB, free: 7.121 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.5561, allocations: 4 kB / 0.6838 GB, free: 7.117 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.863e-06/0.5561, allocations: 0 / 0.6838 GB, free: 7.117 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.04e-05/0.5562, allocations: 0 / 0.6838 GB, free: 7.117 MB / 0.5137 GB 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.00389/0.5601, allocations: 2.302 MB / 0.686 GB, free: 4.746 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.5601, allocations: 16.03 kB / 0.686 GB, free: 4.73 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004976/0.5651, allocations: 0.6502 MB / 0.6867 GB, free: 4.078 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002805/0.5679, allocations: 1.514 MB / 0.6881 GB, free: 2.508 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000142/0.5681, allocations: 132 kB / 0.6883 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001858/0.5683, allocations: 116 kB / 0.6884 GB, free: 2.258 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003569/0.5718, allocations: 1.618 MB / 0.69 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.227e-05/0.5719, allocations: 0 / 0.69 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001323/0.572, allocations: 55.94 kB / 0.69 GB, free: 500 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-05/0.5721, allocations: 39.92 kB / 0.6901 GB, free: 460 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004287/0.5764, allocations: 1.417 MB / 0.6914 GB, free: 15.02 MB / 0.5294 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.009742/0.5861, allocations: 7.226 MB / 0.6985 GB, free: 7.414 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002206/0.5884, allocations: 0.7904 MB / 0.6993 GB, free: 6.617 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001521/0.5899, allocations: 482.8 kB / 0.6997 GB, free: 6.141 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001296/0.5912, allocations: 1.267 MB / 0.701 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.963e-05/0.5912, allocations: 51.05 kB / 0.701 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=68): time 2.304e-06/0.5913, allocations: 4 kB / 0.701 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of matching and sorting (n=68): time 0.009412/0.6007, allocations: 2.108 MB / 0.7031 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.822e-05/0.6008, allocations: 111.4 kB / 0.7032 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002105/0.6029, allocations: 1.379 MB / 0.7045 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001243/0.603, allocations: 45.7 kB / 0.7046 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006231/0.6036, allocations: 0.692 MB / 0.7052 GB, free: 128 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002859/0.6039, allocations: 232.6 kB / 0.7055 GB, free: 15.89 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003436/0.6043, allocations: 230.3 kB / 0.7057 GB, free: 15.66 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.6044, allocations: 338 kB / 0.706 GB, free: 15.33 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001761/0.6062, allocations: 484.5 kB / 0.7065 GB, free: 14.85 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001966/0.6082, allocations: 0.7472 MB / 0.7072 GB, free: 14 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003311/0.6115, allocations: 1.09 MB / 0.7083 GB, free: 12.83 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.481e-06/0.6115, allocations: 0 / 0.7083 GB, free: 12.83 MB / 0.545 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.004652/0.6162, allocations: 1.507 MB / 0.7097 GB, free: 11.31 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.6162, allocations: 8 kB / 0.7097 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.6162, allocations: 4 kB / 0.7098 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001499/0.6177, allocations: 453.9 kB / 0.7102 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001356/0.6191, allocations: 243.6 kB / 0.7104 GB, free: 10.62 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00142/0.6205, allocations: 1.07 MB / 0.7115 GB, free: 9.523 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00203/0.6226, allocations: 214.8 kB / 0.7117 GB, free: 9.312 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000102/0.6227, allocations: 67.83 kB / 0.7117 GB, free: 9.246 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002244/0.6249, allocations: 0.7727 MB / 0.7125 GB, free: 8.469 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001921/0.6269, allocations: 0.7392 MB / 0.7132 GB, free: 7.621 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003235/0.6301, allocations: 1.086 MB / 0.7143 GB, free: 6.449 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.919e-06/0.6301, allocations: 4 kB / 0.7143 GB, free: 6.445 MB / 0.545 GB Notification: Performance of matching and sorting (n=108) (initialization_lambda0): time 0.004562/0.6347, allocations: 1.492 MB / 0.7157 GB, free: 4.941 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.6347, allocations: 10.5 kB / 0.7157 GB, free: 4.934 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.6348, allocations: 8 kB / 0.7157 GB, free: 4.926 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001361/0.6361, allocations: 444.5 kB / 0.7162 GB, free: 4.496 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001278/0.6374, allocations: 251.5 kB / 0.7164 GB, free: 4.25 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001372/0.6388, allocations: 1.067 MB / 0.7175 GB, free: 3.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001943/0.6407, allocations: 191.2 kB / 0.7176 GB, free: 2.973 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-05/0.6408, allocations: 55.94 kB / 0.7177 GB, free: 2.918 MB / 0.545 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.0003028/0.6412, allocations: 236 kB / 0.7179 GB, free: 2.68 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002739/0.6414, allocations: 150.2 kB / 0.7181 GB, free: 2.531 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003848/0.6453, allocations: 1.266 MB / 0.7193 GB, free: 1.25 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/0.6453, allocations: 12.12 kB / 0.7193 GB, free: 1.238 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.6453, allocations: 4 kB / 0.7193 GB, free: 1.234 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00324/0.6486, allocations: 1.084 MB / 0.7204 GB, free: 120 kB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006969/0.6556, allocations: 3.383 MB / 0.7237 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/0.6556, allocations: 4 kB / 0.7237 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008872/0.6565, allocations: 147.8 kB / 0.7238 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001407/0.6579, allocations: 441.1 kB / 0.7242 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.72e-05/0.658, allocations: 27.97 kB / 0.7243 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001376/0.6593, allocations: 1.056 MB / 0.7253 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.6594, allocations: 4.094 kB / 0.7253 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003792/0.6632, allocations: 1.366 MB / 0.7266 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005888/0.6638, allocations: 355 kB / 0.727 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002256/0.664, allocations: 16 kB / 0.727 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001562/0.6656, allocations: 111.9 kB / 0.7271 GB, free: 8.898 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/0.6657, allocations: 52.31 kB / 0.7271 GB, free: 8.848 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.832e-05/0.6658, allocations: 47.94 kB / 0.7272 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001635/0.6674, allocations: 0.9732 MB / 0.7281 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6675, allocations: 0 / 0.7281 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002585/0.67, allocations: 0.8967 MB / 0.729 GB, free: 6.93 MB / 0.5606 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.001172/0.6712, allocations: 0.5562 MB / 0.7296 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006227/0.6775, allocations: 1.802 MB / 0.7313 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/0.6775, allocations: 0 / 0.7313 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001779/0.6793, allocations: 0.5256 MB / 0.7318 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003798/0.6831, allocations: 0.8247 MB / 0.7326 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005071/0.6882, allocations: 2.554 MB / 0.7351 GB, free: 0.6562 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007011/0.6889, allocations: 1.219 MB / 0.7363 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001475/0.6904, allocations: 338 kB / 0.7366 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002746/0.6907, allocations: 119.4 kB / 0.7368 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of SimCode: time 5.01e-07/0.6907, allocations: 0 / 0.7368 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of Templates: time 0.05694/0.7476, allocations: 38.81 MB / 0.7747 GB, free: 8.605 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)