Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.001679/0.001679, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001984/0.001984, allocations: 191 kB / 16.25 MB, free: 6.629 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.38/1.38, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9544/0.9544, allocations: 135.6 MB / 425.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002057/0.002057, allocations: 64.62 kB / 0.5054 GB, free: 5.227 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.1731, allocations: 81.02 MB / 0.5845 GB, free: 4.348 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.3287/0.5018, allocations: 60.69 MB / 0.6437 GB, free: 16.85 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01376/0.5156, allocations: 11.89 MB / 0.6554 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0026/0.5183, allocations: 57.31 kB / 0.6554 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001817/0.5202, allocations: 0.5876 MB / 0.656 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004796/0.525, allocations: 1.823 MB / 0.6578 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002679/0.5277, allocations: 1.091 MB / 0.6588 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003804/0.5315, allocations: 3.103 MB / 0.6619 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001505/0.533, allocations: 1.114 MB / 0.663 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003169/0.5362, allocations: 1.337 MB / 0.6643 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001477/0.5377, allocations: 0.9246 MB / 0.6652 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001924/0.5379, allocations: 116.6 kB / 0.6653 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002728/0.5406, allocations: 1.471 MB / 0.6667 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002483/0.5409, allocations: 297.4 kB / 0.667 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007591/0.5416, allocations: 0.6933 MB / 0.6677 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003641/0.5453, allocations: 2.312 MB / 0.6699 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.5453, allocations: 0.7031 kB / 0.6699 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.124e-06/0.5453, allocations: 0 / 0.6699 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.879e-05/0.5453, allocations: 1.125 kB / 0.6699 GB, free: 1.082 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.003043/0.5484, allocations: 1.725 MB / 0.6716 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.5484, allocations: 13.56 kB / 0.6716 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001708/0.5501, allocations: 343.5 kB / 0.672 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002234/0.5524, allocations: 1.121 MB / 0.673 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003464/0.5527, allocations: 122.5 kB / 0.6732 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001227/0.5529, allocations: 79.38 kB / 0.6732 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001982/0.5549, allocations: 0.9462 MB / 0.6742 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.295e-05/0.5549, allocations: 5.406 kB / 0.6742 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.78e-05/0.555, allocations: 31.5 kB / 0.6742 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.233e-05/0.555, allocations: 19.5 kB / 0.6742 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002009/0.557, allocations: 0.8075 MB / 0.675 GB, free: 14.31 MB / 0.5137 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.006957/0.564, allocations: 4.761 MB / 0.6797 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001593/0.5656, allocations: 0.563 MB / 0.6802 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006029/0.5662, allocations: 268.5 kB / 0.6805 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0016/0.5678, allocations: 1.373 MB / 0.6818 GB, free: 8.875 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.533e-05/0.5679, allocations: 45.25 kB / 0.6818 GB, free: 8.824 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 2.876e-06/0.5679, allocations: 0 / 0.6818 GB, free: 8.824 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.008399/0.5763, allocations: 1.818 MB / 0.6836 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/0.5764, allocations: 57.22 kB / 0.6837 GB, free: 8.293 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001914/0.5783, allocations: 1.058 MB / 0.6847 GB, free: 7.852 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 9.48e-05/0.5784, allocations: 34.14 kB / 0.6847 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000514/0.5789, allocations: 0.5182 MB / 0.6852 GB, free: 7.406 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001774/0.5791, allocations: 154 kB / 0.6854 GB, free: 7.285 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002629/0.5794, allocations: 122.8 kB / 0.6855 GB, free: 7.227 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001679/0.5796, allocations: 329.4 kB / 0.6858 GB, free: 6.91 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007938/0.5804, allocations: 273.5 kB / 0.6861 GB, free: 6.824 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009829/0.5814, allocations: 485.7 kB / 0.6865 GB, free: 6.496 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001448/0.5828, allocations: 0.6176 MB / 0.6872 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.5828, allocations: 1.469 kB / 0.6872 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002611/0.5855, allocations: 0.9273 MB / 0.6881 GB, free: 5.809 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.5855, allocations: 11.89 kB / 0.6881 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/0.5855, allocations: 8.812 kB / 0.6881 GB, free: 5.801 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001341/0.5869, allocations: 317.1 kB / 0.6884 GB, free: 5.723 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004651/0.5873, allocations: 109.2 kB / 0.6885 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001589/0.5889, allocations: 0.9163 MB / 0.6894 GB, free: 5.047 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001489/0.5904, allocations: 161 kB / 0.6895 GB, free: 5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.99e-05/0.5905, allocations: 32.33 kB / 0.6896 GB, free: 4.992 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001198/0.5917, allocations: 485.8 kB / 0.69 GB, free: 4.758 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009881/0.5927, allocations: 471.1 kB / 0.6905 GB, free: 4.441 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001432/0.5942, allocations: 0.627 MB / 0.6911 GB, free: 4.094 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.878e-06/0.5942, allocations: 2.094 kB / 0.6911 GB, free: 4.094 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.002474/0.5967, allocations: 0.9244 MB / 0.692 GB, free: 3.742 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.5967, allocations: 7.125 kB / 0.692 GB, free: 3.742 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.5967, allocations: 4.562 kB / 0.692 GB, free: 3.742 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001129/0.5978, allocations: 309.4 kB / 0.6923 GB, free: 3.664 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004388/0.5983, allocations: 108.5 kB / 0.6924 GB, free: 3.652 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001462/0.5998, allocations: 0.9088 MB / 0.6933 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001349/0.6011, allocations: 147.2 kB / 0.6934 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.588e-05/0.6012, allocations: 32 kB / 0.6935 GB, free: 2.953 MB / 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.0002945/0.6015, allocations: 218.3 kB / 0.6937 GB, free: 2.746 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001874/0.6017, allocations: 111.2 kB / 0.6938 GB, free: 2.688 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0037/0.6054, allocations: 1.06 MB / 0.6948 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.66e-05/0.6054, allocations: 7.094 kB / 0.6948 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/0.6054, allocations: 7.938 kB / 0.6948 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.6055, allocations: 3.188 kB / 0.6948 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005089/0.6105, allocations: 2.075 MB / 0.6969 GB, free: 1.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.734e-06/0.6106, allocations: 3.156 kB / 0.6969 GB, free: 1.34 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001948/0.6108, allocations: 45.8 kB / 0.6969 GB, free: 1.34 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009879/0.6118, allocations: 315.2 kB / 0.6972 GB, free: 1.254 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.002e-05/0.6118, allocations: 15.25 kB / 0.6972 GB, free: 1.246 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001572/0.6134, allocations: 0.9504 MB / 0.6981 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/0.6134, allocations: 7.156 kB / 0.6982 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003506/0.6169, allocations: 1.111 MB / 0.6992 GB, free: 60 kB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005991/0.6175, allocations: 257.8 kB / 0.6995 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001991/0.6177, allocations: 10.22 kB / 0.6995 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008163/0.6186, allocations: 87.55 kB / 0.6996 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.027e-05/0.6187, allocations: 43.31 kB / 0.6996 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.299e-05/0.6187, allocations: 21.91 kB / 0.6996 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001167/0.6199, allocations: 0.7409 MB / 0.7004 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6199, allocations: 4 kB / 0.7004 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001748/0.6217, allocations: 0.5688 MB / 0.7009 GB, free: 15.38 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.0009329/0.6226, allocations: 393.2 kB / 0.7013 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002848/0.6255, allocations: 1.022 MB / 0.7023 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.6255, allocations: 8.047 kB / 0.7023 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007452/0.6262, allocations: 328 kB / 0.7026 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002273/0.6285, allocations: 0.5057 MB / 0.7031 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003762/0.6323, allocations: 2.205 MB / 0.7053 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000778/0.6331, allocations: 1.062 MB / 0.7063 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001004/0.6341, allocations: 217.9 kB / 0.7065 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000177/0.6343, allocations: 81.23 kB / 0.7066 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of SimCode: time 6.81e-07/0.6343, allocations: 4 kB / 0.7066 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of Templates: time 0.04503/0.6793, allocations: 24.74 MB / 0.7307 GB, free: 5.875 MB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1)