Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.HeatPumps.Examples.Carnot_TCon.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(Annex60.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatPumps.Examples.Carnot_TCon") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01002/0.01002, allocations: 99.03 kB / 15.73 MB, free: 6.043 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.002142/0.002142, allocations: 195.3 kB / 16.68 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.493/1.493, allocations: 205.1 MB / 222.5 MB, free: 4.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3986/0.3986, allocations: 54.95 MB / 324.8 MB, free: 124 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 68.58 kB / 456.2 MB, free: 38.98 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1179, allocations: 59.6 MB / 0.5037 GB, free: 10 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.05477/0.1727, allocations: 60.45 MB / 0.5628 GB, free: 14.45 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01742/0.1902, allocations: 11.24 MB / 0.5737 GB, free: 3.18 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002224/0.1925, allocations: 51.75 kB / 0.5738 GB, free: 3.129 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002888/0.1954, allocations: 0.7493 MB / 0.5745 GB, free: 2.375 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006516/0.202, allocations: 2.024 MB / 0.5765 GB, free: 352 kB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002987/0.205, allocations: 1.03 MB / 0.5775 GB, free: 15.32 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00454/0.2095, allocations: 3.026 MB / 0.5805 GB, free: 12.28 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001919/0.2115, allocations: 1.083 MB / 0.5815 GB, free: 11.16 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003702/0.2152, allocations: 1.467 MB / 0.583 GB, free: 9.691 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002042/0.2173, allocations: 0.9685 MB / 0.5839 GB, free: 8.719 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003923/0.2177, allocations: 120 kB / 0.584 GB, free: 8.602 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002765/0.2204, allocations: 1.193 MB / 0.5852 GB, free: 7.406 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004727/0.2209, allocations: 302.8 kB / 0.5855 GB, free: 7.109 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001509/0.2224, allocations: 0.7309 MB / 0.5862 GB, free: 6.375 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004001/0.2265, allocations: 2.22 MB / 0.5884 GB, free: 4.148 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.2265, allocations: 0 / 0.5884 GB, free: 4.148 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.133e-06/0.2265, allocations: 0 / 0.5884 GB, free: 4.148 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.416e-05/0.2266, allocations: 0 / 0.5884 GB, free: 4.148 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.004633/0.2312, allocations: 1.734 MB / 0.59 GB, free: 2.352 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.781e-05/0.2313, allocations: 11.97 kB / 0.5901 GB, free: 2.34 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002984/0.2343, allocations: 458.8 kB / 0.5905 GB, free: 1.891 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003539/0.2378, allocations: 1.147 MB / 0.5916 GB, free: 0.6992 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.072e-05/0.238, allocations: 74 kB / 0.5917 GB, free: 0.6289 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002131/0.2382, allocations: 87.98 kB / 0.5918 GB, free: 0.543 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003251/0.2414, allocations: 1.236 MB / 0.593 GB, free: 15.2 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.144e-05/0.2415, allocations: 3.938 kB / 0.593 GB, free: 15.2 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001369/0.2416, allocations: 40 kB / 0.593 GB, free: 15.16 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.958e-05/0.2417, allocations: 31.98 kB / 0.5931 GB, free: 15.12 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002862/0.2446, allocations: 0.9833 MB / 0.594 GB, free: 14.14 MB / 478.1 MB 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.008162/0.2527, allocations: 6.237 MB / 0.6001 GB, free: 7.512 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002141/0.2549, allocations: 0.6632 MB / 0.6008 GB, free: 6.84 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006346/0.2556, allocations: 257.3 kB / 0.601 GB, free: 6.586 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003807/0.256, allocations: 422.5 kB / 0.6014 GB, free: 6.082 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.562e-05/0.256, allocations: 46.88 kB / 0.6014 GB, free: 6.027 MB / 478.1 MB Notification: Performance of pre-optimization done (n=39): time 2.204e-06/0.256, allocations: 0 / 0.6014 GB, free: 6.027 MB / 478.1 MB Notification: Performance of matching and sorting (n=39): time 0.00741/0.2635, allocations: 1.709 MB / 0.6031 GB, free: 4.289 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.894e-05/0.2636, allocations: 162.2 kB / 0.6033 GB, free: 4.094 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002256/0.2658, allocations: 1.157 MB / 0.6044 GB, free: 2.926 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 9.765e-05/0.266, allocations: 37.7 kB / 0.6044 GB, free: 2.883 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005062/0.2665, allocations: 0.6006 MB / 0.605 GB, free: 2.277 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001635/0.2666, allocations: 138 kB / 0.6052 GB, free: 2.141 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000283/0.2669, allocations: 158.5 kB / 0.6053 GB, free: 1.977 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.2671, allocations: 333.9 kB / 0.6056 GB, free: 1.645 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009798/0.2681, allocations: 340.6 kB / 0.6059 GB, free: 1.309 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001234/0.2693, allocations: 0.6706 MB / 0.6066 GB, free: 492 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001891/0.2712, allocations: 0.8409 MB / 0.6074 GB, free: 15.53 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.249e-05/0.2712, allocations: 4 kB / 0.6074 GB, free: 15.53 MB / 494.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005213/0.2765, allocations: 1.432 MB / 0.6088 GB, free: 14.08 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.976e-05/0.2765, allocations: 8 kB / 0.6088 GB, free: 14.07 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.258e-05/0.2766, allocations: 8 kB / 0.6088 GB, free: 14.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001183/0.2777, allocations: 244.7 kB / 0.6091 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/0.2788, allocations: 179.8 kB / 0.6092 GB, free: 13.65 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001464/0.2803, allocations: 0.8487 MB / 0.6101 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001493/0.2818, allocations: 186.9 kB / 0.6103 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.544e-05/0.2819, allocations: 39.98 kB / 0.6103 GB, free: 12.55 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001258/0.2832, allocations: 0.5253 MB / 0.6108 GB, free: 12.02 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001124/0.2843, allocations: 0.6395 MB / 0.6114 GB, free: 11.23 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001682/0.286, allocations: 0.802 MB / 0.6122 GB, free: 10.32 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.073e-05/0.286, allocations: 4 kB / 0.6122 GB, free: 10.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004861/0.2909, allocations: 1.374 MB / 0.6136 GB, free: 8.93 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.2909, allocations: 12 kB / 0.6136 GB, free: 8.918 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.291, allocations: 8 kB / 0.6136 GB, free: 8.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008332/0.2918, allocations: 264.6 kB / 0.6138 GB, free: 8.648 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006752/0.2925, allocations: 163.7 kB / 0.614 GB, free: 8.488 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001223/0.2937, allocations: 0.8295 MB / 0.6148 GB, free: 7.633 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001386/0.2951, allocations: 147.7 kB / 0.6149 GB, free: 7.488 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.613e-05/0.2952, allocations: 39.98 kB / 0.615 GB, free: 7.449 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (77): * Single equations (assignments): 76 * 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,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0002774/0.2955, allocations: 232 kB / 0.6152 GB, free: 7.215 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003164/0.2958, allocations: 118.5 kB / 0.6153 GB, free: 7.098 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004479/0.3003, allocations: 1.105 MB / 0.6164 GB, free: 5.98 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.29e-05/0.3003, allocations: 8 kB / 0.6164 GB, free: 5.973 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/0.3003, allocations: 3.984 kB / 0.6164 GB, free: 5.969 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.3004, allocations: 0 / 0.6164 GB, free: 5.969 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00405/0.3044, allocations: 1.85 MB / 0.6182 GB, free: 4.031 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.3044, allocations: 4 kB / 0.6182 GB, free: 4.027 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004511/0.3049, allocations: 75.86 kB / 0.6183 GB, free: 3.953 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001224/0.3061, allocations: 240.7 kB / 0.6185 GB, free: 3.715 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.724e-05/0.3062, allocations: 15.98 kB / 0.6185 GB, free: 3.699 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001807/0.3081, allocations: 0.8293 MB / 0.6193 GB, free: 2.844 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.417e-06/0.3081, allocations: 7.969 kB / 0.6193 GB, free: 2.836 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003148/0.3112, allocations: 0.9462 MB / 0.6203 GB, free: 1.84 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006743/0.3119, allocations: 255.5 kB / 0.6205 GB, free: 1.57 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003584/0.3123, allocations: 15.98 kB / 0.6205 GB, free: 1.555 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001109/0.3134, allocations: 83.89 kB / 0.6206 GB, free: 1.473 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.609e-05/0.3135, allocations: 39.84 kB / 0.6206 GB, free: 1.434 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-05/0.3136, allocations: 23.98 kB / 0.6207 GB, free: 1.41 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001618/0.3152, allocations: 0.7958 MB / 0.6214 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3153, allocations: 0 / 0.6214 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001996/0.3173, allocations: 0.5654 MB / 0.622 GB, free: 44 kB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007104/0.318, allocations: 277.9 kB / 0.6223 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003588/0.3216, allocations: 1.214 MB / 0.6234 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.3216, allocations: 0 / 0.6234 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008603/0.3225, allocations: 321.5 kB / 0.6238 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002717/0.3252, allocations: 0.5669 MB / 0.6243 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00542/0.3306, allocations: 1.993 MB / 0.6263 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008642/0.3315, allocations: 1.062 MB / 0.6273 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001126/0.3327, allocations: 245.5 kB / 0.6275 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002744/0.333, allocations: 79.42 kB / 0.6276 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of SimCode: time 2.365e-06/0.333, allocations: 0 / 0.6276 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of Templates: time 0.3275/0.6604, allocations: 24.78 MB / 0.6518 GB, free: 121.2 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.HeatPumps.Examples.Carnot_TCon.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.HeatPumps.Examples.Carnot_TCon.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.HeatPumps.Examples.Carnot_TCon.sim & ./Annex60_1.0.0_Annex60.Fluid.HeatPumps.Examples.Carnot_TCon -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1)