Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar") translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 106.6 kB / 17.07 MB, free: 5.82 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.001095/0.001095, allocations: 200.1 kB / 18.02 MB, free: 4.965 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.273/1.273, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6933/0.6933, allocations: 115.3 MB / 407.2 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 65.38 kB / 0.5584 GB, free: 32.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1426, allocations: 76.18 MB / 0.6328 GB, free: 4.473 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.06655/0.2092, allocations: 75.19 MB / 0.7062 GB, free: 9.016 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01888/0.2281, allocations: 15.16 MB / 0.721 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002693/0.2309, allocations: 67.62 kB / 0.721 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002359/0.2332, allocations: 0.8345 MB / 0.7219 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006794/0.2401, allocations: 2.585 MB / 0.7244 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003438/0.2435, allocations: 1.398 MB / 0.7258 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0057/0.2493, allocations: 4.405 MB / 0.7301 GB, free: 0.5078 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00237/0.2516, allocations: 1.449 MB / 0.7315 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003862/0.2555, allocations: 1.67 MB / 0.7331 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002168/0.2577, allocations: 1.217 MB / 0.7343 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004147/0.2581, allocations: 167.9 kB / 0.7345 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003209/0.2614, allocations: 1.404 MB / 0.7358 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005239/0.2619, allocations: 394.6 kB / 0.7362 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001456/0.2634, allocations: 0.906 MB / 0.7371 GB, free: 9.266 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004449/0.2678, allocations: 2.867 MB / 0.7399 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.2678, allocations: 0 / 0.7399 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.562e-06/0.2678, allocations: 4 kB / 0.7399 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.637e-05/0.2679, allocations: 0 / 0.7399 GB, free: 6.387 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.004281/0.2722, allocations: 2.079 MB / 0.7419 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.2723, allocations: 8.031 kB / 0.7419 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007993/0.2731, allocations: 226.8 kB / 0.7421 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00248/0.2756, allocations: 1.525 MB / 0.7436 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.707e-05/0.2756, allocations: 78 kB / 0.7437 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00016/0.2758, allocations: 100 kB / 0.7438 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002046/0.2779, allocations: 1.1 MB / 0.7449 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.881e-05/0.2779, allocations: 0 / 0.7449 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.765e-05/0.278, allocations: 36 kB / 0.7449 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.356e-05/0.278, allocations: 31.98 kB / 0.7449 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001786/0.2798, allocations: 0.8939 MB / 0.7458 GB, free: 164 kB / 0.5762 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.3295/0.6094, allocations: 4.892 MB / 0.7506 GB, free: 107.6 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001421/0.6108, allocations: 0.6131 MB / 0.7512 GB, free: 107.4 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007048/0.6115, allocations: 350.5 kB / 0.7515 GB, free: 107.3 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004623/0.612, allocations: 0.8275 MB / 0.7523 GB, free: 106.4 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.612, allocations: 38.92 kB / 0.7524 GB, free: 106.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 2.736e-06/0.612, allocations: 0.75 kB / 0.7524 GB, free: 106.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.007298/0.6193, allocations: 1.696 MB / 0.754 GB, free: 105.9 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.009e-05/0.6194, allocations: 57.81 kB / 0.7541 GB, free: 105.8 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001925/0.6213, allocations: 1.23 MB / 0.7553 GB, free: 105.3 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001145/0.6215, allocations: 42.95 kB / 0.7553 GB, free: 105.2 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004795/0.6219, allocations: 0.6064 MB / 0.7559 GB, free: 104.8 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002009/0.6221, allocations: 211.1 kB / 0.7561 GB, free: 104.6 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002538/0.6224, allocations: 156.1 kB / 0.7563 GB, free: 104.6 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.882e-05/0.6225, allocations: 337.9 kB / 0.7566 GB, free: 104.2 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006632/0.6232, allocations: 286.3 kB / 0.7569 GB, free: 104.1 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008129/0.624, allocations: 0.4913 MB / 0.7573 GB, free: 103.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001295/0.6253, allocations: 0.7162 MB / 0.758 GB, free: 103.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.6253, allocations: 0 / 0.758 GB, free: 103.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004691/0.63, allocations: 1.272 MB / 0.7593 GB, free: 103.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.63, allocations: 7.125 kB / 0.7593 GB, free: 103.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.6301, allocations: 5.594 kB / 0.7593 GB, free: 103.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005908/0.6306, allocations: 137.2 kB / 0.7594 GB, free: 103 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005929/0.6313, allocations: 158.6 kB / 0.7596 GB, free: 103 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008159/0.6321, allocations: 0.7027 MB / 0.7603 GB, free: 102.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001124/0.6332, allocations: 122.1 kB / 0.7604 GB, free: 102.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.85e-05/0.6333, allocations: 30.83 kB / 0.7604 GB, free: 102.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001295/0.6346, allocations: 0.5577 MB / 0.761 GB, free: 102.1 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009025/0.6355, allocations: 497.2 kB / 0.7614 GB, free: 101.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001306/0.6369, allocations: 0.7093 MB / 0.7621 GB, free: 101.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.67e-06/0.6369, allocations: 5 kB / 0.7621 GB, free: 101.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004854/0.6417, allocations: 1.265 MB / 0.7634 GB, free: 101 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.6418, allocations: 6.5 kB / 0.7634 GB, free: 101 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.6418, allocations: 3.969 kB / 0.7634 GB, free: 101 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005681/0.6424, allocations: 141.1 kB / 0.7635 GB, free: 101 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000615/0.643, allocations: 161.4 kB / 0.7637 GB, free: 101 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006836/0.6437, allocations: 0.6975 MB / 0.7643 GB, free: 100.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001088/0.6448, allocations: 99.36 kB / 0.7644 GB, free: 100.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.164e-05/0.6449, allocations: 37.64 kB / 0.7645 GB, free: 100.4 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 77 * 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 {(1,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0002537/0.6451, allocations: 223.9 kB / 0.7647 GB, free: 100.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002378/0.6454, allocations: 136.4 kB / 0.7648 GB, free: 100.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004489/0.6499, allocations: 1.267 MB / 0.766 GB, free: 99.45 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.57e-05/0.6499, allocations: 6.469 kB / 0.7661 GB, free: 99.45 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.6499, allocations: 5.375 kB / 0.7661 GB, free: 99.44 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003959/0.6539, allocations: 1.104 MB / 0.7671 GB, free: 98.81 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006365/0.6603, allocations: 2.618 MB / 0.7697 GB, free: 97.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.6603, allocations: 4.125 kB / 0.7697 GB, free: 97.02 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000454/0.6608, allocations: 112.9 kB / 0.7698 GB, free: 96.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004711/0.6612, allocations: 128.2 kB / 0.7699 GB, free: 96.93 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.385e-05/0.6613, allocations: 21.67 kB / 0.7699 GB, free: 96.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004411/0.6657, allocations: 2.63 MB / 0.7725 GB, free: 94.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.6657, allocations: 3.969 kB / 0.7725 GB, free: 94.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004871/0.6706, allocations: 1.709 MB / 0.7742 GB, free: 93.68 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006603/0.6713, allocations: 305.4 kB / 0.7745 GB, free: 93.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001692/0.6715, allocations: 15.88 kB / 0.7745 GB, free: 93.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007317/0.6722, allocations: 63.83 kB / 0.7746 GB, free: 93.37 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.6723, allocations: 52 kB / 0.7746 GB, free: 93.34 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.815e-05/0.6724, allocations: 31.77 kB / 0.7746 GB, free: 93.34 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001019/0.6734, allocations: 0.8846 MB / 0.7755 GB, free: 92.84 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.5e-07/0.6734, allocations: 4 kB / 0.7755 GB, free: 92.84 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001692/0.6751, allocations: 0.7183 MB / 0.7762 GB, free: 92.71 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(1,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008165/0.676, allocations: 459.7 kB / 0.7766 GB, free: 92.51 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002444/0.6784, allocations: 1.121 MB / 0.7777 GB, free: 92.01 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.6784, allocations: 4 kB / 0.7777 GB, free: 92 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001344/0.6798, allocations: 0.5668 MB / 0.7783 GB, free: 91.66 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003283/0.6831, allocations: 0.8048 MB / 0.7791 GB, free: 91.01 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003039/0.6861, allocations: 2.296 MB / 0.7813 GB, free: 88.65 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004475/0.6866, allocations: 1.172 MB / 0.7825 GB, free: 87.45 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002639/0.6869, allocations: 115.3 kB / 0.7826 GB, free: 87.33 MB / 0.5762 GB Notification: Performance of SimCode: time 9.21e-07/0.6869, allocations: 0 / 0.7826 GB, free: 87.33 MB / 0.5762 GB Notification: Performance of Templates: time 0.02976/0.7166, allocations: 31.53 MB / 0.8134 GB, free: 56.01 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1)