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.0009945/0.0009946, allocations: 102.1 kB / 16.35 MB, free: 5.875 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.001055/0.001055, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.253/1.253, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7659/0.7659, allocations: 135.1 MB / 426.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 75.88 kB / 0.5067 GB, free: 7.656 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3116/0.3128, allocations: 80.9 MB / 0.5858 GB, free: 25.58 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.06338/0.3762, allocations: 75.21 MB / 0.6592 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01889/0.3952, allocations: 15.14 MB / 0.674 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001885/0.3971, allocations: 67.56 kB / 0.674 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00236/0.3995, allocations: 0.8345 MB / 0.6749 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00622/0.4057, allocations: 2.577 MB / 0.6774 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003211/0.409, allocations: 1.396 MB / 0.6787 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.005121/0.4141, allocations: 4.4 MB / 0.683 GB, free: 6.707 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002048/0.4162, allocations: 1.445 MB / 0.6845 GB, free: 5.23 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003288/0.4195, allocations: 1.635 MB / 0.686 GB, free: 3.594 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001975/0.4215, allocations: 1.217 MB / 0.6872 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003825/0.4218, allocations: 164 kB / 0.6874 GB, free: 2.211 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002903/0.4248, allocations: 1.427 MB / 0.6888 GB, free: 0.7812 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005777/0.4253, allocations: 398.6 kB / 0.6892 GB, free: 400 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001439/0.4268, allocations: 0.906 MB / 0.6901 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004973/0.4318, allocations: 2.886 MB / 0.6929 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.4318, allocations: 0 / 0.6929 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.064e-06/0.4318, allocations: 4 kB / 0.6929 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.681e-05/0.4319, allocations: 0 / 0.6929 GB, free: 12.58 MB / 0.5294 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.004864/0.4368, allocations: 2.095 MB / 0.6949 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.4368, allocations: 9.109 kB / 0.6949 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009264/0.4377, allocations: 238.7 kB / 0.6952 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002885/0.4406, allocations: 1.532 MB / 0.6967 GB, free: 8.59 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.41e-05/0.4407, allocations: 74 kB / 0.6967 GB, free: 8.52 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001468/0.4409, allocations: 100 kB / 0.6968 GB, free: 8.422 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001848/0.4427, allocations: 1.1 MB / 0.6979 GB, free: 7.285 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.216e-05/0.4427, allocations: 4 kB / 0.6979 GB, free: 7.281 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.244e-05/0.4428, allocations: 40 kB / 0.6979 GB, free: 7.242 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.276e-05/0.4429, allocations: 28 kB / 0.698 GB, free: 7.215 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001727/0.4446, allocations: 0.89 MB / 0.6988 GB, free: 6.324 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.005517/0.4501, allocations: 4.919 MB / 0.7036 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001288/0.4514, allocations: 0.6249 MB / 0.7042 GB, free: 500 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006712/0.4521, allocations: 356.5 kB / 0.7046 GB, free: 144 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006292/0.4528, allocations: 0.8316 MB / 0.7054 GB, free: 15.12 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.4528, allocations: 39.12 kB / 0.7054 GB, free: 15.07 MB / 0.545 GB Notification: Performance of pre-optimization done (n=62): time 2.525e-06/0.4528, allocations: 0 / 0.7054 GB, free: 15.07 MB / 0.545 GB Notification: Performance of matching and sorting (n=62): time 0.004379/0.4572, allocations: 1.408 MB / 0.7068 GB, free: 13.64 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.322e-05/0.4572, allocations: 63.91 kB / 0.7069 GB, free: 13.56 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001497/0.4587, allocations: 1.226 MB / 0.7081 GB, free: 12.32 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.755e-05/0.4588, allocations: 41.7 kB / 0.7081 GB, free: 12.27 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000486/0.4593, allocations: 0.5988 MB / 0.7087 GB, free: 11.67 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001859/0.4595, allocations: 216.8 kB / 0.7089 GB, free: 11.45 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002471/0.4598, allocations: 158.6 kB / 0.7091 GB, free: 11.29 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.4599, allocations: 333.9 kB / 0.7094 GB, free: 10.96 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000639/0.4605, allocations: 292.7 kB / 0.7096 GB, free: 10.67 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000823/0.4614, allocations: 496.7 kB / 0.7101 GB, free: 10.1 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001316/0.4627, allocations: 0.712 MB / 0.7108 GB, free: 9.34 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.4627, allocations: 0 / 0.7108 GB, free: 9.34 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004259/0.467, allocations: 1.269 MB / 0.7121 GB, free: 8.059 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.467, allocations: 10.19 kB / 0.7121 GB, free: 8.051 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.467, allocations: 384 / 0.7121 GB, free: 8.051 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000628/0.4676, allocations: 158.9 kB / 0.7122 GB, free: 7.895 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005609/0.4682, allocations: 151.8 kB / 0.7124 GB, free: 7.746 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007992/0.469, allocations: 0.7278 MB / 0.7131 GB, free: 6.992 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008802/0.4699, allocations: 115.1 kB / 0.7132 GB, free: 6.879 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.236e-05/0.47, allocations: 35.98 kB / 0.7132 GB, free: 6.844 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009692/0.471, allocations: 0.5526 MB / 0.7138 GB, free: 6.289 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007766/0.4718, allocations: 491.8 kB / 0.7142 GB, free: 5.734 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001285/0.4731, allocations: 0.7003 MB / 0.7149 GB, free: 4.992 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.294e-06/0.4731, allocations: 4 kB / 0.7149 GB, free: 4.988 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004099/0.4772, allocations: 1.261 MB / 0.7161 GB, free: 3.715 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.4772, allocations: 4 kB / 0.7161 GB, free: 3.711 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.4772, allocations: 4 kB / 0.7162 GB, free: 3.707 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005177/0.4777, allocations: 161 kB / 0.7163 GB, free: 3.547 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005408/0.4783, allocations: 155.8 kB / 0.7165 GB, free: 3.395 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007464/0.479, allocations: 0.7162 MB / 0.7172 GB, free: 2.652 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009213/0.48, allocations: 99.44 kB / 0.7172 GB, free: 2.555 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.977e-05/0.48, allocations: 32 kB / 0.7173 GB, free: 2.523 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.0002188/0.4803, allocations: 232.1 kB / 0.7175 GB, free: 2.289 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002637/0.4805, allocations: 142.2 kB / 0.7176 GB, free: 2.148 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004178/0.4847, allocations: 1.258 MB / 0.7189 GB, free: 0.875 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.387e-05/0.4848, allocations: 8 kB / 0.7189 GB, free: 0.8672 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.4848, allocations: 0 / 0.7189 GB, free: 0.8672 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003679/0.4884, allocations: 1.092 MB / 0.7199 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003827/0.4923, allocations: 2.318 MB / 0.7222 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.385e-06/0.4923, allocations: 4 kB / 0.7222 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004441/0.4928, allocations: 111.9 kB / 0.7223 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000519/0.4933, allocations: 142.1 kB / 0.7224 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.981e-05/0.4934, allocations: 31.92 kB / 0.7225 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007216/0.4941, allocations: 0.7006 MB / 0.7232 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.668e-06/0.4941, allocations: 4 kB / 0.7232 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002554/0.4967, allocations: 1.403 MB / 0.7245 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005641/0.4972, allocations: 311.1 kB / 0.7248 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000205/0.4974, allocations: 16 kB / 0.7248 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007914/0.4982, allocations: 63.86 kB / 0.7249 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/0.4984, allocations: 60.3 kB / 0.725 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.55e-05/0.4984, allocations: 31.98 kB / 0.725 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001206/0.4996, allocations: 0.8857 MB / 0.7259 GB, free: 9.441 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.51e-07/0.4997, allocations: 0 / 0.7259 GB, free: 9.441 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001709/0.5014, allocations: 0.7096 MB / 0.7266 GB, free: 8.73 MB / 0.5606 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.0008906/0.5023, allocations: 468.5 kB / 0.727 GB, free: 8.277 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002422/0.5047, allocations: 1.113 MB / 0.7281 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.5047, allocations: 5 kB / 0.7281 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008516/0.5056, allocations: 406.4 kB / 0.7285 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002998/0.5086, allocations: 0.8011 MB / 0.7293 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003471/0.5121, allocations: 2.28 MB / 0.7315 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007139/0.5128, allocations: 1.168 MB / 0.7326 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009427/0.5137, allocations: 311 kB / 0.7329 GB, free: 2.156 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002397/0.514, allocations: 107.4 kB / 0.733 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of SimCode: time 1.633e-06/0.514, allocations: 0 / 0.733 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of Templates: time 0.2681/0.7821, allocations: 32.03 MB / 0.7643 GB, free: 149.6 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1)