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.001143/0.001143, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001558/0.001558, allocations: 194.3 kB / 16.13 MB, free: 6.656 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.41/1.41, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7779/0.7779, allocations: 132.2 MB / 422.2 MB, free: 2.004 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 60.12 kB / 0.5011 GB, free: 4.328 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4474/0.4485, allocations: 80.21 MB / 0.5794 GB, free: 4.531 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.07678/0.5254, allocations: 69.47 MB / 0.6473 GB, free: 12.12 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02445/0.5499, allocations: 14.62 MB / 0.6615 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002983/0.5529, allocations: 75.56 kB / 0.6616 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002936/0.5559, allocations: 0.7459 MB / 0.6623 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007333/0.5633, allocations: 2.35 MB / 0.6646 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004994/0.5683, allocations: 1.777 MB / 0.6664 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.007186/0.5755, allocations: 5.866 MB / 0.6721 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00242/0.5779, allocations: 1.328 MB / 0.6734 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004114/0.582, allocations: 1.474 MB / 0.6748 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002931/0.585, allocations: 1.252 MB / 0.6761 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0005997/0.5856, allocations: 88 kB / 0.6761 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004509/0.5901, allocations: 1.755 MB / 0.6779 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006857/0.5908, allocations: 362.5 kB / 0.6782 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.00195/0.5928, allocations: 0.9095 MB / 0.6791 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00589/0.5987, allocations: 3.412 MB / 0.6824 GB, free: 8.02 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.5987, allocations: 4 kB / 0.6824 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.443e-06/0.5987, allocations: 0 / 0.6824 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.186e-05/0.5988, allocations: 0 / 0.6824 GB, free: 8.016 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.005191/0.604, allocations: 2.298 MB / 0.6847 GB, free: 5.648 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.6041, allocations: 8.031 kB / 0.6847 GB, free: 5.641 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005674/0.6098, allocations: 0.6541 MB / 0.6853 GB, free: 4.984 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003242/0.613, allocations: 1.545 MB / 0.6868 GB, free: 3.383 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001813/0.6132, allocations: 124 kB / 0.6869 GB, free: 3.254 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003374/0.6136, allocations: 120 kB / 0.6871 GB, free: 3.137 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004487/0.6181, allocations: 1.622 MB / 0.6886 GB, free: 1.418 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.788e-05/0.6181, allocations: 0 / 0.6886 GB, free: 1.418 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001941/0.6183, allocations: 63.94 kB / 0.6887 GB, free: 1.355 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.396e-05/0.6184, allocations: 32 kB / 0.6887 GB, free: 1.324 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004869/0.6233, allocations: 1.417 MB / 0.6901 GB, free: 15.89 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.01098/0.6343, allocations: 7.179 MB / 0.6971 GB, free: 8.336 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002434/0.6367, allocations: 0.7952 MB / 0.6979 GB, free: 7.535 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001611/0.6384, allocations: 484.5 kB / 0.6984 GB, free: 7.059 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001428/0.6398, allocations: 1.271 MB / 0.6996 GB, free: 5.512 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.741e-05/0.6399, allocations: 47.06 kB / 0.6997 GB, free: 5.457 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=68): time 3.267e-06/0.6399, allocations: 0 / 0.6997 GB, free: 5.457 MB / 0.5294 GB Notification: Performance of matching and sorting (n=68): time 0.01013/0.65, allocations: 2.107 MB / 0.7017 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.157e-05/0.6501, allocations: 115.4 kB / 0.7018 GB, free: 3.188 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002463/0.6526, allocations: 1.367 MB / 0.7032 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001343/0.6528, allocations: 45.7 kB / 0.7032 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006197/0.6534, allocations: 0.6881 MB / 0.7039 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002536/0.6536, allocations: 232.7 kB / 0.7041 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004162/0.6541, allocations: 222.3 kB / 0.7043 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.6542, allocations: 346 kB / 0.7046 GB, free: 268 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001959/0.6562, allocations: 488.5 kB / 0.7051 GB, free: 15.78 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002134/0.6583, allocations: 0.7433 MB / 0.7058 GB, free: 14.93 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003647/0.662, allocations: 1.086 MB / 0.7069 GB, free: 13.77 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.662, allocations: 7.938 kB / 0.7069 GB, free: 13.76 MB / 0.545 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.005033/0.667, allocations: 1.5 MB / 0.7084 GB, free: 12.25 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.887e-05/0.6671, allocations: 12.09 kB / 0.7084 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/0.6671, allocations: 8 kB / 0.7084 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001618/0.6687, allocations: 452.7 kB / 0.7088 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001389/0.6701, allocations: 243.6 kB / 0.709 GB, free: 11.55 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001566/0.6717, allocations: 1.065 MB / 0.7101 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002393/0.6741, allocations: 250.7 kB / 0.7103 GB, free: 10.21 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001189/0.6742, allocations: 55.88 kB / 0.7104 GB, free: 10.16 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002318/0.6766, allocations: 0.7688 MB / 0.7111 GB, free: 9.383 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002032/0.6786, allocations: 0.747 MB / 0.7119 GB, free: 8.527 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003421/0.6821, allocations: 1.09 MB / 0.7129 GB, free: 7.352 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.791e-06/0.6821, allocations: 4 kB / 0.7129 GB, free: 7.348 MB / 0.545 GB Notification: Performance of matching and sorting (n=108) (initialization_lambda0): time 0.004859/0.6869, allocations: 1.5 MB / 0.7144 GB, free: 5.836 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.687, allocations: 8 kB / 0.7144 GB, free: 5.828 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.687, allocations: 4 kB / 0.7144 GB, free: 5.824 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001439/0.6884, allocations: 456 kB / 0.7148 GB, free: 5.383 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001335/0.6898, allocations: 243.6 kB / 0.7151 GB, free: 5.145 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001431/0.6912, allocations: 1.068 MB / 0.7161 GB, free: 4.051 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002301/0.6935, allocations: 215.2 kB / 0.7163 GB, free: 3.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001095/0.6937, allocations: 51.95 kB / 0.7164 GB, free: 3.789 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.0003256/0.694, allocations: 236.1 kB / 0.7166 GB, free: 3.551 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003128/0.6943, allocations: 154.1 kB / 0.7167 GB, free: 3.398 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004008/0.6983, allocations: 1.268 MB / 0.718 GB, free: 2.113 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.178e-05/0.6984, allocations: 8 kB / 0.718 GB, free: 2.105 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.6984, allocations: 0 / 0.718 GB, free: 2.105 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003415/0.7018, allocations: 1.08 MB / 0.719 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007674/0.7095, allocations: 3.371 MB / 0.7223 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.896e-06/0.7095, allocations: 4.125 kB / 0.7223 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009275/0.7104, allocations: 155.9 kB / 0.7225 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001459/0.7119, allocations: 440.2 kB / 0.7229 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.299e-05/0.712, allocations: 27.97 kB / 0.7229 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001417/0.7134, allocations: 1.06 MB / 0.724 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.7134, allocations: 4 kB / 0.724 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004037/0.7175, allocations: 1.354 MB / 0.7253 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006592/0.7181, allocations: 351.1 kB / 0.7256 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002255/0.7184, allocations: 16 kB / 0.7256 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001679/0.7201, allocations: 147.4 kB / 0.7258 GB, free: 9.762 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/0.7202, allocations: 60.19 kB / 0.7258 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.045e-05/0.7203, allocations: 47.94 kB / 0.7259 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001525/0.7218, allocations: 0.9654 MB / 0.7268 GB, free: 8.691 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7218, allocations: 0 / 0.7268 GB, free: 8.691 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002293/0.7241, allocations: 0.885 MB / 0.7277 GB, free: 7.805 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.001165/0.7253, allocations: 0.528 MB / 0.7282 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006077/0.7314, allocations: 1.764 MB / 0.7299 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.857e-06/0.7314, allocations: 4 kB / 0.7299 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001829/0.7333, allocations: 0.5217 MB / 0.7304 GB, free: 5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003777/0.7371, allocations: 0.7783 MB / 0.7312 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005476/0.7426, allocations: 3.072 MB / 0.7342 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007291/0.7433, allocations: 1.211 MB / 0.7354 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001698/0.745, allocations: 342.5 kB / 0.7357 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000308/0.7453, allocations: 115.4 kB / 0.7358 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of SimCode: time 8.81e-07/0.7453, allocations: 0 / 0.7358 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of Templates: time 0.05813/0.8035, allocations: 36.91 MB / 0.7719 GB, free: 10.92 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)