Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL") translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.002057/0.002057, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002811/0.002811, allocations: 198 kB / 16.14 MB, free: 6.715 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.483/1.483, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.01/1.01, allocations: 135.6 MB / 425.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 64.23 kB / 0.5052 GB, free: 5.387 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1776/0.1796, allocations: 81.03 MB / 0.5843 GB, free: 4.5 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.3887/0.5684, allocations: 74.74 MB / 0.6573 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01882/0.5872, allocations: 15.19 MB / 0.6721 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002797/0.5901, allocations: 60.53 kB / 0.6722 GB, free: 12 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002561/0.5926, allocations: 0.6762 MB / 0.6729 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007786/0.6005, allocations: 2.381 MB / 0.6752 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004003/0.6045, allocations: 1.264 MB / 0.6764 GB, free: 9.418 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.008181/0.6127, allocations: 5.551 MB / 0.6818 GB, free: 7.25 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002635/0.6154, allocations: 1.192 MB / 0.683 GB, free: 6.723 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003821/0.6192, allocations: 1.38 MB / 0.6844 GB, free: 6.109 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002712/0.622, allocations: 1.208 MB / 0.6855 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004435/0.6224, allocations: 72.88 kB / 0.6856 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004031/0.6265, allocations: 1.271 MB / 0.6868 GB, free: 5.141 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006488/0.6271, allocations: 314.1 kB / 0.6871 GB, free: 4.977 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002102/0.6292, allocations: 0.8155 MB / 0.6879 GB, free: 4.5 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.007252/0.6365, allocations: 2.796 MB / 0.6907 GB, free: 3.457 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.6365, allocations: 0 / 0.6907 GB, free: 3.457 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.653e-06/0.6366, allocations: 0.9688 kB / 0.6907 GB, free: 3.457 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.05e-05/0.6366, allocations: 4 kB / 0.6907 GB, free: 3.453 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.006587/0.6432, allocations: 2.095 MB / 0.6927 GB, free: 2.074 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.6433, allocations: 9.781 kB / 0.6927 GB, free: 2.074 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001169/0.6445, allocations: 232 kB / 0.6929 GB, free: 1.984 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003131/0.6476, allocations: 1.504 MB / 0.6944 GB, free: 1.062 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.117e-05/0.6477, allocations: 71.38 kB / 0.6945 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001684/0.6479, allocations: 106.2 kB / 0.6946 GB, free: 0.9961 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00231/0.6502, allocations: 1.103 MB / 0.6957 GB, free: 0.5039 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.701e-05/0.6502, allocations: 5.375 kB / 0.6957 GB, free: 0.5 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001042/0.6504, allocations: 41.97 kB / 0.6957 GB, free: 480 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.142e-05/0.6504, allocations: 25.08 kB / 0.6957 GB, free: 480 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002113/0.6525, allocations: 0.8974 MB / 0.6966 GB, free: 160 kB / 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.007643/0.6602, allocations: 4.915 MB / 0.7014 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001533/0.6617, allocations: 0.6198 MB / 0.702 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008096/0.6626, allocations: 347.5 kB / 0.7023 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000955/0.6635, allocations: 0.8228 MB / 0.7031 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.72e-05/0.6636, allocations: 46.44 kB / 0.7032 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=62): time 3.296e-06/0.6636, allocations: 0 / 0.7032 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of matching and sorting (n=62): time 0.005416/0.669, allocations: 1.405 MB / 0.7046 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.098e-05/0.6691, allocations: 62.69 kB / 0.7046 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002087/0.6712, allocations: 1.211 MB / 0.7058 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001506/0.6713, allocations: 43.27 kB / 0.7058 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000634/0.672, allocations: 0.5995 MB / 0.7064 GB, free: 9.797 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002701/0.6723, allocations: 218.9 kB / 0.7066 GB, free: 9.605 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000258/0.6725, allocations: 160.1 kB / 0.7068 GB, free: 9.508 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.6727, allocations: 332.8 kB / 0.7071 GB, free: 9.184 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007058/0.6734, allocations: 304.3 kB / 0.7074 GB, free: 9.023 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009518/0.6744, allocations: 0.4902 MB / 0.7079 GB, free: 8.641 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001516/0.6759, allocations: 0.6971 MB / 0.7086 GB, free: 8.211 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.6759, allocations: 1.219 kB / 0.7086 GB, free: 8.211 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004889/0.6808, allocations: 1.265 MB / 0.7098 GB, free: 7.578 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.931e-05/0.6809, allocations: 10.8 kB / 0.7098 GB, free: 7.574 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.6809, allocations: 3.375 kB / 0.7098 GB, free: 7.574 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007122/0.6816, allocations: 151.6 kB / 0.71 GB, free: 7.504 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005851/0.6822, allocations: 160.1 kB / 0.7101 GB, free: 7.461 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009284/0.6831, allocations: 0.7099 MB / 0.7108 GB, free: 6.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001395/0.6845, allocations: 164.2 kB / 0.711 GB, free: 6.742 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.176e-05/0.6846, allocations: 29.11 kB / 0.711 GB, free: 6.734 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001147/0.6858, allocations: 0.5628 MB / 0.7115 GB, free: 6.387 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008301/0.6866, allocations: 486.2 kB / 0.712 GB, free: 6.016 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001412/0.688, allocations: 0.7023 MB / 0.7127 GB, free: 5.574 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.527e-06/0.688, allocations: 0 / 0.7127 GB, free: 5.574 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004669/0.6927, allocations: 1.268 MB / 0.7139 GB, free: 4.938 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.6928, allocations: 6.469 kB / 0.7139 GB, free: 4.938 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.994e-06/0.6928, allocations: 4.859 kB / 0.7139 GB, free: 4.938 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006099/0.6934, allocations: 152.4 kB / 0.7141 GB, free: 4.867 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000591/0.694, allocations: 159.3 kB / 0.7142 GB, free: 4.824 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008435/0.6948, allocations: 0.7122 MB / 0.7149 GB, free: 4.203 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001379/0.6962, allocations: 143.3 kB / 0.7151 GB, free: 4.125 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.866e-05/0.6963, allocations: 29.48 kB / 0.7151 GB, free: 4.117 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.0002987/0.6966, allocations: 223.4 kB / 0.7153 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002622/0.6969, allocations: 140.8 kB / 0.7154 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00437/0.7013, allocations: 1.261 MB / 0.7167 GB, free: 3.137 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.66e-05/0.7013, allocations: 5.375 kB / 0.7167 GB, free: 3.137 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.7013, allocations: 0 / 0.7167 GB, free: 3.137 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003773/0.7051, allocations: 1.097 MB / 0.7177 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004705/0.7098, allocations: 2.296 MB / 0.72 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/0.7098, allocations: 8 kB / 0.72 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004821/0.7103, allocations: 115.8 kB / 0.7201 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005657/0.7109, allocations: 144.8 kB / 0.7202 GB, free: 452 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.109e-05/0.711, allocations: 19.98 kB / 0.7203 GB, free: 432 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008818/0.7119, allocations: 0.7123 MB / 0.721 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.139e-06/0.7119, allocations: 4 kB / 0.721 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002971/0.7148, allocations: 1.395 MB / 0.7223 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000771/0.7156, allocations: 311.1 kB / 0.7226 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002139/0.7159, allocations: 16 kB / 0.7226 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008787/0.7167, allocations: 87.88 kB / 0.7227 GB, free: 13.78 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/0.7169, allocations: 44.31 kB / 0.7228 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.247e-05/0.717, allocations: 39.97 kB / 0.7228 GB, free: 13.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001375/0.7183, allocations: 0.874 MB / 0.7237 GB, free: 12.82 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7183, allocations: 0 / 0.7237 GB, free: 12.82 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002098/0.7205, allocations: 0.7056 MB / 0.7243 GB, free: 12.12 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.001047/0.7215, allocations: 461.2 kB / 0.7248 GB, free: 11.68 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002794/0.7243, allocations: 1.118 MB / 0.7259 GB, free: 10.56 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.7243, allocations: 0 / 0.7259 GB, free: 10.56 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009968/0.7253, allocations: 399.2 kB / 0.7263 GB, free: 10.18 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003841/0.7292, allocations: 0.7618 MB / 0.727 GB, free: 9.441 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004706/0.7339, allocations: 2.759 MB / 0.7297 GB, free: 6.605 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008562/0.7348, allocations: 1.172 MB / 0.7308 GB, free: 5.402 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001443/0.7362, allocations: 317 kB / 0.7311 GB, free: 5.098 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002766/0.7365, allocations: 107.4 kB / 0.7312 GB, free: 4.992 MB / 0.545 GB Notification: Performance of SimCode: time 8.52e-07/0.7365, allocations: 0 / 0.7312 GB, free: 4.992 MB / 0.545 GB Notification: Performance of Templates: time 0.05141/0.7879, allocations: 30.33 MB / 0.7609 GB, free: 7.008 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1)