Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/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_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar") translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001304/0.001304, 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.001384/0.001384, allocations: 197.8 kB / 16.14 MB, free: 6.695 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.405/1.405, 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.7806/0.7806, allocations: 132.2 MB / 422.2 MB, free: 2.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 59.12 kB / 0.5011 GB, free: 9.223 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1821/0.1833, allocations: 80.21 MB / 0.5794 GB, free: 9.234 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.3624/0.5458, allocations: 74.74 MB / 0.6524 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01627/0.5621, allocations: 15.18 MB / 0.6672 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002562/0.5647, allocations: 60.88 kB / 0.6673 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001959/0.5666, allocations: 0.6743 MB / 0.668 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006187/0.5729, allocations: 2.377 MB / 0.6703 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003219/0.5761, allocations: 1.269 MB / 0.6715 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.007562/0.5837, allocations: 5.559 MB / 0.6769 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00203/0.5858, allocations: 1.198 MB / 0.6781 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003195/0.589, allocations: 1.359 MB / 0.6794 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002075/0.5911, allocations: 1.211 MB / 0.6806 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002018/0.5913, allocations: 73.53 kB / 0.6807 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003336/0.5946, allocations: 1.252 MB / 0.6819 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004284/0.5951, allocations: 318.6 kB / 0.6822 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001143/0.5962, allocations: 0.8075 MB / 0.683 GB, free: 9.895 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004524/0.6007, allocations: 2.775 MB / 0.6857 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.6008, allocations: 5.406 kB / 0.6857 GB, free: 8.855 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.082e-06/0.6008, allocations: 3.938 kB / 0.6857 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.91e-05/0.6008, allocations: 0 / 0.6857 GB, free: 8.852 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.006842/0.6077, allocations: 2.088 MB / 0.6878 GB, free: 7.473 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.9e-05/0.6077, allocations: 10.12 kB / 0.6878 GB, free: 7.473 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001286/0.609, allocations: 231.6 kB / 0.688 GB, free: 7.383 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002879/0.6119, allocations: 1.481 MB / 0.6894 GB, free: 6.477 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.457e-05/0.612, allocations: 77.38 kB / 0.6895 GB, free: 6.441 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002225/0.6122, allocations: 100.5 kB / 0.6896 GB, free: 6.41 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002298/0.6146, allocations: 1.106 MB / 0.6907 GB, free: 5.914 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.9e-05/0.6146, allocations: 5.188 kB / 0.6907 GB, free: 5.91 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.503e-05/0.6147, allocations: 38.33 kB / 0.6907 GB, free: 5.883 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.076e-05/0.6147, allocations: 28.69 kB / 0.6908 GB, free: 5.879 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002104/0.6169, allocations: 0.8911 MB / 0.6916 GB, free: 5.566 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.006838/0.6237, allocations: 4.897 MB / 0.6964 GB, free: 2.125 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00144/0.6252, allocations: 0.6232 MB / 0.697 GB, free: 1.898 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007058/0.6259, allocations: 347.1 kB / 0.6974 GB, free: 1.789 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005943/0.6265, allocations: 0.8313 MB / 0.6982 GB, free: 0.832 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.6265, allocations: 42.19 kB / 0.6982 GB, free: 0.7852 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=61): time 2.234e-06/0.6265, allocations: 1.062 kB / 0.6982 GB, free: 0.7852 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61): time 0.007572/0.6341, allocations: 1.696 MB / 0.6999 GB, free: 284 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.628e-05/0.6342, allocations: 58.81 kB / 0.6999 GB, free: 220 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002043/0.6362, allocations: 1.211 MB / 0.7011 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001322/0.6364, allocations: 43.42 kB / 0.7011 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006302/0.637, allocations: 0.6039 MB / 0.7017 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002708/0.6373, allocations: 217.3 kB / 0.7019 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002841/0.6376, allocations: 155.2 kB / 0.7021 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.6377, allocations: 335.8 kB / 0.7024 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006884/0.6384, allocations: 290.7 kB / 0.7027 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008921/0.6393, allocations: 498.5 kB / 0.7032 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001418/0.6407, allocations: 0.7079 MB / 0.7039 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.6408, allocations: 1.281 kB / 0.7039 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004907/0.6457, allocations: 1.275 MB / 0.7051 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.486e-05/0.6457, allocations: 11.05 kB / 0.7051 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/0.6458, allocations: 3.781 kB / 0.7051 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006604/0.6464, allocations: 133.7 kB / 0.7052 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006716/0.6471, allocations: 165.5 kB / 0.7054 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009306/0.648, allocations: 0.6999 MB / 0.7061 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001769/0.6498, allocations: 160.5 kB / 0.7062 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001179/0.65, allocations: 30.75 kB / 0.7063 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00138/0.6513, allocations: 0.555 MB / 0.7068 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008823/0.6522, allocations: 0.4892 MB / 0.7073 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001506/0.6538, allocations: 0.7064 MB / 0.708 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.111e-06/0.6538, allocations: 5.094 kB / 0.708 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004993/0.6588, allocations: 1.264 MB / 0.7092 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.6588, allocations: 6.656 kB / 0.7092 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.6588, allocations: 2.688 kB / 0.7092 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005073/0.6593, allocations: 144.8 kB / 0.7094 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006006/0.6599, allocations: 159.4 kB / 0.7095 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007938/0.6607, allocations: 0.699 MB / 0.7102 GB, free: 9.941 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001527/0.6623, allocations: 136.9 kB / 0.7103 GB, free: 9.867 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.417e-05/0.6624, allocations: 40.08 kB / 0.7104 GB, free: 9.852 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.0003081/0.6627, allocations: 232.8 kB / 0.7106 GB, free: 9.633 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004474/0.6632, allocations: 139.7 kB / 0.7107 GB, free: 9.559 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004813/0.668, allocations: 1.258 MB / 0.712 GB, free: 8.871 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-05/0.668, allocations: 7.5 kB / 0.712 GB, free: 8.871 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/0.668, allocations: 3.984 kB / 0.712 GB, free: 8.867 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004082/0.6721, allocations: 1.101 MB / 0.713 GB, free: 8.238 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007688/0.6798, allocations: 2.614 MB / 0.7156 GB, free: 6.441 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.776e-06/0.6799, allocations: 2.469 kB / 0.7156 GB, free: 6.441 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004751/0.6803, allocations: 113.9 kB / 0.7157 GB, free: 6.41 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004678/0.6808, allocations: 126.9 kB / 0.7158 GB, free: 6.352 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.707e-05/0.6809, allocations: 21.36 kB / 0.7158 GB, free: 6.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004658/0.6856, allocations: 2.387 MB / 0.7182 GB, free: 4.156 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.6856, allocations: 4 kB / 0.7182 GB, free: 4.152 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005368/0.6909, allocations: 1.699 MB / 0.7198 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008771/0.6918, allocations: 311.3 kB / 0.7201 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004262/0.6923, allocations: 15.94 kB / 0.7201 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0011/0.6934, allocations: 83.88 kB / 0.7202 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001512/0.6936, allocations: 60.25 kB / 0.7203 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.267e-05/0.6936, allocations: 31.97 kB / 0.7203 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001371/0.695, allocations: 0.8701 MB / 0.7212 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.51e-07/0.695, allocations: 0 / 0.7212 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002362/0.6974, allocations: 0.7096 MB / 0.7219 GB, free: 292 kB / 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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001122/0.6985, allocations: 450.1 kB / 0.7223 GB, free: 15.85 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00279/0.7013, allocations: 1.113 MB / 0.7234 GB, free: 14.74 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.255e-06/0.7013, allocations: 4 kB / 0.7234 GB, free: 14.74 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001532/0.7029, allocations: 0.5565 MB / 0.7239 GB, free: 14.17 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004246/0.7071, allocations: 0.7511 MB / 0.7247 GB, free: 13.45 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00569/0.7128, allocations: 2.763 MB / 0.7274 GB, free: 10.61 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00115/0.714, allocations: 1.175 MB / 0.7285 GB, free: 9.402 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001617/0.7156, allocations: 314.3 kB / 0.7288 GB, free: 9.094 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003673/0.716, allocations: 103.4 kB / 0.7289 GB, free: 8.992 MB / 0.545 GB Notification: Performance of SimCode: time 1.703e-06/0.716, allocations: 0 / 0.7289 GB, free: 8.992 MB / 0.545 GB Notification: Performance of Templates: time 0.05151/0.7675, allocations: 30.49 MB / 0.7587 GB, free: 10.88 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1)