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.001512/0.001512, allocations: 102.2 kB / 15.98 MB, free: 6.348 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.001646/0.001646, allocations: 199.1 kB / 16.91 MB, free: 6.191 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.357/1.357, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7364/0.7364, allocations: 122.9 MB / 413.6 MB, free: 36 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 67.89 kB / 0.4906 GB, free: 7.805 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3505/0.3518, allocations: 77.92 MB / 0.5667 GB, free: 32.93 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.06692/0.4187, allocations: 74.55 MB / 0.6395 GB, free: 444 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02247/0.4412, allocations: 15.06 MB / 0.6542 GB, free: 1.336 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003416/0.4447, allocations: 63.62 kB / 0.6543 GB, free: 1.273 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002587/0.4473, allocations: 0.7151 MB / 0.655 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007877/0.4552, allocations: 2.414 MB / 0.6573 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003343/0.4586, allocations: 1.284 MB / 0.6586 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005991/0.4646, allocations: 4.418 MB / 0.6629 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002391/0.467, allocations: 1.441 MB / 0.6643 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003698/0.4707, allocations: 1.647 MB / 0.6659 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001677/0.4724, allocations: 1.249 MB / 0.6671 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002464/0.4727, allocations: 160 kB / 0.6673 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002941/0.4756, allocations: 1.443 MB / 0.6687 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003833/0.476, allocations: 398.6 kB / 0.6691 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009556/0.477, allocations: 0.9099 MB / 0.67 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004008/0.481, allocations: 2.863 MB / 0.6728 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.481, allocations: 0 / 0.6728 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.303e-06/0.481, allocations: 0 / 0.6728 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.799e-05/0.4811, allocations: 0 / 0.6728 GB, free: 14.28 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.003866/0.4849, allocations: 2.083 MB / 0.6748 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 2.648e-05/0.485, allocations: 8.625 kB / 0.6748 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007824/0.4857, allocations: 234.7 kB / 0.675 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002264/0.488, allocations: 1.493 MB / 0.6765 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.709e-05/0.4881, allocations: 78 kB / 0.6766 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001492/0.4883, allocations: 104 kB / 0.6767 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001997/0.4903, allocations: 1.096 MB / 0.6777 GB, free: 9.035 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.078e-05/0.4903, allocations: 7.891 kB / 0.6777 GB, free: 9.027 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-05/0.4904, allocations: 44 kB / 0.6778 GB, free: 8.984 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.77e-05/0.4904, allocations: 24 kB / 0.6778 GB, free: 8.961 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001854/0.4923, allocations: 0.89 MB / 0.6787 GB, free: 8.074 MB / 0.5137 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.006447/0.4988, allocations: 4.917 MB / 0.6835 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001334/0.5001, allocations: 0.6194 MB / 0.6841 GB, free: 2.242 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008898/0.501, allocations: 354.3 kB / 0.6844 GB, free: 1.895 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000804/0.5018, allocations: 0.8316 MB / 0.6852 GB, free: 0.8789 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.5019, allocations: 43.06 kB / 0.6853 GB, free: 0.8242 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=62): time 1.913e-06/0.5019, allocations: 0 / 0.6853 GB, free: 0.8242 MB / 0.5137 GB Notification: Performance of matching and sorting (n=62): time 0.004728/0.5066, allocations: 1.405 MB / 0.6867 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.453e-05/0.5067, allocations: 59.97 kB / 0.6867 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00153/0.5082, allocations: 1.214 MB / 0.6879 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.817e-05/0.5083, allocations: 37.7 kB / 0.6879 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000483/0.5088, allocations: 0.6066 MB / 0.6885 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001877/0.509, allocations: 216.8 kB / 0.6887 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002322/0.5092, allocations: 162.5 kB / 0.6889 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.5094, allocations: 330 kB / 0.6892 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007454/0.5101, allocations: 292.7 kB / 0.6895 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008197/0.5109, allocations: 491.9 kB / 0.6899 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001449/0.5124, allocations: 0.7159 MB / 0.6906 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.5124, allocations: 8 kB / 0.6907 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004648/0.5171, allocations: 1.261 MB / 0.6919 GB, free: 9.84 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.5171, allocations: 4 kB / 0.6919 GB, free: 9.836 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/0.5171, allocations: 4 kB / 0.6919 GB, free: 9.832 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006654/0.5178, allocations: 162.9 kB / 0.692 GB, free: 9.672 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005927/0.5184, allocations: 155.8 kB / 0.6922 GB, free: 9.52 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008975/0.5193, allocations: 0.7162 MB / 0.6929 GB, free: 8.777 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001122/0.5204, allocations: 157.2 kB / 0.693 GB, free: 8.625 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.162e-05/0.5205, allocations: 39.98 kB / 0.6931 GB, free: 8.586 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001084/0.5216, allocations: 0.5488 MB / 0.6936 GB, free: 8.035 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008007/0.5224, allocations: 491.8 kB / 0.6941 GB, free: 7.48 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001332/0.5238, allocations: 0.6965 MB / 0.6948 GB, free: 6.734 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.164e-06/0.5238, allocations: 3.938 kB / 0.6948 GB, free: 6.73 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004475/0.5283, allocations: 1.269 MB / 0.696 GB, free: 5.449 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.5283, allocations: 4 kB / 0.696 GB, free: 5.445 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.5283, allocations: 4 kB / 0.696 GB, free: 5.441 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005798/0.5289, allocations: 153.1 kB / 0.6962 GB, free: 5.289 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000571/0.5295, allocations: 155.8 kB / 0.6963 GB, free: 5.137 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008037/0.5303, allocations: 0.7208 MB / 0.697 GB, free: 4.391 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001065/0.5314, allocations: 131.5 kB / 0.6971 GB, free: 4.262 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.158e-05/0.5314, allocations: 36 kB / 0.6972 GB, free: 4.227 MB / 0.5294 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.0002299/0.5317, allocations: 224.1 kB / 0.6974 GB, free: 4 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002269/0.5319, allocations: 138.3 kB / 0.6975 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00443/0.5363, allocations: 1.25 MB / 0.6987 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-05/0.5364, allocations: 12 kB / 0.6988 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.5364, allocations: 0 / 0.6988 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003814/0.5402, allocations: 1.088 MB / 0.6998 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003951/0.5442, allocations: 2.306 MB / 0.7021 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.5442, allocations: 4 kB / 0.7021 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004603/0.5446, allocations: 111.8 kB / 0.7022 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005733/0.5452, allocations: 149.1 kB / 0.7023 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.945e-05/0.5453, allocations: 23.98 kB / 0.7023 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007703/0.5461, allocations: 0.7072 MB / 0.703 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.5461, allocations: 4 kB / 0.703 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002591/0.5487, allocations: 1.403 MB / 0.7044 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004954/0.5492, allocations: 307.1 kB / 0.7047 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001734/0.5494, allocations: 16 kB / 0.7047 GB, free: 12.22 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008581/0.5502, allocations: 91.81 kB / 0.7048 GB, free: 12.13 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/0.5504, allocations: 60.25 kB / 0.7049 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.96e-05/0.5504, allocations: 31.97 kB / 0.7049 GB, free: 12.04 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001141/0.5516, allocations: 0.8701 MB / 0.7057 GB, free: 11.17 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.41e-07/0.5516, allocations: 0 / 0.7057 GB, free: 11.17 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001736/0.5533, allocations: 0.7057 MB / 0.7064 GB, free: 10.46 MB / 0.545 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.001008/0.5543, allocations: 457.3 kB / 0.7069 GB, free: 10.02 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002685/0.557, allocations: 1.164 MB / 0.708 GB, free: 8.855 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.5571, allocations: 4 kB / 0.708 GB, free: 8.852 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000865/0.5579, allocations: 387.6 kB / 0.7084 GB, free: 8.477 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003354/0.5613, allocations: 0.8016 MB / 0.7092 GB, free: 7.719 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003747/0.5651, allocations: 2.773 MB / 0.7119 GB, free: 4.867 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006911/0.5658, allocations: 1.172 MB / 0.713 GB, free: 3.668 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001149/0.5669, allocations: 304.6 kB / 0.7133 GB, free: 3.371 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002592/0.5672, allocations: 103.4 kB / 0.7134 GB, free: 3.27 MB / 0.545 GB Notification: Performance of SimCode: time 9.01e-07/0.5672, allocations: 0 / 0.7134 GB, free: 3.27 MB / 0.545 GB Notification: Performance of Templates: time 0.0498/0.617, allocations: 31.42 MB / 0.7441 GB, free: 4.188 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)