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.001282/0.001282, allocations: 116.1 kB / 17.08 MB, free: 5.832 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.001296/0.001296, allocations: 193.8 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.42/1.42, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7326/0.7326, allocations: 115.3 MB / 407.2 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 69.16 kB / 0.5584 GB, free: 32.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1605, allocations: 76.17 MB / 0.6327 GB, free: 4.387 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.07658/0.2371, allocations: 75.2 MB / 0.7062 GB, free: 8.922 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02409/0.2613, allocations: 15.16 MB / 0.721 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003062/0.2644, allocations: 67.56 kB / 0.7211 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002734/0.2671, allocations: 0.8307 MB / 0.7219 GB, free: 8.812 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007836/0.2751, allocations: 2.596 MB / 0.7244 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003914/0.279, allocations: 1.397 MB / 0.7258 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00706/0.2861, allocations: 4.389 MB / 0.73 GB, free: 428 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003158/0.2893, allocations: 1.449 MB / 0.7315 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005359/0.2947, allocations: 1.671 MB / 0.7331 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002882/0.2976, allocations: 1.225 MB / 0.7343 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000608/0.2982, allocations: 160 kB / 0.7344 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004366/0.3026, allocations: 1.404 MB / 0.7358 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0008276/0.3034, allocations: 398.6 kB / 0.7362 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00229/0.3057, allocations: 0.9022 MB / 0.7371 GB, free: 9.176 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006695/0.3124, allocations: 2.867 MB / 0.7399 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.3124, allocations: 0 / 0.7399 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.335e-06/0.3124, allocations: 0 / 0.7399 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001144/0.3126, allocations: 0 / 0.7399 GB, free: 6.301 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.005952/0.3185, allocations: 2.083 MB / 0.7419 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.3186, allocations: 12.03 kB / 0.7419 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009719/0.3196, allocations: 226.8 kB / 0.7421 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002946/0.3225, allocations: 1.521 MB / 0.7436 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.636e-05/0.3226, allocations: 78 kB / 0.7437 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001796/0.3228, allocations: 100 kB / 0.7438 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002116/0.3249, allocations: 1.104 MB / 0.7449 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.62e-05/0.325, allocations: 4 kB / 0.7449 GB, free: 1.023 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.469e-05/0.3251, allocations: 36 kB / 0.7449 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.899e-05/0.3251, allocations: 27.98 kB / 0.7449 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001923/0.3271, allocations: 0.8939 MB / 0.7458 GB, free: 68 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.3499/0.677, allocations: 4.885 MB / 0.7506 GB, free: 107.7 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001504/0.6785, allocations: 0.6117 MB / 0.7512 GB, free: 107.4 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007283/0.6793, allocations: 361.3 kB / 0.7515 GB, free: 107.3 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005685/0.6799, allocations: 0.8292 MB / 0.7523 GB, free: 106.4 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/0.6799, allocations: 42.66 kB / 0.7524 GB, free: 106.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 3.065e-06/0.6799, allocations: 0 / 0.7524 GB, free: 106.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.007459/0.6874, allocations: 1.685 MB / 0.754 GB, free: 105.9 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.528e-05/0.6874, allocations: 60.94 kB / 0.7541 GB, free: 105.8 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002225/0.6897, allocations: 1.228 MB / 0.7553 GB, free: 105.3 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001484/0.6898, allocations: 38.98 kB / 0.7553 GB, free: 105.3 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005719/0.6904, allocations: 0.6124 MB / 0.7559 GB, free: 104.8 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002355/0.6906, allocations: 215.5 kB / 0.7561 GB, free: 104.6 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002932/0.6909, allocations: 156.2 kB / 0.7563 GB, free: 104.6 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.139e-05/0.691, allocations: 333.5 kB / 0.7566 GB, free: 104.2 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006975/0.6917, allocations: 294.9 kB / 0.7569 GB, free: 104.1 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008027/0.6926, allocations: 497.3 kB / 0.7573 GB, free: 103.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001289/0.6939, allocations: 0.7089 MB / 0.758 GB, free: 103.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.6939, allocations: 1.812 kB / 0.758 GB, free: 103.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004794/0.6987, allocations: 1.273 MB / 0.7593 GB, free: 103.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.705e-05/0.6987, allocations: 5.938 kB / 0.7593 GB, free: 103.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/0.6987, allocations: 4.281 kB / 0.7593 GB, free: 103.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006374/0.6994, allocations: 143.9 kB / 0.7594 GB, free: 103 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006719/0.7001, allocations: 159.8 kB / 0.7596 GB, free: 103 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008202/0.7009, allocations: 0.6935 MB / 0.7603 GB, free: 102.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001264/0.7022, allocations: 124.2 kB / 0.7604 GB, free: 102.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.223e-05/0.7023, allocations: 33.08 kB / 0.7604 GB, free: 102.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001323/0.7036, allocations: 0.5547 MB / 0.7609 GB, free: 102.1 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000936/0.7046, allocations: 496 kB / 0.7614 GB, free: 101.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001306/0.7059, allocations: 0.7054 MB / 0.7621 GB, free: 101.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.609e-06/0.7059, allocations: 1.25 kB / 0.7621 GB, free: 101.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004787/0.7107, allocations: 1.272 MB / 0.7634 GB, free: 101 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.7107, allocations: 6.5 kB / 0.7634 GB, free: 101 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.7107, allocations: 3.719 kB / 0.7634 GB, free: 101 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005542/0.7113, allocations: 141 kB / 0.7635 GB, free: 101 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006038/0.7119, allocations: 156.6 kB / 0.7636 GB, free: 101 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006971/0.7126, allocations: 0.7037 MB / 0.7643 GB, free: 100.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/0.7138, allocations: 99.34 kB / 0.7644 GB, free: 100.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.426e-05/0.7139, allocations: 36 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.0002799/0.7141, allocations: 228.8 kB / 0.7647 GB, free: 100.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002469/0.7144, allocations: 139 kB / 0.7648 GB, free: 100.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004309/0.7187, allocations: 1.268 MB / 0.766 GB, free: 99.41 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-05/0.7187, allocations: 6.094 kB / 0.7661 GB, free: 99.41 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.7188, allocations: 5.281 kB / 0.7661 GB, free: 99.41 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003695/0.7225, allocations: 1.101 MB / 0.7671 GB, free: 98.78 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006117/0.7286, allocations: 2.612 MB / 0.7697 GB, free: 97 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/0.7286, allocations: 3.188 kB / 0.7697 GB, free: 97 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004662/0.7291, allocations: 119 kB / 0.7698 GB, free: 96.96 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004605/0.7296, allocations: 131.5 kB / 0.7699 GB, free: 96.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.652e-05/0.7296, allocations: 18.06 kB / 0.7699 GB, free: 96.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004329/0.734, allocations: 2.64 MB / 0.7725 GB, free: 94.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.734, allocations: 7.906 kB / 0.7725 GB, free: 94.66 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004802/0.7388, allocations: 1.702 MB / 0.7742 GB, free: 93.65 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006649/0.7395, allocations: 302.5 kB / 0.7745 GB, free: 93.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001689/0.7397, allocations: 19.92 kB / 0.7745 GB, free: 93.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007665/0.7404, allocations: 58.25 kB / 0.7746 GB, free: 93.34 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/0.7406, allocations: 59.91 kB / 0.7746 GB, free: 93.31 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.417e-05/0.7406, allocations: 35.78 kB / 0.7746 GB, free: 93.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001029/0.7417, allocations: 0.8808 MB / 0.7755 GB, free: 92.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7417, allocations: 0 / 0.7755 GB, free: 92.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001779/0.7435, allocations: 0.7101 MB / 0.7762 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.0008347/0.7443, allocations: 468.7 kB / 0.7766 GB, free: 92.48 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002277/0.7466, allocations: 1.122 MB / 0.7777 GB, free: 91.98 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.7466, allocations: 0 / 0.7777 GB, free: 91.98 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001266/0.7479, allocations: 0.5664 MB / 0.7783 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.003015/0.7509, allocations: 0.808 MB / 0.7791 GB, free: 90.98 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003207/0.7541, allocations: 2.303 MB / 0.7813 GB, free: 88.62 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004518/0.7546, allocations: 1.168 MB / 0.7825 GB, free: 87.42 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002757/0.7549, allocations: 107.4 kB / 0.7826 GB, free: 87.32 MB / 0.5762 GB Notification: Performance of SimCode: time 4.11e-07/0.7549, allocations: 4 kB / 0.7826 GB, free: 87.31 MB / 0.5762 GB Notification: Performance of Templates: time 0.03284/0.7877, allocations: 31.34 MB / 0.8132 GB, free: 56.18 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)