Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.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_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL") translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 114.8 kB / 17.08 MB, free: 5.969 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.001323/0.001324, allocations: 198.9 kB / 18.02 MB, free: 5.047 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.353/1.353, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7511/0.7511, allocations: 115.3 MB / 407.2 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 62.73 kB / 0.5584 GB, free: 32.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1545, allocations: 76.18 MB / 0.6328 GB, free: 4.375 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.07609/0.2306, allocations: 75.2 MB / 0.7062 GB, free: 8.914 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02104/0.2517, allocations: 15.15 MB / 0.721 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00301/0.2548, allocations: 71.56 kB / 0.7211 GB, free: 9.645 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002767/0.2576, allocations: 0.8306 MB / 0.7219 GB, free: 8.809 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007699/0.2653, allocations: 2.592 MB / 0.7244 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003939/0.2693, allocations: 1.398 MB / 0.7258 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.006175/0.2755, allocations: 4.39 MB / 0.73 GB, free: 428 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002723/0.2782, allocations: 1.449 MB / 0.7315 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004395/0.2826, allocations: 1.674 MB / 0.7331 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002403/0.2851, allocations: 1.221 MB / 0.7343 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0006039/0.2857, allocations: 164 kB / 0.7344 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003629/0.2893, allocations: 1.423 MB / 0.7358 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007012/0.2901, allocations: 402.6 kB / 0.7362 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001886/0.292, allocations: 0.9021 MB / 0.7371 GB, free: 9.148 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005904/0.2979, allocations: 2.879 MB / 0.7399 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.2979, allocations: 0 / 0.7399 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.154e-06/0.2979, allocations: 0 / 0.7399 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.577e-05/0.298, allocations: 0 / 0.7399 GB, free: 6.262 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.005082/0.3031, allocations: 2.087 MB / 0.742 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.3032, allocations: 8.031 kB / 0.742 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001109/0.3043, allocations: 234.8 kB / 0.7422 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0032/0.3075, allocations: 1.52 MB / 0.7437 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.606e-05/0.3076, allocations: 78 kB / 0.7437 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002294/0.3079, allocations: 100 kB / 0.7438 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002368/0.3102, allocations: 1.104 MB / 0.7449 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.075e-05/0.3103, allocations: 0 / 0.7449 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001102/0.3104, allocations: 44 kB / 0.745 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.994e-05/0.3105, allocations: 27.98 kB / 0.745 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002016/0.3125, allocations: 0.89 MB / 0.7459 GB, free: 24 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.3529/0.6654, allocations: 4.905 MB / 0.7506 GB, free: 107.6 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001439/0.6669, allocations: 0.6213 MB / 0.7512 GB, free: 107.4 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007465/0.6676, allocations: 355.3 kB / 0.7516 GB, free: 107.3 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004926/0.6681, allocations: 0.833 MB / 0.7524 GB, free: 106.3 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.6682, allocations: 43.12 kB / 0.7524 GB, free: 106.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=62): time 2.775e-06/0.6682, allocations: 0 / 0.7524 GB, free: 106.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=62): time 0.00514/0.6733, allocations: 1.398 MB / 0.7538 GB, free: 105.8 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.061e-05/0.6734, allocations: 62.38 kB / 0.7539 GB, free: 105.7 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001952/0.6753, allocations: 1.23 MB / 0.7551 GB, free: 105.2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001074/0.6755, allocations: 42.17 kB / 0.7551 GB, free: 105.2 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004946/0.676, allocations: 0.6017 MB / 0.7557 GB, free: 104.7 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000209/0.6762, allocations: 219 kB / 0.7559 GB, free: 104.6 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002599/0.6764, allocations: 156.1 kB / 0.7561 GB, free: 104.5 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.376e-05/0.6765, allocations: 334 kB / 0.7564 GB, free: 104.2 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007633/0.6773, allocations: 295.6 kB / 0.7567 GB, free: 104.1 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008472/0.6782, allocations: 495.9 kB / 0.7571 GB, free: 103.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001352/0.6795, allocations: 0.7055 MB / 0.7578 GB, free: 103.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.353e-06/0.6795, allocations: 7.984 kB / 0.7578 GB, free: 103.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00484/0.6844, allocations: 1.264 MB / 0.7591 GB, free: 103 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/0.6844, allocations: 7.219 kB / 0.7591 GB, free: 103 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.6844, allocations: 3.125 kB / 0.7591 GB, free: 103 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007213/0.6852, allocations: 154.1 kB / 0.7592 GB, free: 103 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006553/0.6858, allocations: 156.1 kB / 0.7594 GB, free: 103 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008176/0.6867, allocations: 0.7166 MB / 0.7601 GB, free: 102.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001203/0.6879, allocations: 122.5 kB / 0.7602 GB, free: 102.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.682e-05/0.688, allocations: 30.41 kB / 0.7602 GB, free: 102.3 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001356/0.6893, allocations: 0.5541 MB / 0.7608 GB, free: 102 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001006/0.6904, allocations: 493.2 kB / 0.7612 GB, free: 101.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001524/0.6919, allocations: 0.7045 MB / 0.7619 GB, free: 101.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.747e-06/0.6919, allocations: 0 / 0.7619 GB, free: 101.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004974/0.6969, allocations: 1.266 MB / 0.7631 GB, free: 101 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.6969, allocations: 9.844 kB / 0.7632 GB, free: 101 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/0.6969, allocations: 6.969 kB / 0.7632 GB, free: 101 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006842/0.6976, allocations: 153.3 kB / 0.7633 GB, free: 101 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006972/0.6983, allocations: 153.1 kB / 0.7635 GB, free: 100.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007127/0.6991, allocations: 0.7137 MB / 0.7642 GB, free: 100.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001153/0.7002, allocations: 101.8 kB / 0.7642 GB, free: 100.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.304e-05/0.7003, allocations: 30.38 kB / 0.7643 GB, free: 100.3 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (77): * Single equations (assignments): 76 * 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,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0002505/0.7006, allocations: 229.8 kB / 0.7645 GB, free: 100.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002299/0.7008, allocations: 136.4 kB / 0.7646 GB, free: 100 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004529/0.7053, allocations: 1.257 MB / 0.7659 GB, free: 99.52 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.867e-05/0.7054, allocations: 11.39 kB / 0.7659 GB, free: 99.52 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.7054, allocations: 0 / 0.7659 GB, free: 99.52 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003968/0.7094, allocations: 1.092 MB / 0.7669 GB, free: 98.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004017/0.7134, allocations: 2.304 MB / 0.7692 GB, free: 97.26 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.056e-05/0.7134, allocations: 10.44 kB / 0.7692 GB, free: 97.25 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004493/0.7139, allocations: 117.1 kB / 0.7693 GB, free: 97.22 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005311/0.7144, allocations: 152.7 kB / 0.7694 GB, free: 97.14 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.182e-05/0.7145, allocations: 16.5 kB / 0.7695 GB, free: 97.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006421/0.7151, allocations: 0.7012 MB / 0.7701 GB, free: 96.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.511e-06/0.7151, allocations: 4.125 kB / 0.7702 GB, free: 96.52 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002549/0.7177, allocations: 1.4 MB / 0.7715 GB, free: 95.64 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005474/0.7183, allocations: 310.7 kB / 0.7718 GB, free: 95.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001803/0.7184, allocations: 19.97 kB / 0.7718 GB, free: 95.37 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007655/0.7192, allocations: 51.66 kB / 0.7719 GB, free: 95.34 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/0.7193, allocations: 56.11 kB / 0.7719 GB, free: 95.31 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.783e-05/0.7194, allocations: 40.45 kB / 0.772 GB, free: 95.29 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001086/0.7205, allocations: 0.881 MB / 0.7728 GB, free: 94.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7205, allocations: 3.938 kB / 0.7728 GB, free: 94.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001801/0.7223, allocations: 0.7112 MB / 0.7735 GB, free: 94.67 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,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008779/0.7232, allocations: 465.5 kB / 0.774 GB, free: 94.48 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002337/0.7255, allocations: 1.129 MB / 0.7751 GB, free: 93.97 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.7255, allocations: 0 / 0.7751 GB, free: 93.97 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008162/0.7264, allocations: 400 kB / 0.7755 GB, free: 93.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003293/0.7297, allocations: 0.7977 MB / 0.7762 GB, free: 93.42 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003244/0.7329, allocations: 2.323 MB / 0.7785 GB, free: 91.68 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000456/0.7334, allocations: 1.164 MB / 0.7796 GB, free: 90.48 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002765/0.7337, allocations: 111.4 kB / 0.7798 GB, free: 90.38 MB / 0.5762 GB Notification: Performance of SimCode: time 7.61e-07/0.7337, allocations: 0 / 0.7798 GB, free: 90.38 MB / 0.5762 GB Notification: Performance of Templates: time 0.03206/0.7658, allocations: 31.33 MB / 0.8104 GB, free: 59.26 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1)