Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.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_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") translateModel(Annex60.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005221/0.005221, allocations: 100.7 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.00117/0.00117, allocations: 193.2 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.553/1.553, allocations: 205.1 MB / 222.5 MB, free: 4.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.424/0.424, allocations: 54.95 MB / 324.8 MB, free: 15.9 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.001555/0.001555, allocations: 73.23 kB / 456.2 MB, free: 38.16 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1268, allocations: 59.59 MB / 0.5037 GB, free: 9.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.05548/0.1823, allocations: 60.5 MB / 0.5628 GB, free: 14.32 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01628/0.1987, allocations: 11.23 MB / 0.5738 GB, free: 3.062 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002729/0.2015, allocations: 47.75 kB / 0.5738 GB, free: 3.016 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002053/0.2036, allocations: 0.7337 MB / 0.5745 GB, free: 2.277 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005198/0.2088, allocations: 1.934 MB / 0.5764 GB, free: 344 kB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002497/0.2113, allocations: 1.02 MB / 0.5774 GB, free: 15.32 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004003/0.2153, allocations: 3.038 MB / 0.5804 GB, free: 12.27 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001618/0.217, allocations: 1.108 MB / 0.5815 GB, free: 11.13 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003591/0.2206, allocations: 1.469 MB / 0.5829 GB, free: 9.664 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001668/0.2222, allocations: 0.988 MB / 0.5839 GB, free: 8.672 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001888/0.2224, allocations: 120 kB / 0.584 GB, free: 8.555 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002479/0.2249, allocations: 1.205 MB / 0.5851 GB, free: 7.348 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003435/0.2253, allocations: 298.8 kB / 0.5854 GB, free: 7.055 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008989/0.2262, allocations: 0.7348 MB / 0.5861 GB, free: 6.316 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003013/0.2292, allocations: 2.243 MB / 0.5883 GB, free: 4.066 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.2292, allocations: 0 / 0.5883 GB, free: 4.066 MB / 462.1 MB Notification: Performance of FrontEnd: time 8.61e-07/0.2293, allocations: 3.938 kB / 0.5883 GB, free: 4.062 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.03e-05/0.2293, allocations: 0 / 0.5883 GB, free: 4.062 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: 220 * Number of variables: 220 Notification: Performance of Generate backend data structure: time 0.002973/0.2323, allocations: 1.746 MB / 0.59 GB, free: 2.258 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.2323, allocations: 15.91 kB / 0.5901 GB, free: 2.242 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002828/0.2351, allocations: 0.5026 MB / 0.5906 GB, free: 1.738 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002189/0.2373, allocations: 1.151 MB / 0.5917 GB, free: 0.543 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.887e-05/0.2374, allocations: 66 kB / 0.5917 GB, free: 488 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001221/0.2375, allocations: 88 kB / 0.5918 GB, free: 400 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00255/0.2401, allocations: 1.247 MB / 0.593 GB, free: 15.06 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/0.2401, allocations: 4 kB / 0.593 GB, free: 15.05 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-05/0.2402, allocations: 36 kB / 0.5931 GB, free: 15.02 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.487e-05/0.2403, allocations: 28 kB / 0.5931 GB, free: 14.99 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002746/0.243, allocations: 1.057 MB / 0.5941 GB, free: 13.93 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.006743/0.2498, allocations: 6.068 MB / 0.6001 GB, free: 7.445 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002704/0.2525, allocations: 0.8654 MB / 0.6009 GB, free: 6.57 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008516/0.2534, allocations: 348.6 kB / 0.6012 GB, free: 6.227 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003565/0.2537, allocations: 422.3 kB / 0.6016 GB, free: 5.723 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.2538, allocations: 42.52 kB / 0.6017 GB, free: 5.672 MB / 478.1 MB Notification: Performance of pre-optimization done (n=43): time 2.685e-06/0.2538, allocations: 0 / 0.6017 GB, free: 5.672 MB / 478.1 MB Notification: Performance of matching and sorting (n=43): time 0.006723/0.2605, allocations: 1.805 MB / 0.6034 GB, free: 3.836 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.057e-05/0.2606, allocations: 158.2 kB / 0.6036 GB, free: 3.645 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001619/0.2623, allocations: 1.045 MB / 0.6046 GB, free: 2.586 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001205/0.2624, allocations: 41.7 kB / 0.6047 GB, free: 2.539 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005548/0.263, allocations: 0.5811 MB / 0.6052 GB, free: 1.953 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001897/0.2632, allocations: 153.8 kB / 0.6054 GB, free: 1.801 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002608/0.2634, allocations: 146.2 kB / 0.6055 GB, free: 1.652 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.2636, allocations: 329.9 kB / 0.6058 GB, free: 1.324 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00103/0.2646, allocations: 375.2 kB / 0.6062 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001192/0.2658, allocations: 0.6387 MB / 0.6068 GB, free: 188 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002008/0.2679, allocations: 0.8604 MB / 0.6076 GB, free: 15.24 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.2679, allocations: 4 kB / 0.6077 GB, free: 15.24 MB / 494.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.004968/0.2728, allocations: 1.447 MB / 0.6091 GB, free: 13.78 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.684e-05/0.2729, allocations: 8 kB / 0.6091 GB, free: 13.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.2729, allocations: 4 kB / 0.6091 GB, free: 13.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008664/0.2738, allocations: 256.8 kB / 0.6093 GB, free: 13.51 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007429/0.2745, allocations: 167.8 kB / 0.6095 GB, free: 13.35 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00121/0.2758, allocations: 0.8372 MB / 0.6103 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001154/0.2769, allocations: 159.1 kB / 0.6105 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.444e-05/0.277, allocations: 31.98 kB / 0.6105 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001246/0.2782, allocations: 0.548 MB / 0.611 GB, free: 11.75 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001097/0.2794, allocations: 0.5997 MB / 0.6116 GB, free: 11.03 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001824/0.2812, allocations: 0.833 MB / 0.6124 GB, free: 10.11 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.916e-06/0.2812, allocations: 0 / 0.6124 GB, free: 10.11 MB / 494.1 MB Notification: Performance of matching and sorting (n=82) (initialization_lambda0): time 0.004712/0.2859, allocations: 1.388 MB / 0.6138 GB, free: 8.715 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.286, allocations: 4 kB / 0.6138 GB, free: 8.711 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.467e-06/0.286, allocations: 15.92 kB / 0.6138 GB, free: 8.695 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008107/0.2868, allocations: 257 kB / 0.614 GB, free: 8.441 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007024/0.2875, allocations: 163.8 kB / 0.6142 GB, free: 8.281 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001178/0.2887, allocations: 0.841 MB / 0.615 GB, free: 7.414 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001126/0.2898, allocations: 119.5 kB / 0.6151 GB, free: 7.297 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.02e-05/0.2899, allocations: 31.98 kB / 0.6152 GB, free: 7.266 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (71): * Single equations (assignments): 70 * 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.0002753/0.2902, allocations: 228 kB / 0.6154 GB, free: 7.035 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001833/0.2904, allocations: 110.7 kB / 0.6155 GB, free: 6.926 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002709/0.2931, allocations: 0.9741 MB / 0.6164 GB, free: 5.93 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.2931, allocations: 4 kB / 0.6164 GB, free: 5.926 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.2931, allocations: 0 / 0.6164 GB, free: 5.926 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.2931, allocations: 7.984 kB / 0.6164 GB, free: 5.918 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005876/0.299, allocations: 2.272 MB / 0.6187 GB, free: 3.566 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.2991, allocations: 0 / 0.6187 GB, free: 3.566 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005579/0.2996, allocations: 100.1 kB / 0.6188 GB, free: 3.469 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000792/0.3004, allocations: 256.5 kB / 0.619 GB, free: 3.215 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.251e-05/0.3005, allocations: 15.98 kB / 0.619 GB, free: 3.199 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001151/0.3016, allocations: 0.8217 MB / 0.6198 GB, free: 2.352 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/0.3016, allocations: 4 kB / 0.6198 GB, free: 2.348 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00459/0.3062, allocations: 1.353 MB / 0.6211 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006158/0.3069, allocations: 263.6 kB / 0.6214 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001587/0.307, allocations: 11.98 kB / 0.6214 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009105/0.308, allocations: 87.89 kB / 0.6215 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.972e-05/0.3081, allocations: 35.84 kB / 0.6215 GB, free: 0.543 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-05/0.3081, allocations: 23.97 kB / 0.6215 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00101/0.3091, allocations: 0.7281 MB / 0.6223 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3091, allocations: 0 / 0.6223 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001491/0.3106, allocations: 0.5613 MB / 0.6228 GB, free: 15.22 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (31): * Single equations (assignments): 30 * 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 Backend phase and start with SimCode phase: time 0.0006315/0.3113, allocations: 274.1 kB / 0.6231 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003639/0.3149, allocations: 1.32 MB / 0.6244 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.3149, allocations: 4.312 kB / 0.6244 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001057/0.316, allocations: 388 kB / 0.6247 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002237/0.3183, allocations: 0.5225 MB / 0.6252 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003709/0.322, allocations: 1.878 MB / 0.6271 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005517/0.3226, allocations: 1.058 MB / 0.6281 GB, free: 9.727 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000957/0.3235, allocations: 245.1 kB / 0.6283 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002296/0.3238, allocations: 87.34 kB / 0.6284 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of SimCode: time 7.32e-07/0.3238, allocations: 0 / 0.6284 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of Templates: time 0.3538/0.6776, allocations: 24.42 MB / 0.6523 GB, free: 121.3 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.sim & ./Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1)