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.008016/0.008016, allocations: 101.2 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.001602/0.001602, allocations: 197.5 kB / 16.68 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.437/1.437, allocations: 205.1 MB / 222.5 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.4075/0.4075, allocations: 54.95 MB / 324.9 MB, free: 15.99 MB / 270.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.001473/0.001473, allocations: 76.64 kB / 456.2 MB, free: 38.25 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1244, allocations: 59.58 MB / 0.5037 GB, free: 9.723 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.05762/0.182, allocations: 60.48 MB / 0.5628 GB, free: 14.33 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01712/0.1992, allocations: 11.23 MB / 0.5737 GB, free: 3.07 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002385/0.2016, allocations: 51.69 kB / 0.5738 GB, free: 3.02 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002605/0.2043, allocations: 0.7298 MB / 0.5745 GB, free: 2.285 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006305/0.2106, allocations: 1.93 MB / 0.5764 GB, free: 356 kB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003863/0.2145, allocations: 1.022 MB / 0.5774 GB, free: 15.33 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.005512/0.22, allocations: 3.025 MB / 0.5803 GB, free: 12.3 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00238/0.2225, allocations: 1.087 MB / 0.5814 GB, free: 11.18 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004662/0.2271, allocations: 1.455 MB / 0.5828 GB, free: 9.715 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002259/0.2294, allocations: 0.9724 MB / 0.5838 GB, free: 8.738 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000477/0.2299, allocations: 120 kB / 0.5839 GB, free: 8.621 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003609/0.2335, allocations: 1.189 MB / 0.585 GB, free: 7.43 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005372/0.2341, allocations: 298.8 kB / 0.5853 GB, free: 7.137 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001774/0.2359, allocations: 0.7348 MB / 0.586 GB, free: 6.398 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00501/0.2409, allocations: 2.224 MB / 0.5882 GB, free: 4.168 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.2409, allocations: 0 / 0.5882 GB, free: 4.168 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.2409, allocations: 0 / 0.5882 GB, free: 4.168 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.014e-05/0.241, allocations: 0 / 0.5882 GB, free: 4.168 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.003707/0.2447, allocations: 1.738 MB / 0.5899 GB, free: 2.367 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.2448, allocations: 8.031 kB / 0.5899 GB, free: 2.359 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002586/0.2474, allocations: 462.8 kB / 0.5903 GB, free: 1.906 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00251/0.2499, allocations: 1.144 MB / 0.5915 GB, free: 0.7188 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.026e-05/0.25, allocations: 70 kB / 0.5915 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001237/0.2501, allocations: 88 kB / 0.5916 GB, free: 0.5664 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002665/0.2528, allocations: 1.236 MB / 0.5928 GB, free: 15.22 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.233e-05/0.2528, allocations: 7.938 kB / 0.5928 GB, free: 15.21 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.392e-05/0.2529, allocations: 36 kB / 0.5929 GB, free: 15.18 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.894e-05/0.253, allocations: 31.94 kB / 0.5929 GB, free: 15.15 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002634/0.2556, allocations: 0.9833 MB / 0.5939 GB, free: 14.17 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.006947/0.2626, allocations: 6.229 MB / 0.5999 GB, free: 7.543 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002056/0.2646, allocations: 0.6632 MB / 0.6006 GB, free: 6.871 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006288/0.2653, allocations: 262 kB / 0.6008 GB, free: 6.613 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003586/0.2657, allocations: 425.8 kB / 0.6012 GB, free: 6.105 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.2657, allocations: 38.89 kB / 0.6013 GB, free: 6.059 MB / 478.1 MB Notification: Performance of pre-optimization done (n=39): time 2.214e-06/0.2657, allocations: 0 / 0.6013 GB, free: 6.059 MB / 478.1 MB Notification: Performance of matching and sorting (n=39): time 0.007319/0.273, allocations: 1.705 MB / 0.6029 GB, free: 4.324 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.293e-05/0.2731, allocations: 158.2 kB / 0.6031 GB, free: 4.133 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001745/0.2749, allocations: 1.165 MB / 0.6042 GB, free: 2.957 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 8.281e-05/0.275, allocations: 33.7 kB / 0.6043 GB, free: 2.918 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004854/0.2755, allocations: 0.6045 MB / 0.6049 GB, free: 2.309 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001464/0.2756, allocations: 142 kB / 0.605 GB, free: 2.168 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000263/0.2759, allocations: 158.5 kB / 0.6051 GB, free: 2.004 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.276, allocations: 333.9 kB / 0.6055 GB, free: 1.672 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009492/0.277, allocations: 344.6 kB / 0.6058 GB, free: 1.332 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001244/0.2783, allocations: 0.6668 MB / 0.6064 GB, free: 0.5078 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001799/0.2801, allocations: 0.8448 MB / 0.6073 GB, free: 15.55 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.107e-06/0.2801, allocations: 8 kB / 0.6073 GB, free: 15.55 MB / 494.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005027/0.2851, allocations: 1.424 MB / 0.6087 GB, free: 14.11 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/0.2852, allocations: 8 kB / 0.6087 GB, free: 14.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.691e-05/0.2852, allocations: 8 kB / 0.6087 GB, free: 14.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009333/0.2861, allocations: 252.7 kB / 0.6089 GB, free: 13.84 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007498/0.2869, allocations: 179.7 kB / 0.6091 GB, free: 13.67 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001329/0.2882, allocations: 0.8448 MB / 0.6099 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001468/0.2897, allocations: 186.9 kB / 0.6101 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.34e-05/0.2898, allocations: 35.98 kB / 0.6101 GB, free: 12.58 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001267/0.2911, allocations: 0.5175 MB / 0.6106 GB, free: 12.06 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001101/0.2922, allocations: 0.6472 MB / 0.6113 GB, free: 11.26 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001696/0.2939, allocations: 0.802 MB / 0.612 GB, free: 10.35 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.531e-06/0.2939, allocations: 11.94 kB / 0.6121 GB, free: 10.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004679/0.2986, allocations: 1.374 MB / 0.6134 GB, free: 8.949 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.2986, allocations: 14.19 kB / 0.6134 GB, free: 8.938 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/0.2987, allocations: 8 kB / 0.6134 GB, free: 8.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008244/0.2995, allocations: 260.7 kB / 0.6137 GB, free: 8.672 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006213/0.3001, allocations: 167.7 kB / 0.6138 GB, free: 8.508 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001206/0.3013, allocations: 0.8372 MB / 0.6146 GB, free: 7.645 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001521/0.3029, allocations: 143.7 kB / 0.6148 GB, free: 7.504 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.711e-05/0.303, allocations: 39.98 kB / 0.6148 GB, free: 7.465 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.0003386/0.3033, allocations: 236 kB / 0.615 GB, free: 7.227 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002203/0.3035, allocations: 114.6 kB / 0.6152 GB, free: 7.113 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004272/0.3078, allocations: 1.094 MB / 0.6162 GB, free: 6.008 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/0.3078, allocations: 4 kB / 0.6162 GB, free: 6.004 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.3078, allocations: 0 / 0.6162 GB, free: 6.004 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.3079, allocations: 7.922 kB / 0.6162 GB, free: 5.996 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003657/0.3115, allocations: 1.85 MB / 0.618 GB, free: 4.059 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.3115, allocations: 4 kB / 0.618 GB, free: 4.055 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003559/0.3119, allocations: 67.88 kB / 0.6181 GB, free: 3.988 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007904/0.3127, allocations: 244.7 kB / 0.6183 GB, free: 3.746 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.822e-05/0.3127, allocations: 16 kB / 0.6184 GB, free: 3.73 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00118/0.3139, allocations: 0.8409 MB / 0.6192 GB, free: 2.863 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.269e-06/0.3139, allocations: 4.031 kB / 0.6192 GB, free: 2.859 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002053/0.316, allocations: 0.9461 MB / 0.6201 GB, free: 1.863 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004534/0.3165, allocations: 259.5 kB / 0.6204 GB, free: 1.59 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001576/0.3166, allocations: 8 kB / 0.6204 GB, free: 1.582 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009629/0.3176, allocations: 87.89 kB / 0.6204 GB, free: 1.496 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.266e-05/0.3177, allocations: 39.89 kB / 0.6205 GB, free: 1.457 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.201e-05/0.3178, allocations: 27.98 kB / 0.6205 GB, free: 1.43 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001149/0.3189, allocations: 0.7958 MB / 0.6213 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3189, allocations: 3.938 kB / 0.6213 GB, free: 0.625 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001526/0.3205, allocations: 0.5615 MB / 0.6218 GB, free: 64 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.000627/0.3211, allocations: 271.3 kB / 0.6221 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003265/0.3244, allocations: 1.218 MB / 0.6233 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.3244, allocations: 0 / 0.6233 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007915/0.3252, allocations: 313.5 kB / 0.6236 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002301/0.3275, allocations: 0.5687 MB / 0.6241 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005331/0.3328, allocations: 2 MB / 0.6261 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006822/0.3336, allocations: 1.058 MB / 0.6271 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001026/0.3346, allocations: 249.5 kB / 0.6274 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002834/0.3349, allocations: 87.41 kB / 0.6275 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of SimCode: time 8.41e-07/0.3349, allocations: 0 / 0.6275 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of Templates: time 0.3005/0.6354, allocations: 25.27 MB / 0.6521 GB, free: 120.6 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)