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.001121/0.001121, allocations: 108 kB / 15.61 MB, free: 152 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.001233/0.001233, allocations: 197.7 kB / 16.53 MB, free: 6.66 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.435/1.435, allocations: 222.9 MB / 240.2 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.056/1.056, allocations: 135.1 MB / 425.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 59.75 kB / 0.5053 GB, free: 5.316 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1793, allocations: 80.94 MB / 0.5844 GB, free: 4.535 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.3496/0.5289, allocations: 75.19 MB / 0.6578 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0184/0.5473, allocations: 15.14 MB / 0.6726 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002986/0.5504, allocations: 66.5 kB / 0.6727 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002555/0.553, allocations: 0.8353 MB / 0.6735 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008677/0.5617, allocations: 2.588 MB / 0.676 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004095/0.5658, allocations: 1.37 MB / 0.6773 GB, free: 9.266 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.007126/0.5729, allocations: 4.387 MB / 0.6816 GB, free: 7.074 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0024/0.5753, allocations: 1.454 MB / 0.683 GB, free: 6.367 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004324/0.5797, allocations: 1.63 MB / 0.6846 GB, free: 5.566 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002317/0.582, allocations: 1.218 MB / 0.6858 GB, free: 4.996 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003358/0.5824, allocations: 163.7 kB / 0.686 GB, free: 4.996 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003606/0.586, allocations: 1.42 MB / 0.6874 GB, free: 4.477 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004934/0.5865, allocations: 403.7 kB / 0.6877 GB, free: 4.219 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001221/0.5877, allocations: 0.9045 MB / 0.6886 GB, free: 3.652 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004844/0.5926, allocations: 2.859 MB / 0.6914 GB, free: 2.566 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.5926, allocations: 0.5156 kB / 0.6914 GB, free: 2.566 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5926, allocations: 5.219 kB / 0.6914 GB, free: 2.562 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.601e-05/0.5927, allocations: 0 / 0.6914 GB, free: 2.562 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.004328/0.597, allocations: 2.098 MB / 0.6935 GB, free: 1.184 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.597, allocations: 9 kB / 0.6935 GB, free: 1.184 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000909/0.598, allocations: 229 kB / 0.6937 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002602/0.6006, allocations: 1.463 MB / 0.6951 GB, free: 196 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.045e-05/0.6007, allocations: 76.5 kB / 0.6952 GB, free: 164 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001528/0.6008, allocations: 102 kB / 0.6953 GB, free: 132 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00215/0.603, allocations: 1.103 MB / 0.6964 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.587e-05/0.603, allocations: 5.562 kB / 0.6964 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.706e-05/0.6031, allocations: 37.97 kB / 0.6964 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.651e-05/0.6032, allocations: 25.72 kB / 0.6964 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002033/0.6052, allocations: 0.8957 MB / 0.6973 GB, free: 15.29 MB / 0.5294 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.007173/0.6124, allocations: 4.946 MB / 0.7021 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00149/0.6139, allocations: 0.6123 MB / 0.7027 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007338/0.6147, allocations: 354.8 kB / 0.7031 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006736/0.6153, allocations: 0.8308 MB / 0.7039 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.58e-05/0.6154, allocations: 43.16 kB / 0.7039 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=62): time 3.958e-06/0.6154, allocations: 0 / 0.7039 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of matching and sorting (n=62): time 0.005413/0.6208, allocations: 1.409 MB / 0.7053 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/0.6209, allocations: 57.97 kB / 0.7054 GB, free: 9.945 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002057/0.623, allocations: 1.23 MB / 0.7066 GB, free: 9.438 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000152/0.6231, allocations: 39.52 kB / 0.7066 GB, free: 9.398 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005488/0.6237, allocations: 0.6096 MB / 0.7072 GB, free: 8.914 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002783/0.624, allocations: 220.4 kB / 0.7074 GB, free: 8.723 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002509/0.6242, allocations: 151.3 kB / 0.7076 GB, free: 8.633 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.6244, allocations: 336.7 kB / 0.7079 GB, free: 8.305 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007285/0.6251, allocations: 296.4 kB / 0.7082 GB, free: 8.152 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009217/0.626, allocations: 492.1 kB / 0.7086 GB, free: 7.781 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001518/0.6276, allocations: 0.7098 MB / 0.7093 GB, free: 7.34 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/0.6276, allocations: 5.062 kB / 0.7093 GB, free: 7.336 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005019/0.6326, allocations: 1.272 MB / 0.7106 GB, free: 6.695 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.6327, allocations: 6.875 kB / 0.7106 GB, free: 6.695 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.6327, allocations: 3.594 kB / 0.7106 GB, free: 6.695 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006967/0.6334, allocations: 156.5 kB / 0.7107 GB, free: 6.621 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006357/0.634, allocations: 160.2 kB / 0.7109 GB, free: 6.578 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009589/0.635, allocations: 0.7129 MB / 0.7116 GB, free: 5.957 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001453/0.6365, allocations: 125.8 kB / 0.7117 GB, free: 5.875 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.475e-05/0.6366, allocations: 35.14 kB / 0.7117 GB, free: 5.863 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001274/0.6379, allocations: 0.5555 MB / 0.7123 GB, free: 5.52 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008288/0.6387, allocations: 490 kB / 0.7127 GB, free: 5.148 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001338/0.64, allocations: 0.702 MB / 0.7134 GB, free: 4.711 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.115e-06/0.6401, allocations: 2 kB / 0.7134 GB, free: 4.711 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.00495/0.645, allocations: 1.263 MB / 0.7147 GB, free: 4.078 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.645, allocations: 6.469 kB / 0.7147 GB, free: 4.078 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.6451, allocations: 3.469 kB / 0.7147 GB, free: 4.078 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006064/0.6457, allocations: 151.9 kB / 0.7148 GB, free: 4.008 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006415/0.6463, allocations: 155.6 kB / 0.715 GB, free: 3.969 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009584/0.6473, allocations: 0.7208 MB / 0.7157 GB, free: 3.336 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001624/0.6489, allocations: 105.4 kB / 0.7158 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.587e-05/0.649, allocations: 34.42 kB / 0.7158 GB, free: 3.262 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.0003561/0.6494, allocations: 221.5 kB / 0.716 GB, free: 3.051 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003789/0.6498, allocations: 139.4 kB / 0.7161 GB, free: 2.977 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004917/0.6547, allocations: 1.254 MB / 0.7174 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.089e-05/0.6548, allocations: 11.89 kB / 0.7174 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.6548, allocations: 1.156 kB / 0.7174 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004198/0.659, allocations: 1.092 MB / 0.7185 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004538/0.6635, allocations: 2.327 MB / 0.7207 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.6636, allocations: 2.562 kB / 0.7207 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004688/0.664, allocations: 113.1 kB / 0.7208 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005593/0.6646, allocations: 140.8 kB / 0.721 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.469e-05/0.6647, allocations: 24.17 kB / 0.721 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008119/0.6655, allocations: 0.7085 MB / 0.7217 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/0.6655, allocations: 5.156 kB / 0.7217 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003033/0.6685, allocations: 1.409 MB / 0.7231 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007046/0.6693, allocations: 307.1 kB / 0.7234 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002124/0.6695, allocations: 23.98 kB / 0.7234 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008233/0.6703, allocations: 51.88 kB / 0.7234 GB, free: 13.43 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.6704, allocations: 56.38 kB / 0.7235 GB, free: 13.37 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.135e-05/0.6705, allocations: 31.92 kB / 0.7235 GB, free: 13.34 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001256/0.6718, allocations: 0.8896 MB / 0.7244 GB, free: 12.45 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6718, allocations: 0 / 0.7244 GB, free: 12.45 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002011/0.6738, allocations: 0.7096 MB / 0.7251 GB, free: 11.74 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.0008941/0.6747, allocations: 455.5 kB / 0.7255 GB, free: 11.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002828/0.6775, allocations: 1.162 MB / 0.7266 GB, free: 10.14 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.6775, allocations: 4.125 kB / 0.7266 GB, free: 10.14 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009844/0.6785, allocations: 396.9 kB / 0.727 GB, free: 9.758 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003695/0.6822, allocations: 0.8067 MB / 0.7278 GB, free: 8.992 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003817/0.6861, allocations: 2.321 MB / 0.7301 GB, free: 6.594 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007299/0.6868, allocations: 1.164 MB / 0.7312 GB, free: 5.398 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001247/0.6881, allocations: 311 kB / 0.7315 GB, free: 5.09 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002539/0.6883, allocations: 111.4 kB / 0.7316 GB, free: 4.98 MB / 0.545 GB Notification: Performance of SimCode: time 1.853e-06/0.6884, allocations: 4 kB / 0.7316 GB, free: 4.977 MB / 0.545 GB Notification: Performance of Templates: time 0.04853/0.7369, allocations: 32.06 MB / 0.7629 GB, free: 5.27 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)