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.001043/0.001042, allocations: 92.95 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 184.1 kB / 16.92 MB, free: 6.934 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.462/1.462, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.693/0.693, allocations: 115.4 MB / 407.4 MB, free: 2.789 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003229/0.000323, allocations: 12 kB / 495.7 MB, free: 6.477 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1537, allocations: 77.5 MB / 0.5598 GB, free: 9.18 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.3736/0.5273, allocations: 73.45 MB / 0.6315 GB, free: 5.988 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.02278/0.5501, allocations: 15.04 MB / 0.6462 GB, free: 10.52 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003605/0.5537, allocations: 55.88 kB / 0.6463 GB, free: 10.49 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00262/0.5564, allocations: 0.6835 MB / 0.6469 GB, free: 9.91 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008956/0.5654, allocations: 2.385 MB / 0.6492 GB, free: 7.988 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00447/0.5698, allocations: 1.275 MB / 0.6505 GB, free: 7.023 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.009971/0.5798, allocations: 5.542 MB / 0.6559 GB, free: 3.945 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002343/0.5822, allocations: 1.163 MB / 0.657 GB, free: 3.219 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003764/0.586, allocations: 1.329 MB / 0.6583 GB, free: 2.121 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00246/0.5885, allocations: 1.159 MB / 0.6595 GB, free: 0.957 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002119/0.5887, allocations: 52 kB / 0.6595 GB, free: 0.9062 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003679/0.5924, allocations: 1.259 MB / 0.6607 GB, free: 15.64 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003831/0.5928, allocations: 290.5 kB / 0.661 GB, free: 15.36 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001157/0.594, allocations: 0.7945 MB / 0.6618 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003592/0.5976, allocations: 2.73 MB / 0.6645 GB, free: 11.82 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.5976, allocations: 0 / 0.6645 GB, free: 11.82 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.5976, allocations: 4 kB / 0.6645 GB, free: 11.81 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.217e-05/0.5976, allocations: 0 / 0.6645 GB, free: 11.81 MB / 494.1 MB 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.003713/0.6014, allocations: 1.791 MB / 0.6662 GB, free: 9.957 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/0.6014, allocations: 12.03 kB / 0.6662 GB, free: 9.945 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008275/0.6022, allocations: 238.9 kB / 0.6665 GB, free: 9.711 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002624/0.6049, allocations: 1.501 MB / 0.6679 GB, free: 8.152 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.011e-05/0.605, allocations: 81.98 kB / 0.668 GB, free: 8.074 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001797/0.6052, allocations: 104 kB / 0.6681 GB, free: 7.973 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002125/0.6073, allocations: 1.116 MB / 0.6692 GB, free: 6.82 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.55e-05/0.6073, allocations: 0 / 0.6692 GB, free: 6.82 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/0.6074, allocations: 44 kB / 0.6692 GB, free: 6.777 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.702e-05/0.6075, allocations: 27.98 kB / 0.6693 GB, free: 6.75 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001955/0.6094, allocations: 0.9329 MB / 0.6702 GB, free: 5.82 MB / 494.1 MB 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.006081/0.6155, allocations: 4.911 MB / 0.675 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001432/0.617, allocations: 0.6375 MB / 0.6756 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007576/0.6178, allocations: 372.1 kB / 0.6759 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006793/0.6185, allocations: 0.8394 MB / 0.6768 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.233e-05/0.6185, allocations: 43.06 kB / 0.6768 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=62): time 3.447e-06/0.6185, allocations: 7.922 kB / 0.6768 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of matching and sorting (n=62): time 0.005117/0.6236, allocations: 1.518 MB / 0.6783 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.057e-05/0.6237, allocations: 67.91 kB / 0.6784 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001652/0.6254, allocations: 1.21 MB / 0.6795 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.583e-05/0.6255, allocations: 37.7 kB / 0.6796 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005508/0.626, allocations: 0.6182 MB / 0.6802 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002117/0.6262, allocations: 208.9 kB / 0.6804 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.462e-05/0.6263, allocations: 69.67 kB / 0.6804 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.6265, allocations: 334 kB / 0.6808 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007091/0.6272, allocations: 301.8 kB / 0.6811 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008938/0.6281, allocations: 0.5005 MB / 0.6815 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001501/0.6296, allocations: 0.7587 MB / 0.6823 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/0.6296, allocations: 3.938 kB / 0.6823 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005004/0.6347, allocations: 1.398 MB / 0.6837 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001349/0.6348, allocations: 189.5 kB / 0.6838 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.6348, allocations: 4 kB / 0.6838 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007558/0.6356, allocations: 164.4 kB / 0.684 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006497/0.6363, allocations: 159.8 kB / 0.6841 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009275/0.6372, allocations: 0.7357 MB / 0.6849 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00133/0.6385, allocations: 164.7 kB / 0.685 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.111e-05/0.6386, allocations: 31.98 kB / 0.6851 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.358e-06/0.6386, allocations: 4 kB / 0.6851 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004697/0.6433, allocations: 1.253 MB / 0.6863 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.6434, allocations: 4 kB / 0.6863 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006226/0.644, allocations: 161 kB / 0.6864 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006156/0.6446, allocations: 167.8 kB / 0.6866 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008603/0.6455, allocations: 0.724 MB / 0.6873 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001231/0.6467, allocations: 163.1 kB / 0.6875 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.752e-05/0.6468, allocations: 35.98 kB / 0.6875 GB, free: 3.27 MB / 0.4981 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.0007231/0.6476, allocations: 413 kB / 0.6879 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002441/0.6478, allocations: 138.3 kB / 0.688 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00503/0.6528, allocations: 1.405 MB / 0.6894 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.881e-05/0.6529, allocations: 8 kB / 0.6894 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.6529, allocations: 0 / 0.6894 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004442/0.6573, allocations: 1.221 MB / 0.6906 GB, free: 36 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005163/0.6625, allocations: 2.352 MB / 0.6929 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.026e-05/0.6626, allocations: 4 kB / 0.6929 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005125/0.6631, allocations: 124.2 kB / 0.693 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006472/0.6637, allocations: 156.7 kB / 0.6932 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.522e-05/0.6638, allocations: 16 kB / 0.6932 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008828/0.6647, allocations: 0.7269 MB / 0.6939 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.6647, allocations: 4 kB / 0.6939 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003221/0.668, allocations: 1.466 MB / 0.6953 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009494/0.6689, allocations: 339 kB / 0.6956 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000383/0.6693, allocations: 16 kB / 0.6957 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001181/0.6705, allocations: 87.91 kB / 0.6957 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/0.6707, allocations: 60.25 kB / 0.6958 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.117e-05/0.6707, allocations: 31.97 kB / 0.6958 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001695/0.6724, allocations: 0.8701 MB / 0.6967 GB, free: 9.574 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6725, allocations: 0 / 0.6967 GB, free: 9.574 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002335/0.6748, allocations: 0.7018 MB / 0.6974 GB, free: 8.871 MB / 0.5137 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.001258/0.6761, allocations: 461.1 kB / 0.6978 GB, free: 8.426 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003248/0.6793, allocations: 1.18 MB / 0.699 GB, free: 7.25 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/0.6794, allocations: 0 / 0.699 GB, free: 7.25 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001097/0.6805, allocations: 411.3 kB / 0.6994 GB, free: 6.852 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005651/0.6861, allocations: 0.7941 MB / 0.7001 GB, free: 6.07 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005491/0.6916, allocations: 2.815 MB / 0.7029 GB, free: 3.172 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001244/0.6929, allocations: 1.184 MB / 0.704 GB, free: 1.961 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001674/0.6946, allocations: 303.4 kB / 0.7043 GB, free: 1.664 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004019/0.695, allocations: 115.3 kB / 0.7044 GB, free: 1.551 MB / 0.5137 GB Notification: Performance of SimCode: time 1.132e-06/0.695, allocations: 0 / 0.7044 GB, free: 1.551 MB / 0.5137 GB Notification: Performance of Templates: time 0.05789/0.7529, allocations: 31.77 MB / 0.7355 GB, free: 2.133 MB / 0.545 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)