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.001509/0.00151, allocations: 109.3 kB / 16.41 MB, free: 6.445 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.001664/0.001664, allocations: 183 kB / 17.34 MB, free: 5.742 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.417/1.417, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8106/0.8106, allocations: 132.2 MB / 423.4 MB, free: 6.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00185/0.00185, allocations: 63.16 kB / 0.582 GB, free: 23.93 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2141/0.216, allocations: 80.22 MB / 0.6604 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.06847/0.2845, allocations: 61.19 MB / 0.7201 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01911/0.3037, allocations: 11.98 MB / 0.7318 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002797/0.3065, allocations: 55.69 kB / 0.7319 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002567/0.3091, allocations: 0.683 MB / 0.7325 GB, free: 192 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007091/0.3163, allocations: 1.964 MB / 0.7345 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004127/0.3204, allocations: 1.208 MB / 0.7356 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006453/0.3269, allocations: 3.079 MB / 0.7386 GB, free: 9.93 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002619/0.3296, allocations: 1.1 MB / 0.7397 GB, free: 8.801 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004213/0.3338, allocations: 1.37 MB / 0.7411 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002474/0.3363, allocations: 0.8867 MB / 0.7419 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005802/0.3369, allocations: 116 kB / 0.742 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004214/0.3411, allocations: 1.466 MB / 0.7435 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005935/0.3417, allocations: 290.8 kB / 0.7437 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00164/0.3434, allocations: 0.6919 MB / 0.7444 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005351/0.3487, allocations: 2.325 MB / 0.7467 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.3488, allocations: 0 / 0.7467 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.925e-06/0.3488, allocations: 3.938 kB / 0.7467 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.86e-05/0.3489, allocations: 0 / 0.7467 GB, free: 1.641 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.3973/0.7462, allocations: 1.719 MB / 0.7484 GB, free: 87 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.79e-05/0.7462, allocations: 9.969 kB / 0.7484 GB, free: 87 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002244/0.7485, allocations: 347.2 kB / 0.7487 GB, free: 86.93 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003022/0.7515, allocations: 1.163 MB / 0.7498 GB, free: 86.49 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.138e-05/0.7516, allocations: 60.72 kB / 0.7499 GB, free: 86.46 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001522/0.7518, allocations: 82.75 kB / 0.75 GB, free: 86.44 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002137/0.7539, allocations: 0.9667 MB / 0.7509 GB, free: 85.96 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.771e-05/0.754, allocations: 10.25 kB / 0.7509 GB, free: 85.95 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.079e-05/0.7541, allocations: 32.19 kB / 0.751 GB, free: 85.93 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.531e-05/0.7541, allocations: 18.75 kB / 0.751 GB, free: 85.93 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002158/0.7563, allocations: 0.805 MB / 0.7518 GB, free: 85.67 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.007081/0.7634, allocations: 5.121 MB / 0.7568 GB, free: 81.71 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001726/0.7651, allocations: 0.5578 MB / 0.7573 GB, free: 81.52 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007223/0.7658, allocations: 268.1 kB / 0.7576 GB, free: 81.43 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001259/0.7671, allocations: 1.369 MB / 0.7589 GB, free: 79.92 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.7672, allocations: 37.88 kB / 0.7589 GB, free: 79.88 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 2.454e-06/0.7672, allocations: 0 / 0.7589 GB, free: 79.88 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.008884/0.7761, allocations: 1.762 MB / 0.7607 GB, free: 79.47 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.422e-05/0.7761, allocations: 56.22 kB / 0.7607 GB, free: 79.41 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002561/0.7787, allocations: 1.072 MB / 0.7618 GB, free: 78.97 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001305/0.7789, allocations: 38.28 kB / 0.7618 GB, free: 78.93 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004878/0.7794, allocations: 0.5347 MB / 0.7623 GB, free: 78.5 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001776/0.7795, allocations: 151.3 kB / 0.7625 GB, free: 78.39 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002753/0.7798, allocations: 142.4 kB / 0.7626 GB, free: 78.32 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.27e-05/0.7799, allocations: 330.8 kB / 0.7629 GB, free: 78 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007968/0.7807, allocations: 274.8 kB / 0.7632 GB, free: 77.91 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009644/0.7817, allocations: 0.4959 MB / 0.7637 GB, free: 77.55 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001475/0.7832, allocations: 0.6631 MB / 0.7643 GB, free: 77.16 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.7832, allocations: 5.25 kB / 0.7643 GB, free: 77.16 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00277/0.786, allocations: 0.9456 MB / 0.7652 GB, free: 76.81 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/0.786, allocations: 9 kB / 0.7653 GB, free: 76.81 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.786, allocations: 4.969 kB / 0.7653 GB, free: 76.81 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001281/0.7873, allocations: 310.5 kB / 0.7656 GB, free: 76.73 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004807/0.7878, allocations: 118.2 kB / 0.7657 GB, free: 76.72 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001359/0.7892, allocations: 0.8981 MB / 0.7665 GB, free: 76.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001268/0.7905, allocations: 147.5 kB / 0.7667 GB, free: 76.01 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.588e-05/0.7905, allocations: 30.3 kB / 0.7667 GB, free: 76.01 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001138/0.7917, allocations: 493.8 kB / 0.7672 GB, free: 75.77 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009017/0.7926, allocations: 0.4932 MB / 0.7677 GB, free: 75.41 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001351/0.794, allocations: 0.6497 MB / 0.7683 GB, free: 75.03 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.436e-06/0.794, allocations: 1.5 kB / 0.7683 GB, free: 75.03 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002718/0.7967, allocations: 0.9499 MB / 0.7692 GB, free: 74.67 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.7967, allocations: 6.344 kB / 0.7692 GB, free: 74.67 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.7967, allocations: 6 kB / 0.7692 GB, free: 74.67 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001144/0.7979, allocations: 301.4 kB / 0.7695 GB, free: 74.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000478/0.7984, allocations: 117 kB / 0.7696 GB, free: 74.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001313/0.7997, allocations: 0.894 MB / 0.7705 GB, free: 73.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001273/0.801, allocations: 131.2 kB / 0.7706 GB, free: 73.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.914e-05/0.8011, allocations: 33.86 kB / 0.7707 GB, free: 73.89 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.0002658/0.8014, allocations: 220.7 kB / 0.7709 GB, free: 73.68 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003242/0.8017, allocations: 108.5 kB / 0.771 GB, free: 73.62 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003755/0.8055, allocations: 1.057 MB / 0.772 GB, free: 73.25 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-05/0.8055, allocations: 4.562 kB / 0.772 GB, free: 73.25 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.8055, allocations: 1.188 kB / 0.772 GB, free: 73.25 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.8055, allocations: 3.984 kB / 0.772 GB, free: 73.24 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005147/0.8107, allocations: 2.06 MB / 0.774 GB, free: 71.83 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-05/0.8107, allocations: 10.03 kB / 0.774 GB, free: 71.83 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002225/0.8109, allocations: 53.22 kB / 0.7741 GB, free: 71.82 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001025/0.812, allocations: 297.6 kB / 0.7744 GB, free: 71.68 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.295e-05/0.812, allocations: 12.56 kB / 0.7744 GB, free: 71.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001345/0.8134, allocations: 0.9457 MB / 0.7753 GB, free: 70.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/0.8134, allocations: 6.156 kB / 0.7753 GB, free: 70.93 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003336/0.8167, allocations: 1.093 MB / 0.7764 GB, free: 70.26 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005464/0.8173, allocations: 259 kB / 0.7766 GB, free: 70.03 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002891/0.8176, allocations: 8.688 kB / 0.7766 GB, free: 70.03 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008693/0.8185, allocations: 61.72 kB / 0.7767 GB, free: 70 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.8186, allocations: 41 kB / 0.7767 GB, free: 69.98 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.209e-05/0.8187, allocations: 23.27 kB / 0.7768 GB, free: 69.97 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001463/0.8201, allocations: 0.7557 MB / 0.7775 GB, free: 69.54 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8201, allocations: 0 / 0.7775 GB, free: 69.54 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002197/0.8223, allocations: 0.575 MB / 0.7781 GB, free: 69.44 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.001065/0.8234, allocations: 400.4 kB / 0.7784 GB, free: 69.27 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002959/0.8264, allocations: 1.026 MB / 0.7794 GB, free: 68.81 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.8264, allocations: 1.5 kB / 0.7795 GB, free: 68.81 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007886/0.8272, allocations: 320.1 kB / 0.7798 GB, free: 68.67 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002507/0.8297, allocations: 0.5138 MB / 0.7803 GB, free: 68.42 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003597/0.8333, allocations: 1.838 MB / 0.7821 GB, free: 67.29 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006012/0.834, allocations: 1.067 MB / 0.7831 GB, free: 66.42 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002578/0.8342, allocations: 78.58 kB / 0.7832 GB, free: 66.41 MB / 0.5762 GB Notification: Performance of SimCode: time 5.31e-07/0.8342, allocations: 3.875 kB / 0.7832 GB, free: 66.41 MB / 0.5762 GB Notification: Performance of Templates: time 0.02836/0.8626, allocations: 24.23 MB / 0.8068 GB, free: 44.1 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)