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.001878/0.001878, allocations: 105.3 kB / 16.41 MB, free: 6.469 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.002082/0.002082, allocations: 187 kB / 17.34 MB, free: 5.711 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.433/1.433, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8492/0.8492, allocations: 135.2 MB / 426.4 MB, free: 4.012 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 67.2 kB / 0.5864 GB, free: 21.51 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.1687, allocations: 80.93 MB / 0.6654 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.08295/0.2517, allocations: 75.34 MB / 0.739 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4246/0.6762, allocations: 15.14 MB / 0.7537 GB, free: 26.11 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003156/0.6794, allocations: 66.5 kB / 0.7538 GB, free: 26.11 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002552/0.6819, allocations: 0.872 MB / 0.7547 GB, free: 26.11 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008174/0.6901, allocations: 2.723 MB / 0.7573 GB, free: 26.01 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004185/0.6943, allocations: 1.397 MB / 0.7587 GB, free: 25.98 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008813/0.7031, allocations: 4.388 MB / 0.763 GB, free: 25.98 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003024/0.7061, allocations: 1.189 MB / 0.7641 GB, free: 25.87 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005594/0.7117, allocations: 1.684 MB / 0.7658 GB, free: 25.77 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003415/0.7151, allocations: 1.22 MB / 0.767 GB, free: 25.56 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005172/0.7157, allocations: 164.2 kB / 0.7671 GB, free: 25.56 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004539/0.7202, allocations: 1.42 MB / 0.7685 GB, free: 25.54 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005913/0.7208, allocations: 424.4 kB / 0.7689 GB, free: 25.46 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001774/0.7226, allocations: 0.9084 MB / 0.7698 GB, free: 25.22 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006409/0.729, allocations: 2.905 MB / 0.7726 GB, free: 24.86 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.729, allocations: 0 / 0.7726 GB, free: 24.86 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.204e-06/0.729, allocations: 3.938 kB / 0.7726 GB, free: 24.85 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.535e-05/0.729, allocations: 1.25 kB / 0.7726 GB, free: 24.85 MB / 0.5762 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.004755/0.7338, allocations: 2.142 MB / 0.7747 GB, free: 23.75 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.7338, allocations: 13.06 kB / 0.7747 GB, free: 23.75 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009381/0.7348, allocations: 240.9 kB / 0.775 GB, free: 23.66 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00268/0.7375, allocations: 1.542 MB / 0.7765 GB, free: 23.23 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.872e-05/0.7375, allocations: 76.19 kB / 0.7766 GB, free: 23.23 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000174/0.7377, allocations: 103.6 kB / 0.7767 GB, free: 23.23 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002278/0.74, allocations: 1.103 MB / 0.7777 GB, free: 23.09 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.059e-05/0.74, allocations: 4.344 kB / 0.7777 GB, free: 23.09 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.84e-05/0.7401, allocations: 42 kB / 0.7778 GB, free: 23.09 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-05/0.7402, allocations: 24.03 kB / 0.7778 GB, free: 23.09 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002003/0.7422, allocations: 0.8999 MB / 0.7787 GB, free: 23.08 MB / 0.5762 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.006109/0.7483, allocations: 4.921 MB / 0.7835 GB, free: 19.96 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001376/0.7496, allocations: 0.583 MB / 0.7841 GB, free: 19.76 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006821/0.7503, allocations: 335.9 kB / 0.7844 GB, free: 19.65 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005037/0.7508, allocations: 0.8274 MB / 0.7852 GB, free: 18.7 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.7509, allocations: 40.64 kB / 0.7852 GB, free: 18.66 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=62): time 2.906e-06/0.7509, allocations: 4 kB / 0.7852 GB, free: 18.65 MB / 0.5762 GB Notification: Performance of matching and sorting (n=62): time 0.004872/0.7557, allocations: 1.408 MB / 0.7866 GB, free: 18.16 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.793e-05/0.7558, allocations: 58.56 kB / 0.7867 GB, free: 18.1 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001679/0.7574, allocations: 1.233 MB / 0.7879 GB, free: 17.59 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.447e-05/0.7575, allocations: 45.17 kB / 0.7879 GB, free: 17.55 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004143/0.7579, allocations: 0.6096 MB / 0.7885 GB, free: 17.02 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001818/0.7581, allocations: 230.9 kB / 0.7887 GB, free: 16.83 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002308/0.7584, allocations: 155.9 kB / 0.7889 GB, free: 16.73 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.464e-05/0.7584, allocations: 337 kB / 0.7892 GB, free: 16.41 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006098/0.759, allocations: 291.5 kB / 0.7895 GB, free: 16.27 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007526/0.7598, allocations: 492.6 kB / 0.7899 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001364/0.7611, allocations: 0.7141 MB / 0.7906 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.7612, allocations: 1.406 kB / 0.7906 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004393/0.7655, allocations: 1.274 MB / 0.7919 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/0.7656, allocations: 7.188 kB / 0.7919 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.7656, allocations: 2.906 kB / 0.7919 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006714/0.7663, allocations: 152.8 kB / 0.792 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005629/0.7668, allocations: 155.4 kB / 0.7922 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007135/0.7675, allocations: 0.7144 MB / 0.7929 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001235/0.7688, allocations: 130.6 kB / 0.793 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-05/0.7688, allocations: 30.7 kB / 0.793 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001062/0.7699, allocations: 0.5524 MB / 0.7936 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007058/0.7706, allocations: 492.2 kB / 0.794 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001226/0.7718, allocations: 0.7065 MB / 0.7947 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.645e-06/0.7718, allocations: 0 / 0.7947 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004359/0.7762, allocations: 1.273 MB / 0.796 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.7762, allocations: 6.344 kB / 0.796 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.7762, allocations: 9.844 kB / 0.796 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005763/0.7768, allocations: 157.7 kB / 0.7961 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000548/0.7773, allocations: 152.6 kB / 0.7963 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006684/0.778, allocations: 0.7164 MB / 0.797 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001275/0.7793, allocations: 104.9 kB / 0.7971 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.644e-05/0.7794, allocations: 30.8 kB / 0.7971 GB, free: 11.42 MB / 0.5762 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.0002468/0.7796, allocations: 221.7 kB / 0.7973 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002291/0.7798, allocations: 139.2 kB / 0.7975 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004192/0.784, allocations: 1.255 MB / 0.7987 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.726e-05/0.784, allocations: 12.34 kB / 0.7987 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.7841, allocations: 0 / 0.7987 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003586/0.7876, allocations: 1.081 MB / 0.7998 GB, free: 9.84 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004/0.7916, allocations: 2.315 MB / 0.802 GB, free: 8.188 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/0.7916, allocations: 2.938 kB / 0.802 GB, free: 8.188 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004586/0.7921, allocations: 119.3 kB / 0.8021 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005568/0.7927, allocations: 151.8 kB / 0.8023 GB, free: 8.078 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.532e-05/0.7927, allocations: 17.03 kB / 0.8023 GB, free: 8.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006546/0.7934, allocations: 0.7122 MB / 0.803 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.7934, allocations: 5 kB / 0.803 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002467/0.7958, allocations: 1.399 MB / 0.8044 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005568/0.7964, allocations: 318.6 kB / 0.8047 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002016/0.7966, allocations: 16.47 kB / 0.8047 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007647/0.7974, allocations: 52.59 kB / 0.8047 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.7975, allocations: 56.78 kB / 0.8048 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.056e-05/0.7975, allocations: 33.56 kB / 0.8048 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001094/0.7986, allocations: 0.8889 MB / 0.8057 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7986, allocations: 2.562 kB / 0.8057 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00194/0.8006, allocations: 0.7206 MB / 0.8064 GB, free: 5.551 MB / 0.5762 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.0009679/0.8015, allocations: 466.9 kB / 0.8068 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002451/0.804, allocations: 1.071 MB / 0.8079 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.804, allocations: 0 / 0.8079 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000837/0.8048, allocations: 372.9 kB / 0.8082 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003244/0.8081, allocations: 0.798 MB / 0.809 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003446/0.8115, allocations: 2.365 MB / 0.8113 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004626/0.812, allocations: 1.168 MB / 0.8125 GB, free: 264 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003169/0.8123, allocations: 111.4 kB / 0.8126 GB, free: 152 kB / 0.5762 GB Notification: Performance of SimCode: time 9.52e-07/0.8123, allocations: 0 / 0.8126 GB, free: 152 kB / 0.5762 GB Notification: Performance of Templates: time 0.04872/0.861, allocations: 31.47 MB / 0.8433 GB, free: 0.875 MB / 0.6075 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)