Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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_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.001571/0.001571, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00133/0.00133, allocations: 192.8 kB / 16.13 MB, free: 6.703 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.375/1.375, 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/package.mo): time 0.7856/0.7856, allocations: 132.2 MB / 422.2 MB, free: 2.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 68.22 kB / 0.5011 GB, free: 9.207 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1508, allocations: 80.2 MB / 0.5794 GB, free: 9.223 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.3727/0.5236, allocations: 74.74 MB / 0.6524 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01795/0.5416, allocations: 15.19 MB / 0.6672 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003393/0.545, allocations: 59.81 kB / 0.6673 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002872/0.5479, allocations: 0.6763 MB / 0.668 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007924/0.5559, allocations: 2.381 MB / 0.6703 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004191/0.5601, allocations: 1.262 MB / 0.6715 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.009515/0.5697, allocations: 5.562 MB / 0.677 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00337/0.5731, allocations: 1.194 MB / 0.6781 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004431/0.5776, allocations: 1.377 MB / 0.6795 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003435/0.581, allocations: 1.207 MB / 0.6806 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.000802/0.5819, allocations: 73.62 kB / 0.6807 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004465/0.5864, allocations: 1.281 MB / 0.682 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.00096/0.5873, allocations: 312.2 kB / 0.6823 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002434/0.5898, allocations: 0.808 MB / 0.683 GB, free: 9.891 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.006015/0.5958, allocations: 2.796 MB / 0.6858 GB, free: 8.848 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.5959, allocations: 5.188 kB / 0.6858 GB, free: 8.844 MB / 0.5137 GB Notification: Performance of FrontEnd: time 9.92e-07/0.5959, allocations: 3.938 kB / 0.6858 GB, free: 8.84 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8e-05/0.596, allocations: 0 / 0.6858 GB, free: 8.84 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.006108/0.6021, allocations: 2.095 MB / 0.6878 GB, free: 7.461 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.6021, allocations: 10.39 kB / 0.6878 GB, free: 7.461 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001094/0.6032, allocations: 231.5 kB / 0.6881 GB, free: 7.371 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003523/0.6068, allocations: 1.5 MB / 0.6895 GB, free: 6.453 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.214e-05/0.6069, allocations: 73 kB / 0.6896 GB, free: 6.422 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001714/0.6071, allocations: 109.4 kB / 0.6897 GB, free: 6.383 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00241/0.6095, allocations: 1.104 MB / 0.6908 GB, free: 5.891 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.681e-05/0.6095, allocations: 0 / 0.6908 GB, free: 5.891 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001019/0.6096, allocations: 42.06 kB / 0.6908 GB, free: 5.859 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.879e-05/0.6097, allocations: 25.59 kB / 0.6908 GB, free: 5.859 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002072/0.6117, allocations: 0.8994 MB / 0.6917 GB, free: 5.539 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.007572/0.6193, allocations: 4.914 MB / 0.6965 GB, free: 2.09 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001533/0.6209, allocations: 0.6154 MB / 0.6971 GB, free: 1.867 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000741/0.6216, allocations: 348.7 kB / 0.6975 GB, free: 1.754 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006873/0.6223, allocations: 0.8298 MB / 0.6983 GB, free: 0.7969 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/0.6224, allocations: 42.91 kB / 0.6983 GB, free: 0.75 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=62): time 3.807e-06/0.6224, allocations: 0 / 0.6983 GB, free: 0.75 MB / 0.5137 GB Notification: Performance of matching and sorting (n=62): time 0.005333/0.6277, allocations: 1.409 MB / 0.6997 GB, free: 272 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/0.6278, allocations: 57.84 kB / 0.6997 GB, free: 208 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002028/0.6298, allocations: 1.21 MB / 0.7009 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001316/0.63, allocations: 47.17 kB / 0.701 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005544/0.6305, allocations: 0.5981 MB / 0.7015 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002613/0.6308, allocations: 221.9 kB / 0.7018 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002527/0.6311, allocations: 159.4 kB / 0.7019 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.6312, allocations: 338.7 kB / 0.7022 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006969/0.6319, allocations: 289.8 kB / 0.7025 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000915/0.6328, allocations: 499.6 kB / 0.703 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001468/0.6343, allocations: 0.7 MB / 0.7037 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.6343, allocations: 5.281 kB / 0.7037 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005072/0.6394, allocations: 1.264 MB / 0.7049 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.512e-05/0.6395, allocations: 7.438 kB / 0.7049 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.6395, allocations: 3.594 kB / 0.7049 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007432/0.6402, allocations: 159.7 kB / 0.7051 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006622/0.6409, allocations: 155.9 kB / 0.7052 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001002/0.6419, allocations: 0.7132 MB / 0.7059 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00173/0.6437, allocations: 159.2 kB / 0.7061 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.433e-05/0.6437, allocations: 30.77 kB / 0.7061 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00132/0.6451, allocations: 0.5553 MB / 0.7066 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008422/0.6459, allocations: 494.5 kB / 0.7071 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001449/0.6474, allocations: 0.6984 MB / 0.7078 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.179e-06/0.6474, allocations: 1.219 kB / 0.7078 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004895/0.6523, allocations: 1.272 MB / 0.709 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.885e-05/0.6523, allocations: 7.094 kB / 0.709 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.6524, allocations: 6.594 kB / 0.7091 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006055/0.653, allocations: 159.8 kB / 0.7092 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005938/0.6536, allocations: 154.2 kB / 0.7094 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008683/0.6545, allocations: 0.7229 MB / 0.7101 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001682/0.6561, allocations: 136.2 kB / 0.7102 GB, free: 9.934 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.217e-05/0.6562, allocations: 31.52 kB / 0.7102 GB, free: 9.926 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.0003507/0.6566, allocations: 229.4 kB / 0.7104 GB, free: 9.707 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003271/0.6569, allocations: 135.6 kB / 0.7106 GB, free: 9.637 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004562/0.6615, allocations: 1.249 MB / 0.7118 GB, free: 8.953 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.01e-05/0.6615, allocations: 11.23 kB / 0.7118 GB, free: 8.949 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.6615, allocations: 3.938 kB / 0.7118 GB, free: 8.945 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003814/0.6654, allocations: 1.095 MB / 0.7129 GB, free: 8.324 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004456/0.6698, allocations: 2.301 MB / 0.7151 GB, free: 6.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.6699, allocations: 5.062 kB / 0.7151 GB, free: 6.68 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004899/0.6704, allocations: 115 kB / 0.7152 GB, free: 6.648 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005732/0.6709, allocations: 142.3 kB / 0.7154 GB, free: 6.582 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.08e-05/0.671, allocations: 24.89 kB / 0.7154 GB, free: 6.566 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009432/0.6719, allocations: 0.7042 MB / 0.7161 GB, free: 5.945 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.992e-06/0.672, allocations: 9.031 kB / 0.7161 GB, free: 5.941 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002728/0.6747, allocations: 1.401 MB / 0.7175 GB, free: 4.922 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006841/0.6754, allocations: 307.2 kB / 0.7178 GB, free: 4.602 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001913/0.6756, allocations: 19.94 kB / 0.7178 GB, free: 4.582 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008848/0.6765, allocations: 83.88 kB / 0.7178 GB, free: 4.5 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.6766, allocations: 52.31 kB / 0.7179 GB, free: 4.449 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-05/0.6767, allocations: 35.97 kB / 0.7179 GB, free: 4.414 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001205/0.6779, allocations: 0.8739 MB / 0.7188 GB, free: 3.539 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.01e-07/0.6779, allocations: 0 / 0.7188 GB, free: 3.539 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001952/0.6799, allocations: 0.7057 MB / 0.7195 GB, free: 2.832 MB / 0.5294 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.0008823/0.6808, allocations: 450.1 kB / 0.7199 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002603/0.6834, allocations: 1.119 MB / 0.721 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.6834, allocations: 3.938 kB / 0.721 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009269/0.6843, allocations: 389 kB / 0.7214 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003696/0.688, allocations: 0.762 MB / 0.7221 GB, free: 172 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004114/0.6922, allocations: 2.764 MB / 0.7248 GB, free: 13.33 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007149/0.6929, allocations: 1.172 MB / 0.726 GB, free: 12.13 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001358/0.6943, allocations: 318.4 kB / 0.7263 GB, free: 11.82 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002513/0.6945, allocations: 99.42 kB / 0.7264 GB, free: 11.73 MB / 0.545 GB Notification: Performance of SimCode: time 2.304e-06/0.6945, allocations: 0 / 0.7264 GB, free: 11.73 MB / 0.545 GB Notification: Performance of Templates: time 0.05191/0.7464, allocations: 30.34 MB / 0.756 GB, free: 13.76 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1)