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.001113/0.001113, allocations: 107 kB / 16.4 MB, free: 6.457 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.00115/0.00115, allocations: 193.2 kB / 17.34 MB, free: 5.719 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.401/1.401, allocations: 222.9 MB / 241 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7265/0.7265, allocations: 115.3 MB / 406.5 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 67.27 kB / 0.5577 GB, free: 32.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1696, allocations: 76.17 MB / 0.6321 GB, free: 4.363 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.07224/0.2419, allocations: 75.2 MB / 0.7055 GB, free: 8.902 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0229/0.2648, allocations: 15.17 MB / 0.7203 GB, free: 9.684 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003121/0.268, allocations: 63.62 kB / 0.7204 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002809/0.2709, allocations: 0.8345 MB / 0.7212 GB, free: 8.781 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007469/0.2783, allocations: 2.579 MB / 0.7237 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005022/0.2834, allocations: 1.405 MB / 0.7251 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00722/0.2906, allocations: 4.396 MB / 0.7294 GB, free: 400 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002556/0.2932, allocations: 1.449 MB / 0.7308 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004375/0.2976, allocations: 1.666 MB / 0.7324 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00249/0.3001, allocations: 1.219 MB / 0.7336 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005734/0.3007, allocations: 160 kB / 0.7338 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003634/0.3044, allocations: 1.4 MB / 0.7352 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006602/0.305, allocations: 410.6 kB / 0.7355 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001763/0.3068, allocations: 0.9021 MB / 0.7364 GB, free: 9.152 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005272/0.3121, allocations: 2.859 MB / 0.7392 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.3121, allocations: 0 / 0.7392 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3121, allocations: 0 / 0.7392 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.935e-05/0.3122, allocations: 0 / 0.7392 GB, free: 6.285 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.005013/0.3172, allocations: 2.079 MB / 0.7412 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.3173, allocations: 12.03 kB / 0.7413 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009749/0.3183, allocations: 234.7 kB / 0.7415 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002942/0.3212, allocations: 1.513 MB / 0.743 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.673e-05/0.3213, allocations: 81.94 kB / 0.743 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000154/0.3215, allocations: 100 kB / 0.7431 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002001/0.3235, allocations: 1.104 MB / 0.7442 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.903e-05/0.3235, allocations: 8 kB / 0.7442 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.863e-05/0.3236, allocations: 36 kB / 0.7443 GB, free: 0.9688 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.739e-05/0.3237, allocations: 28 kB / 0.7443 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001886/0.3255, allocations: 0.8939 MB / 0.7452 GB, free: 48 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.3611/0.6866, allocations: 4.886 MB / 0.7499 GB, free: 107.6 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001432/0.6881, allocations: 0.6205 MB / 0.7505 GB, free: 107.4 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007055/0.6888, allocations: 350.9 kB / 0.7509 GB, free: 107.3 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004584/0.6893, allocations: 0.8305 MB / 0.7517 GB, free: 106.4 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.6893, allocations: 39.09 kB / 0.7517 GB, free: 106.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 2.284e-06/0.6893, allocations: 1.031 kB / 0.7517 GB, free: 106.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.007283/0.6966, allocations: 1.691 MB / 0.7534 GB, free: 105.8 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.813e-05/0.6967, allocations: 58.25 kB / 0.7534 GB, free: 105.8 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002023/0.6987, allocations: 1.232 MB / 0.7546 GB, free: 105.3 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001362/0.6988, allocations: 44.64 kB / 0.7547 GB, free: 105.2 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005595/0.6994, allocations: 0.6038 MB / 0.7553 GB, free: 104.8 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002459/0.6997, allocations: 212 kB / 0.7555 GB, free: 104.6 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002796/0.6999, allocations: 156.3 kB / 0.7556 GB, free: 104.5 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.935e-05/0.7, allocations: 333.5 kB / 0.7559 GB, free: 104.2 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006908/0.7007, allocations: 291.7 kB / 0.7562 GB, free: 104.1 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008846/0.7016, allocations: 0.4903 MB / 0.7567 GB, free: 103.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001368/0.703, allocations: 0.7067 MB / 0.7574 GB, free: 103.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/0.703, allocations: 1.562 kB / 0.7574 GB, free: 103.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004651/0.7077, allocations: 1.276 MB / 0.7586 GB, free: 103 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.712e-05/0.7077, allocations: 12.53 kB / 0.7586 GB, free: 103 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.7077, allocations: 4.125 kB / 0.7586 GB, free: 103 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006014/0.7083, allocations: 136 kB / 0.7588 GB, free: 103 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006088/0.709, allocations: 154.6 kB / 0.7589 GB, free: 103 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007778/0.7098, allocations: 0.7015 MB / 0.7596 GB, free: 102.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001166/0.7109, allocations: 122.7 kB / 0.7597 GB, free: 102.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.33e-05/0.711, allocations: 30.64 kB / 0.7597 GB, free: 102.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001301/0.7123, allocations: 0.5541 MB / 0.7603 GB, free: 102.1 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008977/0.7133, allocations: 0.4889 MB / 0.7608 GB, free: 101.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001263/0.7145, allocations: 0.7049 MB / 0.7615 GB, free: 101.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.049e-06/0.7145, allocations: 5.109 kB / 0.7615 GB, free: 101.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004752/0.7193, allocations: 1.273 MB / 0.7627 GB, free: 101 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.7193, allocations: 6.562 kB / 0.7627 GB, free: 101 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.7194, allocations: 3.781 kB / 0.7627 GB, free: 101 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005273/0.7199, allocations: 137.3 kB / 0.7628 GB, free: 101 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005838/0.7205, allocations: 156 kB / 0.763 GB, free: 101 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006487/0.7211, allocations: 0.705 MB / 0.7637 GB, free: 100.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001112/0.7223, allocations: 98.16 kB / 0.7638 GB, free: 100.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.527e-05/0.7223, allocations: 36.36 kB / 0.7638 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.000265/0.7226, allocations: 229.3 kB / 0.764 GB, free: 100.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002373/0.7229, allocations: 136.2 kB / 0.7642 GB, free: 100.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004336/0.7272, allocations: 1.267 MB / 0.7654 GB, free: 99.42 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.499e-05/0.7272, allocations: 6.062 kB / 0.7654 GB, free: 99.42 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.7272, allocations: 9.172 kB / 0.7654 GB, free: 99.41 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003817/0.7311, allocations: 1.103 MB / 0.7665 GB, free: 98.78 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006327/0.7374, allocations: 2.61 MB / 0.769 GB, free: 96.99 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/0.7374, allocations: 3.094 kB / 0.769 GB, free: 96.99 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004488/0.7379, allocations: 111 kB / 0.7691 GB, free: 96.96 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000434/0.7383, allocations: 130.9 kB / 0.7693 GB, free: 96.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.312e-05/0.7384, allocations: 19.19 kB / 0.7693 GB, free: 96.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004308/0.7427, allocations: 2.639 MB / 0.7719 GB, free: 94.67 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.7427, allocations: 3.969 kB / 0.7719 GB, free: 94.67 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004708/0.7474, allocations: 1.705 MB / 0.7735 GB, free: 93.65 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005636/0.748, allocations: 299.5 kB / 0.7738 GB, free: 93.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001621/0.7482, allocations: 19.95 kB / 0.7738 GB, free: 93.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007667/0.749, allocations: 59.56 kB / 0.7739 GB, free: 93.35 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/0.7491, allocations: 63.92 kB / 0.774 GB, free: 93.31 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.984e-05/0.7491, allocations: 31.83 kB / 0.774 GB, free: 93.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009781/0.7501, allocations: 0.8805 MB / 0.7748 GB, free: 92.81 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7501, allocations: 0 / 0.7748 GB, free: 92.81 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001769/0.7519, allocations: 0.7184 MB / 0.7755 GB, free: 92.68 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.000756/0.7527, allocations: 463.3 kB / 0.776 GB, free: 92.48 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002267/0.7549, allocations: 1.115 MB / 0.7771 GB, free: 91.99 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.329e-06/0.755, allocations: 0 / 0.7771 GB, free: 91.99 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001372/0.7563, allocations: 0.5725 MB / 0.7776 GB, free: 91.64 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003056/0.7594, allocations: 0.8076 MB / 0.7784 GB, free: 90.96 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003015/0.7624, allocations: 2.271 MB / 0.7806 GB, free: 88.63 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004584/0.7629, allocations: 1.175 MB / 0.7818 GB, free: 87.43 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009666/0.7639, allocations: 307.3 kB / 0.7821 GB, free: 87.14 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001989/0.7641, allocations: 107.4 kB / 0.7822 GB, free: 87.03 MB / 0.5762 GB Notification: Performance of SimCode: time 9.92e-07/0.7641, allocations: 7.938 kB / 0.7822 GB, free: 87.02 MB / 0.5762 GB Notification: Performance of Templates: time 0.04315/0.8073, allocations: 32.41 MB / 0.8138 GB, free: 54.98 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)