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.00778/0.00778, allocations: 98.8 kB / 15.73 MB, free: 6.035 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: 193.4 kB / 16.67 MB, free: 5.961 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.476/1.476, allocations: 205.1 MB / 222.6 MB, free: 4.523 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.94 MB / 324.8 MB, free: 84 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.001548/0.001548, allocations: 66.94 kB / 456.2 MB, free: 38.47 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1456, allocations: 59.59 MB / 0.5037 GB, free: 9.895 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.05697/0.2027, allocations: 60.47 MB / 0.5628 GB, free: 14.33 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0174/0.2201, allocations: 11.22 MB / 0.5737 GB, free: 3.082 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002842/0.223, allocations: 55.69 kB / 0.5738 GB, free: 3.027 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00217/0.2252, allocations: 0.7298 MB / 0.5745 GB, free: 2.293 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006097/0.2314, allocations: 1.931 MB / 0.5764 GB, free: 360 kB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002802/0.2342, allocations: 1.019 MB / 0.5774 GB, free: 15.34 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004272/0.2385, allocations: 3.015 MB / 0.5803 GB, free: 12.31 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001607/0.2401, allocations: 1.087 MB / 0.5814 GB, free: 11.19 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003755/0.2439, allocations: 1.447 MB / 0.5828 GB, free: 9.742 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001796/0.2457, allocations: 0.9724 MB / 0.5838 GB, free: 8.766 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003398/0.246, allocations: 120 kB / 0.5839 GB, free: 8.648 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002988/0.249, allocations: 1.186 MB / 0.585 GB, free: 7.461 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000429/0.2495, allocations: 302.8 kB / 0.5853 GB, free: 7.164 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001158/0.2506, allocations: 0.7271 MB / 0.586 GB, free: 6.434 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00433/0.255, allocations: 2.23 MB / 0.5882 GB, free: 4.195 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.255, allocations: 0 / 0.5882 GB, free: 4.195 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.255, allocations: 3.938 kB / 0.5882 GB, free: 4.191 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.135e-05/0.2551, allocations: 0 / 0.5882 GB, free: 4.191 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.003933/0.259, allocations: 1.783 MB / 0.59 GB, free: 2.344 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.2591, allocations: 8.031 kB / 0.59 GB, free: 2.336 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002497/0.2616, allocations: 471.5 kB / 0.5904 GB, free: 1.875 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002577/0.2642, allocations: 1.148 MB / 0.5915 GB, free: 0.6836 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.877e-05/0.2642, allocations: 66 kB / 0.5916 GB, free: 0.6211 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001637/0.2644, allocations: 88 kB / 0.5917 GB, free: 0.5352 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003138/0.2676, allocations: 1.248 MB / 0.5929 GB, free: 15.18 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.676e-05/0.2676, allocations: 0 / 0.5929 GB, free: 15.18 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001306/0.2678, allocations: 40 kB / 0.5929 GB, free: 15.14 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-05/0.2678, allocations: 27.94 kB / 0.593 GB, free: 15.11 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002828/0.2707, allocations: 0.9833 MB / 0.5939 GB, free: 14.13 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.007832/0.2785, allocations: 6.254 MB / 0.6 GB, free: 7.484 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002243/0.2808, allocations: 0.671 MB / 0.6007 GB, free: 6.805 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006699/0.2815, allocations: 257.3 kB / 0.6009 GB, free: 6.551 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003534/0.2819, allocations: 422.5 kB / 0.6013 GB, free: 6.047 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/0.2819, allocations: 46.83 kB / 0.6014 GB, free: 5.992 MB / 478.1 MB Notification: Performance of pre-optimization done (n=39): time 2.675e-06/0.2819, allocations: 0 / 0.6014 GB, free: 5.992 MB / 478.1 MB Notification: Performance of matching and sorting (n=39): time 0.007709/0.2896, allocations: 1.713 MB / 0.6031 GB, free: 4.25 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.611e-05/0.2898, allocations: 158.2 kB / 0.6032 GB, free: 4.059 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001971/0.2917, allocations: 1.153 MB / 0.6043 GB, free: 2.895 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001241/0.2919, allocations: 41.7 kB / 0.6044 GB, free: 2.848 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005805/0.2925, allocations: 0.6135 MB / 0.605 GB, free: 2.23 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001756/0.2927, allocations: 150.7 kB / 0.6051 GB, free: 2.082 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003022/0.293, allocations: 162.5 kB / 0.6053 GB, free: 1.914 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.2931, allocations: 337.9 kB / 0.6056 GB, free: 1.578 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001058/0.2942, allocations: 336.6 kB / 0.6059 GB, free: 1.246 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001309/0.2955, allocations: 0.6668 MB / 0.6066 GB, free: 432 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001999/0.2975, allocations: 0.8448 MB / 0.6074 GB, free: 15.46 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-05/0.2975, allocations: 4 kB / 0.6074 GB, free: 15.46 MB / 494.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005415/0.303, allocations: 1.429 MB / 0.6088 GB, free: 14.02 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.555e-05/0.303, allocations: 10.19 kB / 0.6088 GB, free: 14.01 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.21e-05/0.303, allocations: 15.92 kB / 0.6088 GB, free: 14 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009708/0.304, allocations: 244.7 kB / 0.609 GB, free: 13.75 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007582/0.3048, allocations: 179.7 kB / 0.6092 GB, free: 13.58 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001313/0.3061, allocations: 0.8411 MB / 0.61 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001459/0.3076, allocations: 191.2 kB / 0.6102 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.169e-05/0.3077, allocations: 39.98 kB / 0.6103 GB, free: 12.48 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001336/0.309, allocations: 0.5253 MB / 0.6108 GB, free: 11.96 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001145/0.3102, allocations: 0.6395 MB / 0.6114 GB, free: 11.16 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001778/0.312, allocations: 0.8059 MB / 0.6122 GB, free: 10.25 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.498e-06/0.312, allocations: 4 kB / 0.6122 GB, free: 10.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004948/0.317, allocations: 1.382 MB / 0.6135 GB, free: 8.852 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.317, allocations: 8 kB / 0.6135 GB, free: 8.844 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/0.317, allocations: 8 kB / 0.6136 GB, free: 8.836 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000896/0.3179, allocations: 264.5 kB / 0.6138 GB, free: 8.578 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000677/0.3186, allocations: 155.8 kB / 0.614 GB, free: 8.426 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001457/0.3201, allocations: 0.8372 MB / 0.6148 GB, free: 7.562 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001569/0.3217, allocations: 155.8 kB / 0.6149 GB, free: 7.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.433e-05/0.3218, allocations: 35.98 kB / 0.615 GB, free: 7.375 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.000366/0.3222, allocations: 232 kB / 0.6152 GB, free: 7.141 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004254/0.3226, allocations: 119.2 kB / 0.6153 GB, free: 7.023 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004807/0.3274, allocations: 1.098 MB / 0.6164 GB, free: 5.914 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/0.3274, allocations: 4 kB / 0.6164 GB, free: 5.91 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.3275, allocations: 0 / 0.6164 GB, free: 5.91 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.318e-06/0.3275, allocations: 3.984 kB / 0.6164 GB, free: 5.906 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004483/0.332, allocations: 1.858 MB / 0.6182 GB, free: 3.961 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/0.332, allocations: 4 kB / 0.6182 GB, free: 3.957 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003632/0.3324, allocations: 83.92 kB / 0.6183 GB, free: 3.875 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009036/0.3333, allocations: 240.8 kB / 0.6185 GB, free: 3.637 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.312e-05/0.3333, allocations: 11.98 kB / 0.6185 GB, free: 3.625 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001263/0.3346, allocations: 0.8293 MB / 0.6193 GB, free: 2.77 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.3346, allocations: 4.031 kB / 0.6193 GB, free: 2.766 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002479/0.3371, allocations: 0.9545 MB / 0.6203 GB, free: 1.762 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006443/0.3378, allocations: 264.2 kB / 0.6205 GB, free: 1.484 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000296/0.3381, allocations: 15.98 kB / 0.6205 GB, free: 1.469 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001107/0.3392, allocations: 83.89 kB / 0.6206 GB, free: 1.387 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.406e-05/0.3393, allocations: 35.91 kB / 0.6206 GB, free: 1.352 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.697e-05/0.3394, allocations: 23.98 kB / 0.6207 GB, free: 1.328 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001675/0.341, allocations: 0.7958 MB / 0.6214 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3411, allocations: 4 kB / 0.6214 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002017/0.3431, allocations: 0.5617 MB / 0.622 GB, free: 15.96 MB / 0.4981 GB 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.0009851/0.3441, allocations: 289.2 kB / 0.6223 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003566/0.3477, allocations: 1.218 MB / 0.6235 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/0.3477, allocations: 4 kB / 0.6235 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008853/0.3486, allocations: 313.6 kB / 0.6238 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002615/0.3512, allocations: 0.5601 MB / 0.6243 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005462/0.3567, allocations: 2.04 MB / 0.6263 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007867/0.3575, allocations: 1.058 MB / 0.6273 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001059/0.3586, allocations: 241.6 kB / 0.6276 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002336/0.3588, allocations: 83.42 kB / 0.6276 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of SimCode: time 5.01e-07/0.3588, allocations: 0 / 0.6276 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of Templates: time 0.3402/0.699, allocations: 24.78 MB / 0.6518 GB, free: 121 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)