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.005672/0.005672, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001131/0.001131, allocations: 192 kB / 16.67 MB, free: 5.969 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.309/1.309, allocations: 222.9 MB / 240.4 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7745/0.7745, allocations: 132.2 MB / 422.7 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 62.12 kB / 0.5814 GB, free: 23.72 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.174, allocations: 80.21 MB / 0.6597 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.05349/0.2275, allocations: 61.2 MB / 0.7195 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01699/0.2446, allocations: 11.98 MB / 0.7312 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002559/0.2472, allocations: 59.69 kB / 0.7312 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002101/0.2493, allocations: 0.6791 MB / 0.7319 GB, free: 76 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005472/0.2548, allocations: 1.967 MB / 0.7338 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003056/0.2579, allocations: 1.197 MB / 0.735 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004356/0.2623, allocations: 3.081 MB / 0.738 GB, free: 9.82 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001486/0.2638, allocations: 1.108 MB / 0.7391 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003048/0.2668, allocations: 1.328 MB / 0.7404 GB, free: 7.352 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001517/0.2684, allocations: 0.8984 MB / 0.7412 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001881/0.2686, allocations: 116 kB / 0.7413 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002987/0.2716, allocations: 1.458 MB / 0.7428 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002919/0.2719, allocations: 298.8 kB / 0.7431 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007794/0.2727, allocations: 0.6842 MB / 0.7437 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003593/0.2763, allocations: 2.343 MB / 0.746 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.2763, allocations: 0 / 0.746 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.033e-06/0.2763, allocations: 0 / 0.746 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.596e-05/0.2763, allocations: 0 / 0.746 GB, free: 1.543 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.3444/0.6207, allocations: 1.767 MB / 0.7477 GB, free: 86.23 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/0.6207, allocations: 10.56 kB / 0.7477 GB, free: 86.23 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001842/0.6226, allocations: 347.4 kB / 0.7481 GB, free: 86.16 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002223/0.6248, allocations: 1.171 MB / 0.7492 GB, free: 85.82 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.751e-05/0.6249, allocations: 64.5 kB / 0.7493 GB, free: 85.82 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001203/0.625, allocations: 79.34 kB / 0.7494 GB, free: 85.82 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001963/0.627, allocations: 0.9711 MB / 0.7503 GB, free: 85.53 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/0.627, allocations: 12.75 kB / 0.7503 GB, free: 85.52 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.91e-05/0.6271, allocations: 32.47 kB / 0.7504 GB, free: 85.5 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.104e-05/0.6271, allocations: 22.16 kB / 0.7504 GB, free: 85.5 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001856/0.629, allocations: 0.8042 MB / 0.7512 GB, free: 85.23 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.005671/0.6347, allocations: 5.128 MB / 0.7562 GB, free: 81.3 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001507/0.6362, allocations: 0.5594 MB / 0.7567 GB, free: 81.12 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005746/0.6368, allocations: 263.5 kB / 0.757 GB, free: 81.04 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00103/0.6378, allocations: 1.373 MB / 0.7583 GB, free: 79.52 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.6379, allocations: 36.97 kB / 0.7583 GB, free: 79.47 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 2.144e-06/0.6379, allocations: 4.281 kB / 0.7583 GB, free: 79.47 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.00789/0.6458, allocations: 1.76 MB / 0.7601 GB, free: 79.06 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.589e-05/0.6458, allocations: 56.61 kB / 0.7601 GB, free: 79 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001954/0.6478, allocations: 1.074 MB / 0.7612 GB, free: 78.56 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.33e-05/0.6479, allocations: 41.2 kB / 0.7612 GB, free: 78.52 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003715/0.6482, allocations: 0.5425 MB / 0.7617 GB, free: 78.13 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/0.6484, allocations: 154.8 kB / 0.7619 GB, free: 78.03 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002158/0.6486, allocations: 134.8 kB / 0.762 GB, free: 77.96 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.856e-05/0.6486, allocations: 335.5 kB / 0.7623 GB, free: 77.64 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007001/0.6493, allocations: 279.7 kB / 0.7626 GB, free: 77.55 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000848/0.6502, allocations: 0.4934 MB / 0.7631 GB, free: 77.19 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001257/0.6515, allocations: 0.6673 MB / 0.7637 GB, free: 76.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.6515, allocations: 1.531 kB / 0.7637 GB, free: 76.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002529/0.654, allocations: 0.9552 MB / 0.7647 GB, free: 76.44 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/0.6541, allocations: 6.875 kB / 0.7647 GB, free: 76.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/0.6541, allocations: 6.25 kB / 0.7647 GB, free: 76.44 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001236/0.6553, allocations: 305.8 kB / 0.765 GB, free: 76.37 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004573/0.6558, allocations: 125.8 kB / 0.7651 GB, free: 76.35 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001338/0.6571, allocations: 0.9015 MB / 0.766 GB, free: 75.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001202/0.6584, allocations: 143.5 kB / 0.7661 GB, free: 75.66 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.092e-05/0.6584, allocations: 30.36 kB / 0.7661 GB, free: 75.66 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001023/0.6595, allocations: 487.1 kB / 0.7666 GB, free: 75.43 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008304/0.6603, allocations: 0.4967 MB / 0.7671 GB, free: 75.07 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001319/0.6616, allocations: 0.6488 MB / 0.7677 GB, free: 74.69 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.738e-06/0.6617, allocations: 6.453 kB / 0.7677 GB, free: 74.68 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002423/0.6641, allocations: 0.9509 MB / 0.7687 GB, free: 74.32 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.6641, allocations: 8.875 kB / 0.7687 GB, free: 74.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.6641, allocations: 5.125 kB / 0.7687 GB, free: 74.32 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009937/0.6651, allocations: 300.1 kB / 0.769 GB, free: 74.25 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004473/0.6656, allocations: 125 kB / 0.7691 GB, free: 74.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001154/0.6668, allocations: 0.8936 MB / 0.7699 GB, free: 73.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/0.6679, allocations: 130.1 kB / 0.7701 GB, free: 73.56 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-05/0.668, allocations: 34.3 kB / 0.7701 GB, free: 73.55 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.0002197/0.6682, allocations: 216.1 kB / 0.7703 GB, free: 73.35 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001781/0.6684, allocations: 115.7 kB / 0.7704 GB, free: 73.29 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00329/0.6717, allocations: 1.063 MB / 0.7715 GB, free: 72.93 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.168e-05/0.6717, allocations: 7.5 kB / 0.7715 GB, free: 72.93 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.6717, allocations: 1.125 kB / 0.7715 GB, free: 72.93 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.6718, allocations: 0 / 0.7715 GB, free: 72.93 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004819/0.6766, allocations: 2.061 MB / 0.7735 GB, free: 71.56 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/0.6766, allocations: 2.406 kB / 0.7735 GB, free: 71.56 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001846/0.6768, allocations: 56.84 kB / 0.7735 GB, free: 71.55 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009223/0.6777, allocations: 298.1 kB / 0.7738 GB, free: 71.41 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.398e-05/0.6778, allocations: 14.31 kB / 0.7738 GB, free: 71.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001208/0.679, allocations: 0.9422 MB / 0.7748 GB, free: 70.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.679, allocations: 3.594 kB / 0.7748 GB, free: 70.66 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002953/0.682, allocations: 1.1 MB / 0.7758 GB, free: 69.99 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004007/0.6824, allocations: 268.2 kB / 0.7761 GB, free: 69.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001335/0.6825, allocations: 12.72 kB / 0.7761 GB, free: 69.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006764/0.6832, allocations: 61.16 kB / 0.7762 GB, free: 69.72 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.108e-05/0.6833, allocations: 40.94 kB / 0.7762 GB, free: 69.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.39e-05/0.6833, allocations: 26.14 kB / 0.7762 GB, free: 69.69 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001023/0.6844, allocations: 0.7481 MB / 0.777 GB, free: 69.27 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6844, allocations: 3.094 kB / 0.777 GB, free: 69.27 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001452/0.6858, allocations: 0.5886 MB / 0.7775 GB, free: 69.13 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.0007518/0.6866, allocations: 402.3 kB / 0.7779 GB, free: 68.93 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002611/0.6892, allocations: 1.026 MB / 0.7789 GB, free: 68.48 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.359e-06/0.6892, allocations: 1.094 kB / 0.7789 GB, free: 68.48 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007069/0.6899, allocations: 322.6 kB / 0.7792 GB, free: 68.34 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002275/0.6922, allocations: 0.5095 MB / 0.7797 GB, free: 68.09 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002748/0.695, allocations: 1.831 MB / 0.7815 GB, free: 66.95 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003775/0.6954, allocations: 1.058 MB / 0.7825 GB, free: 66.09 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007343/0.6961, allocations: 227.8 kB / 0.7828 GB, free: 65.99 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001414/0.6963, allocations: 78.55 kB / 0.7828 GB, free: 65.97 MB / 0.5762 GB Notification: Performance of SimCode: time 5.91e-07/0.6963, allocations: 0 / 0.7828 GB, free: 65.97 MB / 0.5762 GB Notification: Performance of Templates: time 0.03284/0.7291, allocations: 25.3 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)