Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.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_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006526/0.006526, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.001434/0.001434, allocations: 191.7 kB / 16.67 MB, free: 5.523 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: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8007/0.8007, allocations: 132.2 MB / 422.7 MB, free: 6.629 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 73.89 kB / 0.5814 GB, free: 23.83 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1736/0.1749, allocations: 80.21 MB / 0.6597 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.05777/0.2328, allocations: 61.19 MB / 0.7195 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01717/0.25, allocations: 11.98 MB / 0.7312 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002381/0.2524, allocations: 63.62 kB / 0.7312 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002098/0.2545, allocations: 0.6909 MB / 0.7319 GB, free: 60 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006899/0.2615, allocations: 2.071 MB / 0.7339 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003372/0.2648, allocations: 1.206 MB / 0.7351 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004283/0.2691, allocations: 3.086 MB / 0.7381 GB, free: 9.688 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001423/0.2706, allocations: 1.104 MB / 0.7392 GB, free: 8.555 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003108/0.2737, allocations: 1.37 MB / 0.7405 GB, free: 7.184 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001412/0.2751, allocations: 0.8906 MB / 0.7414 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001666/0.2753, allocations: 116 kB / 0.7415 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003055/0.2784, allocations: 1.466 MB / 0.7429 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002753/0.2786, allocations: 294.9 kB / 0.7432 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007637/0.2794, allocations: 0.6958 MB / 0.7439 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003383/0.2828, allocations: 2.318 MB / 0.7462 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.2828, allocations: 0 / 0.7462 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2828, allocations: 3.938 kB / 0.7462 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.979e-05/0.2829, allocations: 0 / 0.7462 GB, free: 1.391 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.431/0.7139, allocations: 1.723 MB / 0.7478 GB, free: 86.34 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/0.7139, allocations: 9.406 kB / 0.7479 GB, free: 86.34 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001924/0.7159, allocations: 344.1 kB / 0.7482 GB, free: 86.26 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002883/0.7188, allocations: 1.156 MB / 0.7493 GB, free: 85.89 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.707e-05/0.7189, allocations: 64.09 kB / 0.7494 GB, free: 85.89 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001292/0.719, allocations: 80.09 kB / 0.7495 GB, free: 85.89 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002205/0.7212, allocations: 0.9686 MB / 0.7504 GB, free: 85.59 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.617e-05/0.7213, allocations: 8.484 kB / 0.7504 GB, free: 85.59 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-05/0.7214, allocations: 34.25 kB / 0.7504 GB, free: 85.56 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.849e-05/0.7214, allocations: 19.5 kB / 0.7505 GB, free: 85.56 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002047/0.7234, allocations: 0.8076 MB / 0.7512 GB, free: 85.3 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.006941/0.7304, allocations: 5.123 MB / 0.7563 GB, free: 81.34 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0017/0.7321, allocations: 0.5539 MB / 0.7568 GB, free: 81.15 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006787/0.7328, allocations: 266.8 kB / 0.757 GB, free: 81.07 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00124/0.7341, allocations: 1.374 MB / 0.7584 GB, free: 79.55 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.7341, allocations: 37.25 kB / 0.7584 GB, free: 79.5 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 4.499e-06/0.7341, allocations: 0 / 0.7584 GB, free: 79.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.008173/0.7423, allocations: 1.758 MB / 0.7601 GB, free: 79.1 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.833e-05/0.7424, allocations: 56.23 kB / 0.7602 GB, free: 79.04 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002713/0.7451, allocations: 1.081 MB / 0.7612 GB, free: 78.59 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001517/0.7452, allocations: 38.11 kB / 0.7613 GB, free: 78.55 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005222/0.7458, allocations: 0.5303 MB / 0.7618 GB, free: 78.13 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001507/0.7459, allocations: 153.8 kB / 0.7619 GB, free: 78.02 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003016/0.7462, allocations: 134.8 kB / 0.7621 GB, free: 77.95 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.457e-05/0.7464, allocations: 334.4 kB / 0.7624 GB, free: 77.62 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007425/0.7471, allocations: 278.8 kB / 0.7627 GB, free: 77.54 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00096/0.7481, allocations: 0.4929 MB / 0.7631 GB, free: 77.18 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001408/0.7495, allocations: 0.6628 MB / 0.7638 GB, free: 76.79 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/0.7495, allocations: 2.75 kB / 0.7638 GB, free: 76.79 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002566/0.7521, allocations: 0.9499 MB / 0.7647 GB, free: 76.43 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.732e-05/0.7521, allocations: 7.719 kB / 0.7647 GB, free: 76.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/0.7521, allocations: 4.125 kB / 0.7647 GB, free: 76.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001321/0.7535, allocations: 306.4 kB / 0.765 GB, free: 76.36 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004854/0.754, allocations: 126.9 kB / 0.7651 GB, free: 76.34 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001416/0.7554, allocations: 0.8951 MB / 0.766 GB, free: 75.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001494/0.7569, allocations: 143.6 kB / 0.7662 GB, free: 75.64 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001145/0.757, allocations: 31.59 kB / 0.7662 GB, free: 75.64 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001215/0.7582, allocations: 489.8 kB / 0.7667 GB, free: 75.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000914/0.7592, allocations: 0.4969 MB / 0.7671 GB, free: 75.04 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001383/0.7606, allocations: 0.6503 MB / 0.7678 GB, free: 74.66 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.095e-05/0.7606, allocations: 5.844 kB / 0.7678 GB, free: 74.66 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002917/0.7635, allocations: 0.9419 MB / 0.7687 GB, free: 74.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.7635, allocations: 6.969 kB / 0.7687 GB, free: 74.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.7636, allocations: 6.188 kB / 0.7687 GB, free: 74.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001129/0.7647, allocations: 302.3 kB / 0.769 GB, free: 74.23 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005103/0.7652, allocations: 118.6 kB / 0.7691 GB, free: 74.21 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001282/0.7665, allocations: 0.9011 MB / 0.77 GB, free: 73.56 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001399/0.7679, allocations: 126.2 kB / 0.7701 GB, free: 73.53 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/0.768, allocations: 33.88 kB / 0.7701 GB, free: 73.52 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (57): * Single equations (assignments): 56 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003097/0.7684, allocations: 216.7 kB / 0.7704 GB, free: 73.31 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004142/0.7688, allocations: 112.5 kB / 0.7705 GB, free: 73.25 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003464/0.7722, allocations: 1.055 MB / 0.7715 GB, free: 72.89 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-05/0.7723, allocations: 7.469 kB / 0.7715 GB, free: 72.89 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.7723, allocations: 1.375 kB / 0.7715 GB, free: 72.89 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.7723, allocations: 3.984 kB / 0.7715 GB, free: 72.89 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004955/0.7773, allocations: 2.058 MB / 0.7735 GB, free: 71.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.177e-06/0.7773, allocations: 5.984 kB / 0.7735 GB, free: 71.48 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001997/0.7775, allocations: 56.56 kB / 0.7736 GB, free: 71.46 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009639/0.7785, allocations: 305.9 kB / 0.7739 GB, free: 71.32 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.368e-05/0.7785, allocations: 9.5 kB / 0.7739 GB, free: 71.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001279/0.7798, allocations: 0.9385 MB / 0.7748 GB, free: 70.58 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.7798, allocations: 2.312 kB / 0.7748 GB, free: 70.58 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003136/0.783, allocations: 1.093 MB / 0.7759 GB, free: 69.91 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006358/0.7836, allocations: 255.2 kB / 0.7761 GB, free: 69.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003329/0.784, allocations: 12.62 kB / 0.7761 GB, free: 69.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009098/0.7849, allocations: 65.67 kB / 0.7762 GB, free: 69.65 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.278e-05/0.785, allocations: 50.53 kB / 0.7762 GB, free: 69.62 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.746e-05/0.7851, allocations: 23.33 kB / 0.7762 GB, free: 69.61 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001521/0.7866, allocations: 0.7485 MB / 0.777 GB, free: 69.19 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.3e-07/0.7866, allocations: 0 / 0.777 GB, free: 69.19 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0023/0.7889, allocations: 0.5867 MB / 0.7776 GB, free: 69.08 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (33): * Single equations (assignments): 28 * 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 {(2,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001039/0.79, allocations: 397.4 kB / 0.7779 GB, free: 68.91 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002832/0.7928, allocations: 1.022 MB / 0.7789 GB, free: 68.46 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.7928, allocations: 1.344 kB / 0.7789 GB, free: 68.46 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007841/0.7936, allocations: 322.9 kB / 0.7792 GB, free: 68.32 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00255/0.7962, allocations: 0.5082 MB / 0.7797 GB, free: 68.07 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003606/0.7998, allocations: 1.798 MB / 0.7815 GB, free: 66.97 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006443/0.8005, allocations: 1.062 MB / 0.7825 GB, free: 66.11 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001038/0.8015, allocations: 223.4 kB / 0.7827 GB, free: 66.01 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001962/0.8017, allocations: 82.58 kB / 0.7828 GB, free: 65.99 MB / 0.5762 GB Notification: Performance of SimCode: time 7.81e-07/0.8017, allocations: 0 / 0.7828 GB, free: 65.99 MB / 0.5762 GB Notification: Performance of Templates: time 0.03671/0.8384, allocations: 25.29 MB / 0.8075 GB, free: 42.58 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1)