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.001112/0.001112, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.0011/0.0011, allocations: 200.4 kB / 16.91 MB, free: 6.195 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.297/1.297, allocations: 222.9 MB / 240.6 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7597/0.7597, allocations: 132.2 MB / 422.9 MB, free: 6.805 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 59.91 kB / 0.5019 GB, free: 12.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4036/0.4048, allocations: 80.18 MB / 0.5802 GB, free: 27.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.05791/0.4628, allocations: 69.31 MB / 0.6479 GB, free: 9 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01984/0.4827, allocations: 14.35 MB / 0.6619 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003263/0.486, allocations: 63.62 kB / 0.662 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002788/0.4888, allocations: 0.7928 MB / 0.6627 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007351/0.4962, allocations: 2.364 MB / 0.665 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005093/0.5013, allocations: 1.82 MB / 0.6668 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006636/0.508, allocations: 4.652 MB / 0.6714 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002529/0.5105, allocations: 1.61 MB / 0.6729 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004476/0.515, allocations: 1.781 MB / 0.6747 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002227/0.5173, allocations: 1.299 MB / 0.6759 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.000429/0.5177, allocations: 196 kB / 0.6761 GB, free: 12 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004397/0.5221, allocations: 1.946 MB / 0.678 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006212/0.5228, allocations: 466.5 kB / 0.6785 GB, free: 9.598 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001716/0.5245, allocations: 1.023 MB / 0.6795 GB, free: 8.57 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.005245/0.5298, allocations: 2.721 MB / 0.6821 GB, free: 5.844 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 9.568e-06/0.5298, allocations: 0 / 0.6821 GB, free: 5.844 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.396e-06/0.5298, allocations: 0 / 0.6821 GB, free: 5.844 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.54e-05/0.5299, allocations: 0 / 0.6821 GB, free: 5.844 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.00574/0.5356, allocations: 2.31 MB / 0.6844 GB, free: 3.465 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.546e-05/0.5357, allocations: 11.97 kB / 0.6844 GB, free: 3.453 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005315/0.541, allocations: 0.6502 MB / 0.685 GB, free: 2.801 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002743/0.5438, allocations: 1.551 MB / 0.6866 GB, free: 1.195 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001296/0.544, allocations: 128 kB / 0.6867 GB, free: 1.062 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001842/0.5442, allocations: 116 kB / 0.6868 GB, free: 0.9492 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003801/0.548, allocations: 1.623 MB / 0.6884 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.92e-05/0.548, allocations: 3.938 kB / 0.6884 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001471/0.5482, allocations: 59.94 kB / 0.6884 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-05/0.5482, allocations: 28 kB / 0.6885 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004361/0.5526, allocations: 1.429 MB / 0.6899 GB, free: 13.7 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.01019/0.5628, allocations: 7.179 MB / 0.6969 GB, free: 6.141 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002252/0.5651, allocations: 0.7829 MB / 0.6976 GB, free: 5.352 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001562/0.5667, allocations: 493 kB / 0.6981 GB, free: 4.867 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001277/0.568, allocations: 1.27 MB / 0.6993 GB, free: 3.32 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.18e-05/0.568, allocations: 51.06 kB / 0.6994 GB, free: 3.262 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=68): time 2.775e-06/0.568, allocations: 0 / 0.6994 GB, free: 3.262 MB / 0.5294 GB Notification: Performance of matching and sorting (n=68): time 0.009755/0.5778, allocations: 2.111 MB / 0.7014 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.919e-05/0.5779, allocations: 111.4 kB / 0.7016 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002142/0.58, allocations: 1.367 MB / 0.7029 GB, free: 15.61 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001504/0.5802, allocations: 41.69 kB / 0.7029 GB, free: 15.56 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005854/0.5808, allocations: 0.688 MB / 0.7036 GB, free: 14.87 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000237/0.581, allocations: 236.6 kB / 0.7038 GB, free: 14.64 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003616/0.5814, allocations: 222.3 kB / 0.704 GB, free: 14.41 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.5815, allocations: 338 kB / 0.7044 GB, free: 14.08 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001851/0.5834, allocations: 492.5 kB / 0.7048 GB, free: 13.59 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002024/0.5854, allocations: 0.7393 MB / 0.7056 GB, free: 12.74 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003494/0.5889, allocations: 1.101 MB / 0.7066 GB, free: 11.55 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.589, allocations: 0 / 0.7066 GB, free: 11.55 MB / 0.545 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.004899/0.5939, allocations: 1.507 MB / 0.7081 GB, free: 10.04 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.902e-05/0.5939, allocations: 8 kB / 0.7081 GB, free: 10.03 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.191e-05/0.5939, allocations: 8 kB / 0.7081 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001543/0.5955, allocations: 446.4 kB / 0.7085 GB, free: 9.586 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001379/0.5969, allocations: 247.6 kB / 0.7088 GB, free: 9.344 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00149/0.5984, allocations: 1.061 MB / 0.7098 GB, free: 8.258 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002477/0.6009, allocations: 259.8 kB / 0.7101 GB, free: 8.004 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001261/0.601, allocations: 55.89 kB / 0.7101 GB, free: 7.949 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002352/0.6034, allocations: 0.7634 MB / 0.7109 GB, free: 7.18 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002041/0.6054, allocations: 0.747 MB / 0.7116 GB, free: 6.324 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003442/0.6089, allocations: 1.082 MB / 0.7126 GB, free: 5.156 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.751e-06/0.6089, allocations: 4 kB / 0.7127 GB, free: 5.152 MB / 0.545 GB Notification: Performance of matching and sorting (n=108) (initialization_lambda0): time 0.004893/0.6138, allocations: 1.496 MB / 0.7141 GB, free: 3.645 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.6138, allocations: 8 kB / 0.7141 GB, free: 3.637 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.6139, allocations: 4.25 kB / 0.7141 GB, free: 3.633 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001423/0.6153, allocations: 456.8 kB / 0.7146 GB, free: 3.188 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001332/0.6166, allocations: 255.5 kB / 0.7148 GB, free: 2.938 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00144/0.6181, allocations: 1.067 MB / 0.7158 GB, free: 1.844 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002348/0.6204, allocations: 211.2 kB / 0.716 GB, free: 1.637 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000111/0.6206, allocations: 55.94 kB / 0.7161 GB, free: 1.582 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.0003878/0.621, allocations: 236.1 kB / 0.7163 GB, free: 1.344 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003495/0.6213, allocations: 150.2 kB / 0.7165 GB, free: 1.195 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004053/0.6254, allocations: 1.274 MB / 0.7177 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.449e-05/0.6254, allocations: 4 kB / 0.7177 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/0.6254, allocations: 0 / 0.7177 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003366/0.6288, allocations: 1.084 MB / 0.7188 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007721/0.6365, allocations: 3.375 MB / 0.7221 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.738e-06/0.6366, allocations: 8.031 kB / 0.7221 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009255/0.6375, allocations: 143.8 kB / 0.7222 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001441/0.639, allocations: 446 kB / 0.7226 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-05/0.639, allocations: 27.97 kB / 0.7227 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001399/0.6404, allocations: 1.056 MB / 0.7237 GB, free: 9.496 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.812e-06/0.6405, allocations: 7.938 kB / 0.7237 GB, free: 9.488 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004094/0.6446, allocations: 1.35 MB / 0.725 GB, free: 8.07 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007319/0.6453, allocations: 347.1 kB / 0.7254 GB, free: 7.711 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002308/0.6456, allocations: 20 kB / 0.7254 GB, free: 7.691 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001745/0.6473, allocations: 135.8 kB / 0.7255 GB, free: 7.559 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/0.6475, allocations: 60.25 kB / 0.7256 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001011/0.6476, allocations: 51.94 kB / 0.7256 GB, free: 7.449 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00154/0.6491, allocations: 0.9576 MB / 0.7265 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.11e-07/0.6491, allocations: 0 / 0.7265 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002382/0.6515, allocations: 0.8889 MB / 0.7274 GB, free: 5.602 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.001211/0.6527, allocations: 0.5324 MB / 0.7279 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006504/0.6592, allocations: 1.806 MB / 0.7297 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.287e-05/0.6593, allocations: 4 kB / 0.7297 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001883/0.6612, allocations: 0.5216 MB / 0.7302 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004034/0.6652, allocations: 0.8417 MB / 0.731 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005701/0.6709, allocations: 3.095 MB / 0.7341 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007423/0.6717, allocations: 1.199 MB / 0.7352 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005077/0.6722, allocations: 147.3 kB / 0.7354 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of SimCode: time 7.32e-07/0.6723, allocations: 0 / 0.7354 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of Templates: time 0.3192/0.9915, allocations: 35.62 MB / 0.7701 GB, free: 144.5 MB / 0.5762 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)