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.0008164/0.0008164, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005978/0.005978, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.48/1.48, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7827/0.7827, allocations: 132.3 MB / 423.8 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003504/0.0003504, allocations: 8.281 kB / 0.504 GB, free: 3.891 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4446/0.445, allocations: 81.58 MB / 0.5837 GB, free: 4.039 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.08584/0.5309, allocations: 73.48 MB / 0.6554 GB, free: 6.773 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02335/0.5543, allocations: 15.02 MB / 0.6701 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003495/0.5578, allocations: 55.62 kB / 0.6701 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003292/0.5611, allocations: 0.6799 MB / 0.6708 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.008852/0.57, allocations: 2.375 MB / 0.6731 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003995/0.574, allocations: 1.263 MB / 0.6744 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.007646/0.5817, allocations: 5.554 MB / 0.6798 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003054/0.5848, allocations: 1.167 MB / 0.6809 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003868/0.5887, allocations: 1.334 MB / 0.6822 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002826/0.5915, allocations: 1.155 MB / 0.6834 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004399/0.592, allocations: 56 kB / 0.6834 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003729/0.5957, allocations: 1.251 MB / 0.6846 GB, free: 8.754 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006187/0.5964, allocations: 294.5 kB / 0.6849 GB, free: 8.465 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001852/0.5982, allocations: 0.7984 MB / 0.6857 GB, free: 7.656 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.005904/0.6042, allocations: 2.737 MB / 0.6884 GB, free: 4.91 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 1.03e-05/0.6042, allocations: 4 kB / 0.6884 GB, free: 4.906 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.595e-06/0.6042, allocations: 0 / 0.6884 GB, free: 4.906 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001121/0.6043, allocations: 0 / 0.6884 GB, free: 4.906 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.005166/0.6095, allocations: 1.791 MB / 0.6901 GB, free: 3.051 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.6096, allocations: 12.03 kB / 0.6901 GB, free: 3.039 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001172/0.6107, allocations: 238.8 kB / 0.6904 GB, free: 2.805 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003411/0.6142, allocations: 1.512 MB / 0.6918 GB, free: 1.234 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.522e-05/0.6142, allocations: 74 kB / 0.6919 GB, free: 1.164 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001667/0.6144, allocations: 103.9 kB / 0.692 GB, free: 1.062 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00215/0.6166, allocations: 1.128 MB / 0.6931 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.903e-05/0.6166, allocations: 0 / 0.6931 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.844e-05/0.6167, allocations: 44 kB / 0.6931 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.813e-05/0.6168, allocations: 27.98 kB / 0.6932 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001914/0.6187, allocations: 0.9329 MB / 0.6941 GB, free: 14.89 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.00609/0.6248, allocations: 4.919 MB / 0.6989 GB, free: 9.684 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001447/0.6263, allocations: 0.6438 MB / 0.6995 GB, free: 9.035 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007308/0.627, allocations: 371 kB / 0.6999 GB, free: 8.672 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006481/0.6277, allocations: 0.8277 MB / 0.7007 GB, free: 7.66 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/0.6277, allocations: 43.12 kB / 0.7007 GB, free: 7.605 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=62): time 2.324e-06/0.6277, allocations: 0 / 0.7007 GB, free: 7.605 MB / 0.5294 GB Notification: Performance of matching and sorting (n=62): time 0.004982/0.6327, allocations: 1.53 MB / 0.7022 GB, free: 6.051 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/0.6328, allocations: 59.91 kB / 0.7023 GB, free: 5.98 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001565/0.6343, allocations: 1.218 MB / 0.7035 GB, free: 4.746 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 8.343e-05/0.6344, allocations: 41.7 kB / 0.7035 GB, free: 4.699 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000599/0.635, allocations: 0.5988 MB / 0.7041 GB, free: 4.094 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000245/0.6353, allocations: 220.8 kB / 0.7043 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.6354, allocations: 65.69 kB / 0.7044 GB, free: 3.805 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001847/0.6356, allocations: 337.9 kB / 0.7047 GB, free: 3.469 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000712/0.6363, allocations: 301.8 kB / 0.705 GB, free: 3.172 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008687/0.6372, allocations: 0.5076 MB / 0.7055 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001486/0.6387, allocations: 0.7472 MB / 0.7062 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.6387, allocations: 0 / 0.7062 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004897/0.6436, allocations: 1.402 MB / 0.7076 GB, free: 400 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001137/0.6437, allocations: 189.2 kB / 0.7077 GB, free: 160 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.6437, allocations: 4 kB / 0.7077 GB, free: 156 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007139/0.6445, allocations: 160.8 kB / 0.7079 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006141/0.6451, allocations: 167.7 kB / 0.7081 GB, free: 15.83 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000877/0.646, allocations: 0.7318 MB / 0.7088 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001222/0.6472, allocations: 175 kB / 0.7089 GB, free: 14.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.955e-05/0.6473, allocations: 31.98 kB / 0.709 GB, free: 14.87 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.163e-06/0.6473, allocations: 4 kB / 0.709 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004734/0.6521, allocations: 1.25 MB / 0.7102 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.6521, allocations: 4 kB / 0.7102 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005987/0.6527, allocations: 164.7 kB / 0.7104 GB, free: 13.44 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006246/0.6533, allocations: 163.7 kB / 0.7105 GB, free: 13.28 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008986/0.6542, allocations: 0.7318 MB / 0.7112 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001299/0.6555, allocations: 159.2 kB / 0.7114 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-05/0.6556, allocations: 31.98 kB / 0.7114 GB, free: 12.34 MB / 0.545 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.0007078/0.6563, allocations: 416.9 kB / 0.7118 GB, free: 11.92 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002269/0.6566, allocations: 134.4 kB / 0.7119 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004971/0.6615, allocations: 1.404 MB / 0.7133 GB, free: 10.37 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.778e-05/0.6616, allocations: 8 kB / 0.7133 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.6616, allocations: 0 / 0.7133 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004452/0.6661, allocations: 1.224 MB / 0.7145 GB, free: 9.102 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004521/0.6706, allocations: 2.353 MB / 0.7168 GB, free: 6.641 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/0.6706, allocations: 4 kB / 0.7168 GB, free: 6.637 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004831/0.6711, allocations: 115.9 kB / 0.7169 GB, free: 6.523 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006322/0.6718, allocations: 157 kB / 0.7171 GB, free: 6.367 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.875e-05/0.6718, allocations: 19.98 kB / 0.7171 GB, free: 6.348 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008829/0.6727, allocations: 0.7201 MB / 0.7178 GB, free: 5.602 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/0.6727, allocations: 7.938 kB / 0.7178 GB, free: 5.594 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002977/0.6757, allocations: 1.454 MB / 0.7192 GB, free: 4.07 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000749/0.6765, allocations: 339.2 kB / 0.7195 GB, free: 3.719 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001597/0.6766, allocations: 16 kB / 0.7196 GB, free: 3.703 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009113/0.6776, allocations: 95.75 kB / 0.7197 GB, free: 3.609 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001382/0.6777, allocations: 60.25 kB / 0.7197 GB, free: 3.551 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.263e-05/0.6778, allocations: 27.98 kB / 0.7197 GB, free: 3.523 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001292/0.6791, allocations: 0.874 MB / 0.7206 GB, free: 2.648 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6791, allocations: 0 / 0.7206 GB, free: 2.648 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001913/0.681, allocations: 0.7018 MB / 0.7213 GB, free: 1.945 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.0009561/0.682, allocations: 461.9 kB / 0.7217 GB, free: 1.496 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002705/0.6847, allocations: 1.172 MB / 0.7229 GB, free: 336 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.6847, allocations: 0 / 0.7229 GB, free: 336 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000947/0.6856, allocations: 419.3 kB / 0.7233 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004331/0.69, allocations: 0.8029 MB / 0.724 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004192/0.6942, allocations: 2.815 MB / 0.7268 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007895/0.695, allocations: 1.173 MB / 0.7279 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001279/0.6963, allocations: 309.2 kB / 0.7282 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002913/0.6966, allocations: 115.3 kB / 0.7283 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of SimCode: time 8.71e-07/0.6966, allocations: 0 / 0.7283 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of Templates: time 0.05152/0.7481, allocations: 31.8 MB / 0.7594 GB, free: 11.24 MB / 0.5919 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)