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.001398/0.001398, allocations: 100.5 kB / 16.64 MB, free: 6.824 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.001413/0.001413, allocations: 197.9 kB / 17.57 MB, free: 5.93 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.466/1.466, allocations: 222.9 MB / 241.2 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7664/0.7664, allocations: 122.9 MB / 414.2 MB, free: 36 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001514, allocations: 67.89 kB / 0.4912 GB, free: 7.848 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4255/0.427, allocations: 77.92 MB / 0.5673 GB, free: 32.14 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.06565/0.4927, allocations: 74.54 MB / 0.6401 GB, free: 344 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02273/0.5155, allocations: 15.06 MB / 0.6548 GB, free: 1.238 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004003/0.5195, allocations: 59.62 kB / 0.6549 GB, free: 1.18 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002799/0.5224, allocations: 0.719 MB / 0.6556 GB, free: 468 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007716/0.5301, allocations: 2.41 MB / 0.6579 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003758/0.5339, allocations: 1.296 MB / 0.6592 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006335/0.5403, allocations: 4.412 MB / 0.6635 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002324/0.5426, allocations: 1.441 MB / 0.6649 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004363/0.547, allocations: 1.644 MB / 0.6665 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002216/0.5492, allocations: 1.253 MB / 0.6677 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003135/0.5496, allocations: 160 kB / 0.6679 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003224/0.5528, allocations: 1.423 MB / 0.6693 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004342/0.5532, allocations: 402.5 kB / 0.6697 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001227/0.5545, allocations: 0.906 MB / 0.6706 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0031/0.5576, allocations: 2.234 MB / 0.6727 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.5576, allocations: 0 / 0.6727 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5576, allocations: 0 / 0.6727 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.184e-05/0.5577, allocations: 0 / 0.6727 GB, free: 14.83 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.004093/0.5618, allocations: 2.087 MB / 0.6748 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.5618, allocations: 12.62 kB / 0.6748 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008408/0.5627, allocations: 230.8 kB / 0.675 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00246/0.5652, allocations: 1.489 MB / 0.6765 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.542e-05/0.5652, allocations: 70 kB / 0.6765 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001439/0.5654, allocations: 103.9 kB / 0.6766 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001972/0.5674, allocations: 1.1 MB / 0.6777 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.683e-05/0.5674, allocations: 4 kB / 0.6777 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.023e-05/0.5675, allocations: 43.98 kB / 0.6777 GB, free: 9.543 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.081e-05/0.5675, allocations: 27.98 kB / 0.6778 GB, free: 9.516 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001782/0.5693, allocations: 0.89 MB / 0.6786 GB, free: 8.625 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.00638/0.5757, allocations: 4.909 MB / 0.6834 GB, free: 3.426 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001381/0.5771, allocations: 0.6159 MB / 0.684 GB, free: 2.805 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006555/0.5778, allocations: 350.3 kB / 0.6844 GB, free: 2.461 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006599/0.5785, allocations: 0.8238 MB / 0.6852 GB, free: 1.453 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.829e-05/0.5785, allocations: 47.11 kB / 0.6852 GB, free: 1.398 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=61): time 4.038e-06/0.5785, allocations: 4 kB / 0.6852 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61): time 0.006935/0.5855, allocations: 1.689 MB / 0.6869 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/0.5855, allocations: 59.97 kB / 0.6869 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002082/0.5876, allocations: 1.21 MB / 0.6881 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001427/0.5878, allocations: 37.7 kB / 0.6882 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005679/0.5884, allocations: 0.6065 MB / 0.6887 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002687/0.5886, allocations: 212.9 kB / 0.6889 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002891/0.5889, allocations: 162.5 kB / 0.6891 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.5891, allocations: 334 kB / 0.6894 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006774/0.5898, allocations: 288.7 kB / 0.6897 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008754/0.5906, allocations: 0.4928 MB / 0.6902 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001433/0.5921, allocations: 0.7128 MB / 0.6909 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.175e-06/0.5921, allocations: 3.984 kB / 0.6909 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004709/0.5968, allocations: 1.269 MB / 0.6921 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.958e-05/0.5969, allocations: 8 kB / 0.6921 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.5969, allocations: 0 / 0.6921 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006056/0.5975, allocations: 144.8 kB / 0.6923 GB, free: 9.953 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006467/0.5982, allocations: 155.7 kB / 0.6924 GB, free: 9.801 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008411/0.599, allocations: 0.712 MB / 0.6931 GB, free: 9.066 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001331/0.6004, allocations: 155.1 kB / 0.6933 GB, free: 8.914 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/0.6005, allocations: 39.92 kB / 0.6933 GB, free: 8.875 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001138/0.6016, allocations: 0.5496 MB / 0.6938 GB, free: 8.324 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000853/0.6025, allocations: 0.4929 MB / 0.6943 GB, free: 7.754 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001321/0.6038, allocations: 0.7011 MB / 0.695 GB, free: 7.004 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.376e-06/0.6038, allocations: 0 / 0.695 GB, free: 7.004 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004738/0.6086, allocations: 1.269 MB / 0.6962 GB, free: 5.723 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.6086, allocations: 10.34 kB / 0.6962 GB, free: 5.715 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.208e-06/0.6086, allocations: 4 kB / 0.6962 GB, free: 5.711 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005063/0.6091, allocations: 136.9 kB / 0.6964 GB, free: 5.574 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006155/0.6098, allocations: 159.7 kB / 0.6965 GB, free: 5.418 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008004/0.6106, allocations: 0.7045 MB / 0.6972 GB, free: 4.688 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001401/0.612, allocations: 137 kB / 0.6973 GB, free: 4.555 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.936e-05/0.6121, allocations: 31.98 kB / 0.6974 GB, free: 4.523 MB / 0.5294 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.0003775/0.6125, allocations: 232 kB / 0.6976 GB, free: 4.289 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005612/0.613, allocations: 130.4 kB / 0.6977 GB, free: 4.16 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00484/0.6179, allocations: 1.266 MB / 0.699 GB, free: 2.887 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.05e-05/0.6179, allocations: 4 kB / 0.699 GB, free: 2.883 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.2e-05/0.618, allocations: 0 / 0.699 GB, free: 2.883 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003925/0.6219, allocations: 1.111 MB / 0.7 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00731/0.6292, allocations: 2.606 MB / 0.7026 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.279e-05/0.6293, allocations: 0 / 0.7026 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005089/0.6298, allocations: 115.8 kB / 0.7027 GB, free: 14.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005278/0.6303, allocations: 125 kB / 0.7028 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-05/0.6304, allocations: 19.98 kB / 0.7028 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005093/0.6355, allocations: 2.638 MB / 0.7054 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.97e-05/0.6356, allocations: 8 kB / 0.7054 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005425/0.641, allocations: 1.707 MB / 0.7071 GB, free: 10.18 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008644/0.6419, allocations: 307.2 kB / 0.7074 GB, free: 9.859 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004049/0.6423, allocations: 16 kB / 0.7074 GB, free: 9.844 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001179/0.6435, allocations: 83.88 kB / 0.7075 GB, free: 9.762 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001621/0.6437, allocations: 56.25 kB / 0.7075 GB, free: 9.707 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.567e-05/0.6438, allocations: 35.97 kB / 0.7076 GB, free: 9.672 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001612/0.6454, allocations: 0.8701 MB / 0.7084 GB, free: 8.801 MB / 0.545 GB Notification: Performance of sort global known variables: time 6.41e-07/0.6454, allocations: 0 / 0.7084 GB, free: 8.801 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002781/0.6482, allocations: 0.7057 MB / 0.7091 GB, free: 8.094 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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001252/0.6495, allocations: 450.9 kB / 0.7095 GB, free: 7.656 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003058/0.6526, allocations: 1.149 MB / 0.7107 GB, free: 6.504 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/0.6526, allocations: 0 / 0.7107 GB, free: 6.504 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001535/0.6541, allocations: 0.5681 MB / 0.7112 GB, free: 5.926 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003999/0.6581, allocations: 0.7999 MB / 0.712 GB, free: 5.18 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004895/0.663, allocations: 2.801 MB / 0.7147 GB, free: 2.301 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009435/0.664, allocations: 1.164 MB / 0.7159 GB, free: 1.105 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004057/0.6644, allocations: 111.4 kB / 0.716 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of SimCode: time 8.82e-07/0.6645, allocations: 7.938 kB / 0.716 GB, free: 0.9883 MB / 0.545 GB Notification: Performance of Templates: time 0.04366/0.7081, allocations: 30.97 MB / 0.7462 GB, free: 2.203 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)