Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.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.Validation.Carnot_TEva_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity") translateModel(Annex60.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007107/0.007108, allocations: 101.1 kB / 15.73 MB, free: 6.469 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.001172/0.001172, allocations: 193.8 kB / 16.67 MB, free: 6.379 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.425/1.425, allocations: 205.1 MB / 222.6 MB, free: 4.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.397/0.397, allocations: 54.95 MB / 324.8 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.001542/0.001542, allocations: 66.17 kB / 456.2 MB, free: 38.3 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1273, allocations: 59.6 MB / 0.5037 GB, free: 9.863 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.05529/0.1826, allocations: 60.48 MB / 0.5628 GB, free: 14.36 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01746/0.2001, allocations: 11.25 MB / 0.5738 GB, free: 3.082 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002948/0.2032, allocations: 51.69 kB / 0.5738 GB, free: 3.031 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002188/0.2054, allocations: 0.722 MB / 0.5745 GB, free: 2.305 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006197/0.2116, allocations: 1.928 MB / 0.5764 GB, free: 376 kB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002666/0.2143, allocations: 1.018 MB / 0.5774 GB, free: 15.36 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004066/0.2184, allocations: 3.022 MB / 0.5804 GB, free: 12.32 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00151/0.2199, allocations: 1.08 MB / 0.5814 GB, free: 11.21 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003086/0.223, allocations: 1.442 MB / 0.5828 GB, free: 9.762 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001427/0.2244, allocations: 0.9724 MB / 0.5838 GB, free: 8.785 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003062/0.2247, allocations: 120 kB / 0.5839 GB, free: 8.668 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002496/0.2272, allocations: 1.213 MB / 0.5851 GB, free: 7.453 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003626/0.2276, allocations: 302.8 kB / 0.5854 GB, free: 7.156 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008618/0.2285, allocations: 0.7348 MB / 0.5861 GB, free: 6.418 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002936/0.2314, allocations: 2.228 MB / 0.5882 GB, free: 4.184 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.2315, allocations: 0 / 0.5882 GB, free: 4.184 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2315, allocations: 0 / 0.5882 GB, free: 4.184 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.754e-05/0.2315, allocations: 0 / 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.002934/0.2344, allocations: 1.746 MB / 0.59 GB, free: 2.375 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.2345, allocations: 12.03 kB / 0.59 GB, free: 2.363 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001892/0.2364, allocations: 362.9 kB / 0.5903 GB, free: 2.008 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00187/0.2383, allocations: 1.093 MB / 0.5914 GB, free: 0.8711 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.69e-05/0.2383, allocations: 66 kB / 0.5914 GB, free: 0.8086 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001174/0.2384, allocations: 88 kB / 0.5915 GB, free: 0.7227 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002442/0.2409, allocations: 1.209 MB / 0.5927 GB, free: 15.4 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/0.2409, allocations: 4 kB / 0.5927 GB, free: 15.4 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.078e-05/0.241, allocations: 39.91 kB / 0.5927 GB, free: 15.36 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-05/0.2411, allocations: 39.92 kB / 0.5928 GB, free: 15.32 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002486/0.2436, allocations: 0.9209 MB / 0.5937 GB, free: 14.41 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.006641/0.2502, allocations: 6.158 MB / 0.5997 GB, free: 7.852 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001853/0.2521, allocations: 0.5696 MB / 0.6003 GB, free: 7.273 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005982/0.2527, allocations: 233.2 kB / 0.6005 GB, free: 7.043 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001062/0.2538, allocations: 0.8749 MB / 0.6013 GB, free: 5.984 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.2538, allocations: 38.89 kB / 0.6014 GB, free: 5.938 MB / 478.1 MB Notification: Performance of pre-optimization done (n=39): time 2.755e-06/0.2538, allocations: 3.938 kB / 0.6014 GB, free: 5.934 MB / 478.1 MB Notification: Performance of matching and sorting (n=39): time 0.008485/0.2623, allocations: 1.748 MB / 0.6031 GB, free: 4.156 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.926e-05/0.2624, allocations: 158.2 kB / 0.6032 GB, free: 3.965 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001834/0.2643, allocations: 1.161 MB / 0.6044 GB, free: 2.793 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 9.65e-05/0.2644, allocations: 37.7 kB / 0.6044 GB, free: 2.75 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005635/0.265, allocations: 0.5967 MB / 0.605 GB, free: 2.148 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001698/0.2652, allocations: 142 kB / 0.6051 GB, free: 2.008 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002917/0.2655, allocations: 162.4 kB / 0.6053 GB, free: 1.84 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.2656, allocations: 334 kB / 0.6056 GB, free: 1.508 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009663/0.2666, allocations: 320.6 kB / 0.6059 GB, free: 1.191 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001331/0.2679, allocations: 0.6183 MB / 0.6065 GB, free: 436 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001878/0.2698, allocations: 0.7933 MB / 0.6073 GB, free: 15.52 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.607e-06/0.2699, allocations: 4 kB / 0.6073 GB, free: 15.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002842/0.2727, allocations: 1.074 MB / 0.6083 GB, free: 14.43 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/0.2727, allocations: 8 kB / 0.6083 GB, free: 14.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/0.2728, allocations: 8 kB / 0.6083 GB, free: 14.42 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000968/0.2737, allocations: 252.7 kB / 0.6086 GB, free: 14.17 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006586/0.2744, allocations: 163.7 kB / 0.6087 GB, free: 14.01 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001296/0.2757, allocations: 0.8411 MB / 0.6096 GB, free: 13.14 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001234/0.277, allocations: 178.9 kB / 0.6097 GB, free: 12.96 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.076e-05/0.2771, allocations: 43.97 kB / 0.6098 GB, free: 12.92 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001103/0.2782, allocations: 0.4902 MB / 0.6103 GB, free: 12.43 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00106/0.2792, allocations: 0.5987 MB / 0.6108 GB, free: 11.69 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001484/0.2807, allocations: 0.7426 MB / 0.6116 GB, free: 10.84 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.25e-06/0.2807, allocations: 3.984 kB / 0.6116 GB, free: 10.83 MB / 494.1 MB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.00249/0.2832, allocations: 1.023 MB / 0.6126 GB, free: 9.797 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.2833, allocations: 8 kB / 0.6126 GB, free: 9.789 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/0.2833, allocations: 8 kB / 0.6126 GB, free: 9.781 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008269/0.2841, allocations: 248.6 kB / 0.6128 GB, free: 9.535 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005644/0.2847, allocations: 159.7 kB / 0.613 GB, free: 9.379 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001262/0.286, allocations: 0.8479 MB / 0.6138 GB, free: 8.508 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001165/0.2871, allocations: 139.4 kB / 0.6139 GB, free: 8.371 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-05/0.2872, allocations: 36.12 kB / 0.614 GB, free: 8.336 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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.0002453/0.2875, allocations: 228 kB / 0.6142 GB, free: 8.105 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001887/0.2877, allocations: 130.4 kB / 0.6143 GB, free: 7.977 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00211/0.2898, allocations: 0.7317 MB / 0.615 GB, free: 7.234 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.2898, allocations: 8 kB / 0.615 GB, free: 7.227 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.2898, allocations: 0 / 0.615 GB, free: 7.227 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.2898, allocations: 0 / 0.615 GB, free: 7.227 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004794/0.2946, allocations: 1.952 MB / 0.6169 GB, free: 5.188 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.2946, allocations: 0 / 0.6169 GB, free: 5.188 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002919/0.2949, allocations: 63.89 kB / 0.617 GB, free: 5.125 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008299/0.2958, allocations: 240.7 kB / 0.6172 GB, free: 4.887 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.66e-05/0.2958, allocations: 15.94 kB / 0.6172 GB, free: 4.871 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001781/0.2976, allocations: 0.8957 MB / 0.6181 GB, free: 3.949 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/0.2976, allocations: 8.016 kB / 0.6181 GB, free: 3.941 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003525/0.3012, allocations: 1.051 MB / 0.6191 GB, free: 2.84 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004883/0.3017, allocations: 259.5 kB / 0.6194 GB, free: 2.566 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001604/0.3018, allocations: 11.98 kB / 0.6194 GB, free: 2.555 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008826/0.3027, allocations: 79.91 kB / 0.6195 GB, free: 2.477 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.083e-05/0.3028, allocations: 23.97 kB / 0.6195 GB, free: 2.453 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.164e-05/0.3029, allocations: 27.92 kB / 0.6195 GB, free: 2.426 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0012/0.3041, allocations: 0.7997 MB / 0.6203 GB, free: 1.621 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.216e-06/0.3041, allocations: 0 / 0.6203 GB, free: 1.621 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001519/0.3056, allocations: 0.5731 MB / 0.6209 GB, free: 1.047 MB / 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.000649/0.3063, allocations: 296 kB / 0.6212 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002988/0.3093, allocations: 1.105 MB / 0.6222 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.3093, allocations: 4 kB / 0.6222 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001286/0.3106, allocations: 337 kB / 0.6226 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002544/0.3131, allocations: 0.5645 MB / 0.6231 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00318/0.3163, allocations: 1.785 MB / 0.6249 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006341/0.317, allocations: 1.066 MB / 0.6259 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0009999/0.318, allocations: 241.2 kB / 0.6261 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002213/0.3182, allocations: 83.42 kB / 0.6262 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of SimCode: time 1.252e-06/0.3182, allocations: 0 / 0.6262 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of Templates: time 0.3296/0.6478, allocations: 24.46 MB / 0.6501 GB, free: 121.4 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.sim & ./Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe 2>&1)