Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Chillers.Examples.Carnot_TEva.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.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Chillers.Examples.Carnot_TEva") translateModel(Annex60.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Chillers.Examples.Carnot_TEva") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008147/0.008148, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001285/0.001286, allocations: 201.8 kB / 16.68 MB, free: 5.969 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.522/1.522, allocations: 205.1 MB / 222.6 MB, free: 4.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4071/0.4071, allocations: 54.94 MB / 324.8 MB, free: 15.88 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.001451/0.001451, allocations: 67.75 kB / 456.2 MB, free: 38.21 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1442, allocations: 59.59 MB / 0.5037 GB, free: 9.715 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Chillers.Examples.Carnot_TEva): time 0.06808/0.2124, allocations: 60.46 MB / 0.5627 GB, free: 14.35 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01771/0.2301, allocations: 11.23 MB / 0.5737 GB, free: 3.086 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002379/0.2325, allocations: 51.75 kB / 0.5738 GB, free: 3.035 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002598/0.2352, allocations: 0.7259 MB / 0.5745 GB, free: 2.305 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006697/0.2419, allocations: 1.926 MB / 0.5763 GB, free: 380 kB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003852/0.2458, allocations: 1.03 MB / 0.5774 GB, free: 15.35 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.006125/0.252, allocations: 3.015 MB / 0.5803 GB, free: 12.32 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002538/0.2545, allocations: 1.083 MB / 0.5814 GB, free: 11.2 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004752/0.2593, allocations: 1.446 MB / 0.5828 GB, free: 9.754 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002519/0.2618, allocations: 0.9724 MB / 0.5837 GB, free: 8.777 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006174/0.2625, allocations: 120 kB / 0.5838 GB, free: 8.66 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00357/0.266, allocations: 1.201 MB / 0.585 GB, free: 7.457 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006159/0.2667, allocations: 294.8 kB / 0.5853 GB, free: 7.168 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001707/0.2684, allocations: 0.7309 MB / 0.586 GB, free: 6.434 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00526/0.2737, allocations: 2.238 MB / 0.5882 GB, free: 4.188 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.2737, allocations: 0 / 0.5882 GB, free: 4.188 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.2737, allocations: 0 / 0.5882 GB, free: 4.188 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.094e-05/0.2738, allocations: 4 kB / 0.5882 GB, free: 4.184 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.004676/0.2785, allocations: 1.787 MB / 0.5899 GB, free: 2.332 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.2785, allocations: 12.03 kB / 0.5899 GB, free: 2.32 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002607/0.2811, allocations: 471.5 kB / 0.5904 GB, free: 1.859 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002633/0.2838, allocations: 1.141 MB / 0.5915 GB, free: 0.6758 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.412e-05/0.2839, allocations: 74 kB / 0.5916 GB, free: 0.6055 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.284, allocations: 88 kB / 0.5917 GB, free: 0.5195 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002619/0.2866, allocations: 1.236 MB / 0.5929 GB, free: 15.18 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.468e-05/0.2867, allocations: 7.938 kB / 0.5929 GB, free: 15.17 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/0.2868, allocations: 36 kB / 0.5929 GB, free: 15.13 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.95e-05/0.2868, allocations: 28 kB / 0.5929 GB, free: 15.11 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002674/0.2895, allocations: 0.9794 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.007396/0.2969, allocations: 6.241 MB / 0.6 GB, free: 7.492 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002215/0.2991, allocations: 0.6593 MB / 0.6006 GB, free: 6.824 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006726/0.2998, allocations: 261.3 kB / 0.6009 GB, free: 6.566 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003689/0.3002, allocations: 422.5 kB / 0.6013 GB, free: 6.062 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.82e-05/0.3002, allocations: 38.89 kB / 0.6013 GB, free: 6.016 MB / 478.1 MB Notification: Performance of pre-optimization done (n=39): time 2.394e-06/0.3003, allocations: 0 / 0.6013 GB, free: 6.016 MB / 478.1 MB Notification: Performance of matching and sorting (n=39): time 0.008484/0.3087, allocations: 1.842 MB / 0.6031 GB, free: 4.145 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001276/0.3089, allocations: 158.2 kB / 0.6033 GB, free: 3.953 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002126/0.311, allocations: 1.161 MB / 0.6044 GB, free: 2.781 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001089/0.3112, allocations: 37.7 kB / 0.6044 GB, free: 2.738 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006267/0.3118, allocations: 0.6136 MB / 0.605 GB, free: 2.121 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000166/0.312, allocations: 142.8 kB / 0.6052 GB, free: 1.98 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003253/0.3123, allocations: 162.5 kB / 0.6053 GB, free: 1.812 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.3125, allocations: 337.9 kB / 0.6057 GB, free: 1.477 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001047/0.3135, allocations: 340.6 kB / 0.606 GB, free: 1.141 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001369/0.3149, allocations: 0.6542 MB / 0.6066 GB, free: 344 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002006/0.3169, allocations: 0.8448 MB / 0.6074 GB, free: 15.38 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.317, allocations: 0 / 0.6074 GB, free: 15.38 MB / 494.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00546/0.3224, allocations: 1.441 MB / 0.6089 GB, free: 13.93 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.693e-05/0.3225, allocations: 10.34 kB / 0.6089 GB, free: 13.92 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.274e-05/0.3225, allocations: 8 kB / 0.6089 GB, free: 13.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001054/0.3236, allocations: 252.6 kB / 0.6091 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007959/0.3244, allocations: 175.8 kB / 0.6093 GB, free: 13.49 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001526/0.3259, allocations: 0.8449 MB / 0.6101 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001798/0.3278, allocations: 195.1 kB / 0.6103 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.902e-05/0.3279, allocations: 39.98 kB / 0.6103 GB, free: 12.39 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001359/0.3292, allocations: 0.5253 MB / 0.6108 GB, free: 11.86 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001121/0.3304, allocations: 0.6269 MB / 0.6115 GB, free: 11.09 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001756/0.3321, allocations: 0.8017 MB / 0.6122 GB, free: 10.17 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.676e-06/0.3321, allocations: 0 / 0.6122 GB, free: 10.17 MB / 494.1 MB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.005085/0.3372, allocations: 1.374 MB / 0.6136 GB, free: 8.785 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.3373, allocations: 8 kB / 0.6136 GB, free: 8.777 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.691e-05/0.3373, allocations: 8 kB / 0.6136 GB, free: 8.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009134/0.3382, allocations: 252.7 kB / 0.6138 GB, free: 8.52 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006377/0.3389, allocations: 163.7 kB / 0.614 GB, free: 8.359 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001319/0.3402, allocations: 0.849 MB / 0.6148 GB, free: 7.484 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001406/0.3416, allocations: 155.6 kB / 0.615 GB, free: 7.332 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.587e-05/0.3417, allocations: 28 kB / 0.615 GB, free: 7.305 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.0003229/0.342, allocations: 232 kB / 0.6152 GB, free: 7.07 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002164/0.3423, allocations: 127.1 kB / 0.6153 GB, free: 6.945 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002392/0.3447, allocations: 0.7935 MB / 0.6161 GB, free: 6.141 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.3447, allocations: 4 kB / 0.6161 GB, free: 6.137 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.3447, allocations: 0 / 0.6161 GB, free: 6.137 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.3447, allocations: 7.984 kB / 0.6161 GB, free: 6.129 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003649/0.3484, allocations: 1.847 MB / 0.6179 GB, free: 4.195 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/0.3484, allocations: 4 kB / 0.6179 GB, free: 4.191 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000346/0.3487, allocations: 71.88 kB / 0.618 GB, free: 4.121 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008384/0.3496, allocations: 244.7 kB / 0.6182 GB, free: 3.879 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.259e-05/0.3496, allocations: 15.98 kB / 0.6182 GB, free: 3.863 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00128/0.3509, allocations: 0.8293 MB / 0.6191 GB, free: 3.008 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.223e-06/0.3509, allocations: 7.969 kB / 0.6191 GB, free: 3 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004116/0.3551, allocations: 1.231 MB / 0.6203 GB, free: 1.719 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004286/0.3555, allocations: 268.1 kB / 0.6205 GB, free: 1.438 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001745/0.3557, allocations: 15.92 kB / 0.6205 GB, free: 1.422 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008992/0.3566, allocations: 87.89 kB / 0.6206 GB, free: 1.336 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.43e-05/0.3567, allocations: 31.97 kB / 0.6207 GB, free: 1.305 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.296e-05/0.3567, allocations: 23.98 kB / 0.6207 GB, free: 1.281 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001258/0.358, allocations: 0.7958 MB / 0.6215 GB, free: 492 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.358, allocations: 4 kB / 0.6215 GB, free: 488 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.001574/0.3596, allocations: 0.5617 MB / 0.622 GB, free: 15.91 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.0006214/0.3602, allocations: 272.8 kB / 0.6223 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003545/0.3638, allocations: 1.222 MB / 0.6235 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/0.3638, allocations: 4 kB / 0.6235 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000891/0.3647, allocations: 317.4 kB / 0.6238 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002467/0.3672, allocations: 0.5633 MB / 0.6243 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005145/0.3723, allocations: 2.004 MB / 0.6263 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006863/0.373, allocations: 1.066 MB / 0.6273 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0009962/0.3741, allocations: 245.5 kB / 0.6275 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002183/0.3743, allocations: 83.36 kB / 0.6276 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of SimCode: time 1.122e-06/0.3743, allocations: 0 / 0.6276 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of Templates: time 0.4016/0.7759, allocations: 24.69 MB / 0.6517 GB, free: 120.9 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Chillers.Examples.Carnot_TEva.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Chillers.Examples.Carnot_TEva.sim & ./Annex60_1.0.0_Annex60.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)