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.001852/0.001851, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002105/0.002105, allocations: 193.5 kB / 16.14 MB, free: 6.688 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.435/1.435, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.782/0.782, allocations: 132.2 MB / 422.2 MB, free: 1.988 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 68.81 kB / 0.5011 GB, free: 4.332 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4288/0.4302, allocations: 80.2 MB / 0.5794 GB, free: 4.539 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.05954/0.4898, allocations: 60.85 MB / 0.6388 GB, free: 4.754 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.017/0.5068, allocations: 12.03 MB / 0.6506 GB, free: 8.691 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002451/0.5093, allocations: 55.62 kB / 0.6506 GB, free: 8.637 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002035/0.5114, allocations: 0.5516 MB / 0.6512 GB, free: 8.082 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005787/0.5172, allocations: 1.799 MB / 0.6529 GB, free: 6.273 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003426/0.5206, allocations: 1.078 MB / 0.654 GB, free: 5.211 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.006665/0.5273, allocations: 3.89 MB / 0.6578 GB, free: 1.309 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001962/0.5293, allocations: 0.9469 MB / 0.6587 GB, free: 340 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003246/0.5326, allocations: 1.155 MB / 0.6598 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001402/0.534, allocations: 0.8943 MB / 0.6607 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001384/0.5342, allocations: 56 kB / 0.6608 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002794/0.537, allocations: 1.357 MB / 0.6621 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002537/0.5372, allocations: 234.9 kB / 0.6623 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007337/0.538, allocations: 0.6333 MB / 0.6629 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002986/0.541, allocations: 2.255 MB / 0.6651 GB, free: 9.73 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.541, allocations: 7.938 kB / 0.6652 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.142e-06/0.541, allocations: 0 / 0.6652 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.438e-05/0.541, allocations: 0 / 0.6652 GB, free: 9.723 MB / 0.4981 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.002891/0.5439, allocations: 1.726 MB / 0.6668 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.544, allocations: 8.031 kB / 0.6668 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00169/0.5457, allocations: 351 kB / 0.6672 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002013/0.5477, allocations: 1.12 MB / 0.6683 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003541/0.548, allocations: 117.9 kB / 0.6684 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/0.5482, allocations: 84 kB / 0.6685 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001842/0.55, allocations: 0.9466 MB / 0.6694 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.131e-05/0.5501, allocations: 3.938 kB / 0.6694 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.618e-05/0.5501, allocations: 32 kB / 0.6694 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.125e-05/0.5502, allocations: 20 kB / 0.6694 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002042/0.5522, allocations: 0.8079 MB / 0.6702 GB, free: 4.352 MB / 0.4981 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.005991/0.5582, allocations: 4.753 MB / 0.6749 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00149/0.5597, allocations: 0.5673 MB / 0.6754 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005657/0.5603, allocations: 276.6 kB / 0.6757 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001276/0.5616, allocations: 1.376 MB / 0.677 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.5616, allocations: 34.56 kB / 0.6771 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 2.455e-06/0.5616, allocations: 4 kB / 0.6771 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.008039/0.5697, allocations: 1.81 MB / 0.6788 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/0.5698, allocations: 55.41 kB / 0.6789 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001554/0.5713, allocations: 1.063 MB / 0.6799 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.755e-05/0.5714, allocations: 37.7 kB / 0.68 GB, free: 9.633 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004007/0.5718, allocations: 0.5195 MB / 0.6805 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001251/0.5719, allocations: 145.8 kB / 0.6806 GB, free: 8.965 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002017/0.5721, allocations: 130.1 kB / 0.6807 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.5723, allocations: 326 kB / 0.681 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007413/0.573, allocations: 270.9 kB / 0.6813 GB, free: 8.242 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008997/0.5739, allocations: 486.8 kB / 0.6818 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001309/0.5752, allocations: 0.6238 MB / 0.6824 GB, free: 7.004 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.5753, allocations: 0 / 0.6824 GB, free: 7.004 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002549/0.5778, allocations: 0.9261 MB / 0.6833 GB, free: 6.066 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.5778, allocations: 8.031 kB / 0.6833 GB, free: 6.059 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.5779, allocations: 8 kB / 0.6833 GB, free: 6.051 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001292/0.5792, allocations: 312.6 kB / 0.6836 GB, free: 5.742 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004691/0.5796, allocations: 115.8 kB / 0.6837 GB, free: 5.629 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001532/0.5812, allocations: 0.9139 MB / 0.6846 GB, free: 4.691 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00149/0.5827, allocations: 163.3 kB / 0.6848 GB, free: 4.531 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.98e-05/0.5828, allocations: 27.98 kB / 0.6848 GB, free: 4.504 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001252/0.584, allocations: 485.1 kB / 0.6852 GB, free: 4.027 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009562/0.585, allocations: 489.7 kB / 0.6857 GB, free: 3.469 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001321/0.5863, allocations: 0.6197 MB / 0.6863 GB, free: 2.793 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.356e-06/0.5863, allocations: 0 / 0.6863 GB, free: 2.793 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.002443/0.5888, allocations: 0.9219 MB / 0.6872 GB, free: 1.859 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.5888, allocations: 8 kB / 0.6872 GB, free: 1.852 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.5888, allocations: 4 kB / 0.6872 GB, free: 1.848 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001066/0.5899, allocations: 305.1 kB / 0.6875 GB, free: 1.547 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004398/0.5904, allocations: 111.8 kB / 0.6876 GB, free: 1.438 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001427/0.5918, allocations: 0.9035 MB / 0.6885 GB, free: 0.5078 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001276/0.5931, allocations: 147.6 kB / 0.6886 GB, free: 372 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.88e-05/0.5932, allocations: 31.92 kB / 0.6887 GB, free: 340 kB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (51): * Single equations (assignments): 50 * 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.0002457/0.5934, allocations: 212.1 kB / 0.6889 GB, free: 120 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000172/0.5936, allocations: 106.7 kB / 0.689 GB, free: 12 kB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003531/0.5971, allocations: 1.079 MB / 0.69 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-05/0.5972, allocations: 11.92 kB / 0.69 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.5972, allocations: 0 / 0.69 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.5972, allocations: 0 / 0.69 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004928/0.6021, allocations: 2.076 MB / 0.6921 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.038e-05/0.6021, allocations: 4 kB / 0.6921 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001994/0.6023, allocations: 47.97 kB / 0.6921 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001065/0.6034, allocations: 323 kB / 0.6924 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.704e-05/0.6035, allocations: 12 kB / 0.6924 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001534/0.605, allocations: 0.9464 MB / 0.6934 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.605, allocations: 3.938 kB / 0.6934 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003455/0.6085, allocations: 1.117 MB / 0.6945 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006557/0.6092, allocations: 259.5 kB / 0.6947 GB, free: 9.965 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000307/0.6095, allocations: 8 kB / 0.6947 GB, free: 9.957 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/0.6105, allocations: 91.81 kB / 0.6948 GB, free: 9.867 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/0.6107, allocations: 35.89 kB / 0.6948 GB, free: 9.832 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.72e-05/0.6107, allocations: 23.98 kB / 0.6949 GB, free: 9.809 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001584/0.6123, allocations: 0.7389 MB / 0.6956 GB, free: 9.062 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6124, allocations: 0 / 0.6956 GB, free: 9.062 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00197/0.6143, allocations: 0.5652 MB / 0.6961 GB, free: 8.496 MB / 0.5294 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.001018/0.6154, allocations: 401.3 kB / 0.6965 GB, free: 8.109 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002916/0.6183, allocations: 1.007 MB / 0.6975 GB, free: 7.102 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/0.6183, allocations: 0 / 0.6975 GB, free: 7.102 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008107/0.6191, allocations: 321.4 kB / 0.6978 GB, free: 6.789 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002804/0.6219, allocations: 0.4928 MB / 0.6983 GB, free: 6.309 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003957/0.6259, allocations: 2.217 MB / 0.7005 GB, free: 4.035 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000705/0.6266, allocations: 1.058 MB / 0.7015 GB, free: 2.945 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001033/0.6277, allocations: 219.1 kB / 0.7017 GB, free: 2.738 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002067/0.6279, allocations: 75.42 kB / 0.7018 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of SimCode: time 5.91e-07/0.6279, allocations: 0 / 0.7018 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of Templates: time 0.04114/0.6691, allocations: 23.97 MB / 0.7252 GB, free: 11 MB / 0.5606 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)