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.006125/0.006125, allocations: 102.1 kB / 15.73 MB, free: 6.438 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.001253/0.001253, allocations: 194.3 kB / 16.67 MB, free: 6.355 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.422/1.422, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7688/0.7688, allocations: 132.2 MB / 422.7 MB, free: 1.676 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 60.08 kB / 0.5814 GB, free: 7.527 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4562/0.4574, allocations: 80.2 MB / 0.6597 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.07314/0.5306, allocations: 75.21 MB / 0.7332 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02349/0.5541, allocations: 15.13 MB / 0.7479 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002958/0.5571, allocations: 75.56 kB / 0.748 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002936/0.5601, allocations: 0.8541 MB / 0.7488 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008481/0.5686, allocations: 2.716 MB / 0.7515 GB, free: 8 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003821/0.5725, allocations: 1.403 MB / 0.7529 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006415/0.5789, allocations: 4.404 MB / 0.7572 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002758/0.5817, allocations: 1.445 MB / 0.7586 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004679/0.5864, allocations: 1.682 MB / 0.7602 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002721/0.5892, allocations: 1.216 MB / 0.7614 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003566/0.5895, allocations: 164 kB / 0.7615 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004183/0.5937, allocations: 1.423 MB / 0.7629 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005863/0.5943, allocations: 402.6 kB / 0.7633 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001474/0.5958, allocations: 0.9138 MB / 0.7642 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004911/0.6007, allocations: 2.892 MB / 0.767 GB, free: 8.02 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.6008, allocations: 0 / 0.767 GB, free: 8.02 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.784e-06/0.6008, allocations: 0 / 0.767 GB, free: 8.02 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.657e-05/0.6008, allocations: 0 / 0.767 GB, free: 8.02 MB / 0.5919 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.003775/0.6046, allocations: 2.098 MB / 0.7691 GB, free: 5.855 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.6046, allocations: 8.031 kB / 0.7691 GB, free: 5.848 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008233/0.6055, allocations: 226.9 kB / 0.7693 GB, free: 5.625 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002532/0.608, allocations: 1.532 MB / 0.7708 GB, free: 4.035 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.965e-05/0.6081, allocations: 78 kB / 0.7709 GB, free: 3.961 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001445/0.6082, allocations: 100 kB / 0.771 GB, free: 3.863 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002046/0.6103, allocations: 1.112 MB / 0.7721 GB, free: 2.715 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.683e-05/0.6103, allocations: 3.938 kB / 0.7721 GB, free: 2.711 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000104/0.6104, allocations: 40 kB / 0.7721 GB, free: 2.672 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.735e-05/0.6105, allocations: 31.94 kB / 0.7721 GB, free: 2.641 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001965/0.6125, allocations: 0.8939 MB / 0.773 GB, free: 1.746 MB / 0.5919 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.005907/0.6184, allocations: 4.911 MB / 0.7778 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001412/0.6198, allocations: 0.6134 MB / 0.7784 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007263/0.6205, allocations: 354.8 kB / 0.7787 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006738/0.6212, allocations: 0.8355 MB / 0.7796 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/0.6213, allocations: 43.12 kB / 0.7796 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=62): time 2.655e-06/0.6213, allocations: 4 kB / 0.7796 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=62): time 0.00483/0.6261, allocations: 1.397 MB / 0.781 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.6262, allocations: 59.91 kB / 0.781 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00158/0.6278, allocations: 1.234 MB / 0.7822 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.503e-05/0.6278, allocations: 41.7 kB / 0.7823 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005132/0.6284, allocations: 0.6026 MB / 0.7829 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002058/0.6286, allocations: 216.9 kB / 0.7831 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002361/0.6288, allocations: 162.5 kB / 0.7832 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.629, allocations: 333.9 kB / 0.7835 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006755/0.6296, allocations: 292.7 kB / 0.7838 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008458/0.6305, allocations: 491.9 kB / 0.7843 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001452/0.632, allocations: 0.7081 MB / 0.785 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.632, allocations: 4 kB / 0.785 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004701/0.6367, allocations: 1.269 MB / 0.7862 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.6367, allocations: 7.984 kB / 0.7862 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.6367, allocations: 4 kB / 0.7862 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006828/0.6374, allocations: 148.9 kB / 0.7864 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006318/0.6381, allocations: 159.8 kB / 0.7865 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009069/0.639, allocations: 0.7182 MB / 0.7872 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/0.6401, allocations: 123.1 kB / 0.7873 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.654e-05/0.6402, allocations: 32 kB / 0.7874 GB, free: 2.309 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001104/0.6413, allocations: 0.5487 MB / 0.7879 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008801/0.6422, allocations: 0.4928 MB / 0.7884 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001445/0.6436, allocations: 0.7043 MB / 0.7891 GB, free: 448 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.996e-06/0.6437, allocations: 0 / 0.7891 GB, free: 448 kB / 0.6075 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004706/0.6484, allocations: 1.254 MB / 0.7903 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.6484, allocations: 6.719 kB / 0.7903 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.6484, allocations: 8 kB / 0.7903 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005848/0.649, allocations: 152.7 kB / 0.7905 GB, free: 15 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006041/0.6496, allocations: 151.8 kB / 0.7906 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008593/0.6505, allocations: 0.7239 MB / 0.7913 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001128/0.6516, allocations: 103.4 kB / 0.7914 GB, free: 14 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.823e-05/0.6517, allocations: 35.98 kB / 0.7915 GB, free: 13.97 MB / 0.6231 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.0002765/0.652, allocations: 224 kB / 0.7917 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003429/0.6524, allocations: 138.3 kB / 0.7918 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004829/0.6572, allocations: 1.251 MB / 0.793 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-05/0.6572, allocations: 11.98 kB / 0.793 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.6573, allocations: 4 kB / 0.793 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00423/0.6615, allocations: 1.088 MB / 0.7941 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005415/0.6669, allocations: 2.321 MB / 0.7964 GB, free: 8.766 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.221e-05/0.667, allocations: 4 kB / 0.7964 GB, free: 8.762 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005035/0.6675, allocations: 111.9 kB / 0.7965 GB, free: 8.652 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005694/0.668, allocations: 153 kB / 0.7966 GB, free: 8.5 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.919e-05/0.6681, allocations: 19.98 kB / 0.7966 GB, free: 8.48 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008777/0.669, allocations: 0.7085 MB / 0.7973 GB, free: 7.746 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.669, allocations: 3.938 kB / 0.7973 GB, free: 7.742 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003021/0.672, allocations: 1.403 MB / 0.7987 GB, free: 6.277 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008014/0.6729, allocations: 303.2 kB / 0.799 GB, free: 5.961 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003925/0.6733, allocations: 23.98 kB / 0.799 GB, free: 5.938 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001131/0.6744, allocations: 52 kB / 0.7991 GB, free: 5.887 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001394/0.6746, allocations: 56.25 kB / 0.7991 GB, free: 5.832 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.315e-05/0.6747, allocations: 27.98 kB / 0.7991 GB, free: 5.805 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001752/0.6764, allocations: 0.8896 MB / 0.8 GB, free: 4.914 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6764, allocations: 0 / 0.8 GB, free: 4.914 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002271/0.6787, allocations: 0.7096 MB / 0.8007 GB, free: 4.203 MB / 0.6231 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.001161/0.6799, allocations: 477.7 kB / 0.8012 GB, free: 3.742 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002883/0.6828, allocations: 1.125 MB / 0.8023 GB, free: 2.617 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/0.6828, allocations: 0 / 0.8023 GB, free: 2.617 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.00103/0.6838, allocations: 395.2 kB / 0.8026 GB, free: 2.227 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003968/0.6878, allocations: 0.8034 MB / 0.8034 GB, free: 1.469 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004497/0.6923, allocations: 2.276 MB / 0.8056 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008852/0.6932, allocations: 1.176 MB / 0.8068 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001214/0.6944, allocations: 302.7 kB / 0.8071 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002877/0.6947, allocations: 111.4 kB / 0.8072 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of SimCode: time 2.004e-06/0.6948, allocations: 0 / 0.8072 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of Templates: time 0.05451/0.7493, allocations: 32.26 MB / 0.8387 GB, free: 13.64 MB / 0.67 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)