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/Complex 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) 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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.00159/0.00159, allocations: 183.1 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/package.mo): time 0.7256/0.7256, allocations: 132.2 MB / 148.9 MB, free: 12.14 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.568/1.568, allocations: 222.9 MB / 403.4 MB, free: 7.078 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.0009599/0.0009599, allocations: 103.7 kB / 484.3 MB, free: 8.652 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009799/0.00098, allocations: 51.92 kB / 0.5618 GB, free: 71.04 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1166, allocations: 80.21 MB / 0.6402 GB, free: 6.762 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.3594/0.476, allocations: 69.46 MB / 0.708 GB, free: 19.8 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.02003/0.4961, allocations: 14.62 MB / 0.7223 GB, free: 18.61 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003736/0.4998, allocations: 68.41 kB / 0.7223 GB, free: 18.58 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003284/0.5032, allocations: 0.7624 MB / 0.7231 GB, free: 18.2 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007784/0.511, allocations: 2.339 MB / 0.7254 GB, free: 17.18 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005137/0.5162, allocations: 1.778 MB / 0.7271 GB, free: 16.35 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.006703/0.5229, allocations: 5.891 MB / 0.7329 GB, free: 14.2 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002358/0.5253, allocations: 1.326 MB / 0.7342 GB, free: 13.63 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003441/0.5287, allocations: 1.49 MB / 0.7356 GB, free: 13.06 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002408/0.5312, allocations: 1.247 MB / 0.7368 GB, free: 12.61 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005793/0.5318, allocations: 92.09 kB / 0.7369 GB, free: 12.61 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005078/0.5368, allocations: 1.75 MB / 0.7386 GB, free: 11.9 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006175/0.5375, allocations: 358.7 kB / 0.739 GB, free: 11.64 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001921/0.5394, allocations: 0.9139 MB / 0.7399 GB, free: 11.08 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005931/0.5454, allocations: 3.413 MB / 0.7432 GB, free: 8.926 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.5454, allocations: 0 / 0.7432 GB, free: 8.926 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.5454, allocations: 4 kB / 0.7432 GB, free: 8.922 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.142e-05/0.5455, allocations: 0 / 0.7432 GB, free: 8.922 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.004931/0.5505, allocations: 2.3 MB / 0.7454 GB, free: 7.219 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.5505, allocations: 9.812 kB / 0.7455 GB, free: 7.219 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004998/0.5555, allocations: 0.6479 MB / 0.7461 GB, free: 6.934 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002751/0.5583, allocations: 1.558 MB / 0.7476 GB, free: 5.703 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001359/0.5585, allocations: 124.3 kB / 0.7477 GB, free: 5.629 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002525/0.5587, allocations: 121.2 kB / 0.7478 GB, free: 5.59 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003657/0.5624, allocations: 1.621 MB / 0.7494 GB, free: 4.523 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.379e-05/0.5624, allocations: 0 / 0.7494 GB, free: 4.523 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000146/0.5626, allocations: 53.69 kB / 0.7495 GB, free: 4.484 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.842e-05/0.5626, allocations: 38.34 kB / 0.7495 GB, free: 4.477 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004315/0.5669, allocations: 1.419 MB / 0.7509 GB, free: 3.754 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.009352/0.5763, allocations: 7.181 MB / 0.7579 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002276/0.5786, allocations: 0.7926 MB / 0.7587 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001573/0.5802, allocations: 486.8 kB / 0.7592 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001236/0.5815, allocations: 1.262 MB / 0.7604 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/0.5815, allocations: 43.12 kB / 0.7604 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=68): time 2.625e-06/0.5815, allocations: 0 / 0.7604 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of matching and sorting (n=68): time 0.009577/0.5911, allocations: 2.118 MB / 0.7625 GB, free: 7.949 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.345e-05/0.5912, allocations: 115.3 kB / 0.7626 GB, free: 7.812 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002435/0.5936, allocations: 1.371 MB / 0.7639 GB, free: 6.43 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001126/0.5938, allocations: 41.7 kB / 0.764 GB, free: 6.383 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006291/0.5944, allocations: 0.6873 MB / 0.7647 GB, free: 5.691 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002405/0.5946, allocations: 238 kB / 0.7649 GB, free: 5.461 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004382/0.5951, allocations: 222.3 kB / 0.7651 GB, free: 5.238 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.5952, allocations: 338 kB / 0.7654 GB, free: 4.902 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001842/0.5971, allocations: 492.5 kB / 0.7659 GB, free: 4.422 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002002/0.5991, allocations: 0.7433 MB / 0.7666 GB, free: 3.574 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003465/0.6026, allocations: 1.086 MB / 0.7677 GB, free: 2.406 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.616e-06/0.6026, allocations: 4 kB / 0.7677 GB, free: 2.402 MB / 0.4948 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.004847/0.6075, allocations: 1.499 MB / 0.7691 GB, free: 0.8945 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.6075, allocations: 9.094 kB / 0.7691 GB, free: 0.8867 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.522e-05/0.6075, allocations: 12.55 kB / 0.7692 GB, free: 0.875 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001563/0.6091, allocations: 459 kB / 0.7696 GB, free: 436 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001331/0.6104, allocations: 243.7 kB / 0.7698 GB, free: 192 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001478/0.6119, allocations: 1.061 MB / 0.7709 GB, free: 15.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002343/0.6143, allocations: 258.6 kB / 0.7711 GB, free: 14.85 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001334/0.6144, allocations: 51.95 kB / 0.7712 GB, free: 14.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002344/0.6168, allocations: 0.7712 MB / 0.7719 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002041/0.6188, allocations: 0.7453 MB / 0.7726 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003518/0.6224, allocations: 1.082 MB / 0.7737 GB, free: 12.01 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.775e-06/0.6224, allocations: 4 kB / 0.7737 GB, free: 12 MB / 0.5105 GB Notification: Performance of matching and sorting (n=108) (initialization_lambda0): time 0.005092/0.6275, allocations: 1.5 MB / 0.7752 GB, free: 10.49 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.6275, allocations: 12.06 kB / 0.7752 GB, free: 10.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.6275, allocations: 4 kB / 0.7752 GB, free: 10.48 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001507/0.6291, allocations: 446.9 kB / 0.7756 GB, free: 10.04 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001332/0.6304, allocations: 247.6 kB / 0.7758 GB, free: 9.797 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001512/0.6319, allocations: 1.064 MB / 0.7769 GB, free: 8.707 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002335/0.6343, allocations: 211.3 kB / 0.7771 GB, free: 8.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001286/0.6344, allocations: 51.95 kB / 0.7771 GB, free: 8.449 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.0003246/0.6348, allocations: 245.5 kB / 0.7774 GB, free: 8.203 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004621/0.6352, allocations: 142.3 kB / 0.7775 GB, free: 8.062 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004124/0.6394, allocations: 1.29 MB / 0.7788 GB, free: 6.754 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-05/0.6394, allocations: 4 kB / 0.7788 GB, free: 6.75 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.6394, allocations: 8 kB / 0.7788 GB, free: 6.742 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003439/0.6429, allocations: 1.08 MB / 0.7798 GB, free: 5.629 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008096/0.651, allocations: 3.374 MB / 0.7831 GB, free: 2.059 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.496e-05/0.651, allocations: 7.938 kB / 0.7831 GB, free: 2.051 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009134/0.6519, allocations: 155.7 kB / 0.7833 GB, free: 1.898 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001491/0.6534, allocations: 434.8 kB / 0.7837 GB, free: 1.473 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.93e-05/0.6535, allocations: 27.91 kB / 0.7837 GB, free: 1.445 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001537/0.6551, allocations: 1.064 MB / 0.7848 GB, free: 364 kB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.6551, allocations: 4 kB / 0.7848 GB, free: 360 kB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006837/0.662, allocations: 2.666 MB / 0.7874 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009152/0.6629, allocations: 347.1 kB / 0.7877 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004141/0.6633, allocations: 20 kB / 0.7877 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002014/0.6654, allocations: 143.7 kB / 0.7879 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001375/0.6655, allocations: 60.25 kB / 0.7879 GB, free: 13 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001279/0.6657, allocations: 39.95 kB / 0.788 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001856/0.6675, allocations: 0.9693 MB / 0.7889 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6675, allocations: 0 / 0.7889 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003397/0.6709, allocations: 0.9084 MB / 0.7898 GB, free: 11.08 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.001397/0.6724, allocations: 0.5324 MB / 0.7903 GB, free: 10.58 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006339/0.6787, allocations: 1.767 MB / 0.792 GB, free: 8.816 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/0.6787, allocations: 0 / 0.792 GB, free: 8.816 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001844/0.6806, allocations: 0.5178 MB / 0.7925 GB, free: 8.301 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004334/0.6849, allocations: 0.7739 MB / 0.7933 GB, free: 7.539 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006293/0.6912, allocations: 3.46 MB / 0.7967 GB, free: 3.992 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009013/0.6922, allocations: 1.227 MB / 0.7979 GB, free: 2.734 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001867/0.694, allocations: 351.1 kB / 0.7982 GB, free: 2.395 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003642/0.6944, allocations: 119.4 kB / 0.7983 GB, free: 2.277 MB / 0.5261 GB Notification: Performance of SimCode: time 6.61e-07/0.6944, allocations: 0 / 0.7983 GB, free: 2.277 MB / 0.5261 GB Notification: Performance of Templates: time 0.05797/0.7524, allocations: 37.85 MB / 0.8353 GB, free: 12.81 MB / 0.573 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)