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.005295/0.005295, allocations: 100.8 kB / 15.73 MB, free: 6.051 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.001179/0.001179, allocations: 191.2 kB / 16.67 MB, free: 5.98 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.632/1.632, 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.4169/0.4169, allocations: 54.94 MB / 324.8 MB, free: 15.97 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.001713/0.001713, allocations: 66.14 kB / 456.2 MB, free: 38.2 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1321, allocations: 59.59 MB / 0.5037 GB, free: 9.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Chillers.Examples.Carnot_TEva): time 0.05546/0.1876, allocations: 60.46 MB / 0.5627 GB, free: 14.34 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01555/0.2032, allocations: 11.23 MB / 0.5737 GB, free: 3.074 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002012/0.2052, allocations: 47.69 kB / 0.5738 GB, free: 3.027 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002394/0.2077, allocations: 0.7532 MB / 0.5745 GB, free: 2.27 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006179/0.2139, allocations: 2.025 MB / 0.5765 GB, free: 240 kB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002781/0.2167, allocations: 1.03 MB / 0.5775 GB, free: 15.21 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004135/0.2209, allocations: 3.017 MB / 0.5804 GB, free: 12.18 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001479/0.2224, allocations: 1.083 MB / 0.5815 GB, free: 11.07 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003189/0.2256, allocations: 1.469 MB / 0.5829 GB, free: 9.594 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001339/0.2269, allocations: 0.9724 MB / 0.5839 GB, free: 8.617 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001599/0.2271, allocations: 116 kB / 0.584 GB, free: 8.504 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002162/0.2293, allocations: 1.201 MB / 0.5852 GB, free: 7.301 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002961/0.2296, allocations: 302.8 kB / 0.5854 GB, free: 7.004 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008154/0.2304, allocations: 0.7309 MB / 0.5862 GB, free: 6.27 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003399/0.2338, allocations: 2.224 MB / 0.5883 GB, free: 4.039 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.2338, allocations: 0 / 0.5883 GB, free: 4.039 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2338, allocations: 0 / 0.5883 GB, free: 4.039 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.781e-05/0.2339, allocations: 0 / 0.5883 GB, free: 4.039 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.003286/0.2372, allocations: 1.746 MB / 0.59 GB, free: 2.23 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.2372, allocations: 8.031 kB / 0.59 GB, free: 2.223 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002403/0.2396, allocations: 458.8 kB / 0.5905 GB, free: 1.773 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002263/0.2419, allocations: 1.151 MB / 0.5916 GB, free: 0.5781 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.699e-05/0.242, allocations: 66 kB / 0.5917 GB, free: 0.5156 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001167/0.2421, allocations: 88 kB / 0.5917 GB, free: 440 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002493/0.2446, allocations: 1.233 MB / 0.593 GB, free: 15.09 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.432e-05/0.2446, allocations: 3.938 kB / 0.593 GB, free: 15.09 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.533e-05/0.2447, allocations: 43.94 kB / 0.593 GB, free: 15.04 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.475e-05/0.2448, allocations: 24 kB / 0.593 GB, free: 15.02 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002584/0.2473, allocations: 0.9833 MB / 0.594 GB, free: 14.04 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.007548/0.2549, allocations: 6.236 MB / 0.6001 GB, free: 7.406 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002147/0.2571, allocations: 0.6476 MB / 0.6007 GB, free: 6.75 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006846/0.2578, allocations: 261.3 kB / 0.601 GB, free: 6.492 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000351/0.2581, allocations: 422.5 kB / 0.6014 GB, free: 5.988 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/0.2582, allocations: 38.89 kB / 0.6014 GB, free: 5.941 MB / 478.1 MB Notification: Performance of pre-optimization done (n=39): time 2.275e-06/0.2582, allocations: 4 kB / 0.6014 GB, free: 5.938 MB / 478.1 MB Notification: Performance of matching and sorting (n=39): time 0.00823/0.2664, allocations: 1.826 MB / 0.6032 GB, free: 4.082 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/0.2666, allocations: 162.2 kB / 0.6033 GB, free: 3.887 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002171/0.2687, allocations: 1.169 MB / 0.6045 GB, free: 2.707 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 8.561e-05/0.2688, allocations: 33.7 kB / 0.6045 GB, free: 2.668 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005159/0.2694, allocations: 0.5967 MB / 0.6051 GB, free: 2.066 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001435/0.2695, allocations: 145.9 kB / 0.6052 GB, free: 1.922 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003965/0.2699, allocations: 162.5 kB / 0.6054 GB, free: 1.754 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.2701, allocations: 334 kB / 0.6057 GB, free: 1.422 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009621/0.271, allocations: 336.6 kB / 0.606 GB, free: 1.09 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001166/0.2722, allocations: 0.6581 MB / 0.6067 GB, free: 288 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001943/0.2742, allocations: 0.8448 MB / 0.6075 GB, free: 15.32 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-05/0.2742, allocations: 4 kB / 0.6075 GB, free: 15.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004957/0.2792, allocations: 1.432 MB / 0.6089 GB, free: 13.88 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.183e-05/0.2792, allocations: 14.38 kB / 0.6089 GB, free: 13.86 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.654e-05/0.2792, allocations: 8 kB / 0.6089 GB, free: 13.86 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009654/0.2802, allocations: 248.6 kB / 0.6092 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000753/0.281, allocations: 175.6 kB / 0.6093 GB, free: 13.44 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001299/0.2823, allocations: 0.8411 MB / 0.6101 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001402/0.2837, allocations: 194.8 kB / 0.6103 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.925e-05/0.2838, allocations: 31.98 kB / 0.6104 GB, free: 12.35 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001252/0.2851, allocations: 0.5214 MB / 0.6109 GB, free: 11.82 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001085/0.2862, allocations: 0.6425 MB / 0.6115 GB, free: 11.04 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001631/0.2878, allocations: 0.794 MB / 0.6123 GB, free: 10.13 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.102e-06/0.2878, allocations: 0 / 0.6123 GB, free: 10.13 MB / 494.1 MB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004647/0.2925, allocations: 1.374 MB / 0.6136 GB, free: 8.742 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.78e-05/0.2925, allocations: 12 kB / 0.6136 GB, free: 8.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/0.2925, allocations: 8 kB / 0.6136 GB, free: 8.723 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008046/0.2934, allocations: 256.7 kB / 0.6139 GB, free: 8.469 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006218/0.294, allocations: 167.7 kB / 0.614 GB, free: 8.305 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001199/0.2952, allocations: 0.841 MB / 0.6149 GB, free: 7.438 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001311/0.2965, allocations: 147.4 kB / 0.615 GB, free: 7.293 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-05/0.2966, allocations: 35.98 kB / 0.615 GB, free: 7.258 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.000306/0.2969, allocations: 232 kB / 0.6153 GB, free: 7.023 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003179/0.2972, allocations: 122.5 kB / 0.6154 GB, free: 6.902 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00238/0.2996, allocations: 0.7935 MB / 0.6161 GB, free: 6.098 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.639e-06/0.2997, allocations: 4 kB / 0.6161 GB, free: 6.094 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.2997, allocations: 0 / 0.6161 GB, free: 6.094 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.2997, allocations: 3.984 kB / 0.6162 GB, free: 6.09 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003964/0.3037, allocations: 1.846 MB / 0.618 GB, free: 4.156 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.3037, allocations: 0 / 0.618 GB, free: 4.156 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003541/0.304, allocations: 76.19 kB / 0.618 GB, free: 4.082 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008695/0.3049, allocations: 248.6 kB / 0.6183 GB, free: 3.836 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.073e-05/0.305, allocations: 12 kB / 0.6183 GB, free: 3.824 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001383/0.3064, allocations: 0.8293 MB / 0.6191 GB, free: 2.969 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.185e-06/0.3064, allocations: 7.984 kB / 0.6191 GB, free: 2.961 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004119/0.3105, allocations: 1.219 MB / 0.6203 GB, free: 1.691 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005822/0.3111, allocations: 259.5 kB / 0.6205 GB, free: 1.418 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002929/0.3114, allocations: 15.94 kB / 0.6205 GB, free: 1.402 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00102/0.3125, allocations: 83.89 kB / 0.6206 GB, free: 1.32 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/0.3126, allocations: 35.91 kB / 0.6207 GB, free: 1.285 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.794e-05/0.3127, allocations: 27.97 kB / 0.6207 GB, free: 1.258 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001427/0.3141, allocations: 0.8036 MB / 0.6215 GB, free: 460 kB / 494.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3141, allocations: 0 / 0.6215 GB, free: 460 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.001904/0.316, allocations: 0.5615 MB / 0.622 GB, free: 15.88 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.0007354/0.3168, allocations: 271.3 kB / 0.6223 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003536/0.3203, allocations: 1.214 MB / 0.6235 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.431e-06/0.3204, allocations: 0 / 0.6235 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008571/0.3212, allocations: 317.4 kB / 0.6238 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002468/0.3237, allocations: 0.5638 MB / 0.6243 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005074/0.3288, allocations: 1.975 MB / 0.6262 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007145/0.3295, allocations: 1.062 MB / 0.6273 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000994/0.3305, allocations: 245.5 kB / 0.6275 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002445/0.3308, allocations: 87.41 kB / 0.6276 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of SimCode: time 5.51e-07/0.3308, allocations: 0 / 0.6276 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of Templates: time 0.3624/0.6932, allocations: 24.69 MB / 0.6517 GB, free: 121 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)