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.005477/0.005477, allocations: 104.2 kB / 15.74 MB, free: 6.059 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.001142/0.001142, allocations: 196.3 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.558/1.558, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2726/0.2726, allocations: 54.96 MB / 324.9 MB, free: 4.848 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.001497/0.001497, allocations: 79.83 kB / 456.2 MB, free: 2.625 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1475, allocations: 59.6 MB / 0.5037 GB, free: 7.066 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.4117/0.5592, allocations: 60.51 MB / 0.5628 GB, free: 8.355 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02057/0.5798, allocations: 11.23 MB / 0.5738 GB, free: 300 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00359/0.5835, allocations: 52.91 kB / 0.5738 GB, free: 280 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003331/0.5869, allocations: 0.7263 MB / 0.5745 GB, free: 15.82 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008112/0.595, allocations: 1.938 MB / 0.5764 GB, free: 14.65 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004779/0.5998, allocations: 1.022 MB / 0.5774 GB, free: 13.89 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.007791/0.6076, allocations: 3.036 MB / 0.5804 GB, free: 12.1 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002349/0.61, allocations: 1.106 MB / 0.5815 GB, free: 11.39 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004903/0.615, allocations: 1.43 MB / 0.5829 GB, free: 10.52 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002714/0.6177, allocations: 0.9908 MB / 0.5838 GB, free: 9.918 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002732/0.618, allocations: 121.8 kB / 0.5839 GB, free: 9.918 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003229/0.6212, allocations: 1.196 MB / 0.5851 GB, free: 9.289 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003716/0.6216, allocations: 307.9 kB / 0.5854 GB, free: 9.039 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001245/0.6229, allocations: 0.7334 MB / 0.5861 GB, free: 8.555 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004435/0.6273, allocations: 2.249 MB / 0.5883 GB, free: 7.059 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.6273, allocations: 4 kB / 0.5883 GB, free: 7.055 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.6273, allocations: 0 / 0.5883 GB, free: 7.055 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.286e-05/0.6274, allocations: 3.938 kB / 0.5883 GB, free: 7.051 MB / 446.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.003382/0.6308, allocations: 1.748 MB / 0.59 GB, free: 5.707 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.6308, allocations: 10.03 kB / 0.59 GB, free: 5.707 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002916/0.6338, allocations: 0.4973 MB / 0.5905 GB, free: 5.484 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0025/0.6363, allocations: 1.147 MB / 0.5916 GB, free: 4.582 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.898e-05/0.6364, allocations: 75.77 kB / 0.5917 GB, free: 4.543 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000145/0.6365, allocations: 83.38 kB / 0.5918 GB, free: 4.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002971/0.6395, allocations: 1.245 MB / 0.593 GB, free: 3.68 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.487e-05/0.6395, allocations: 2.906 kB / 0.593 GB, free: 3.68 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.439e-05/0.6396, allocations: 35.88 kB / 0.5931 GB, free: 3.652 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.18e-05/0.6397, allocations: 29.5 kB / 0.5931 GB, free: 3.648 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002941/0.6426, allocations: 1.052 MB / 0.5941 GB, free: 3.129 MB / 446.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.007496/0.6502, allocations: 6.075 MB / 0.6 GB, free: 13.55 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002912/0.6531, allocations: 0.8633 MB / 0.6009 GB, free: 13 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009665/0.6541, allocations: 352.8 kB / 0.6012 GB, free: 12.66 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000352/0.6544, allocations: 425.5 kB / 0.6016 GB, free: 12.15 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.6545, allocations: 38.5 kB / 0.6017 GB, free: 12.1 MB / 462.1 MB Notification: Performance of pre-optimization done (n=43): time 3.497e-06/0.6545, allocations: 0 / 0.6017 GB, free: 12.1 MB / 462.1 MB Notification: Performance of matching and sorting (n=43): time 0.007533/0.662, allocations: 1.801 MB / 0.6034 GB, free: 10.27 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.905e-05/0.6622, allocations: 166.2 kB / 0.6036 GB, free: 10.07 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001604/0.6638, allocations: 1.037 MB / 0.6046 GB, free: 9.02 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.933e-05/0.6639, allocations: 37.7 kB / 0.6046 GB, free: 8.977 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005233/0.6644, allocations: 0.585 MB / 0.6052 GB, free: 8.387 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001791/0.6646, allocations: 157.8 kB / 0.6054 GB, free: 8.23 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000245/0.6649, allocations: 146.2 kB / 0.6055 GB, free: 8.082 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.665, allocations: 330 kB / 0.6058 GB, free: 7.754 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001104/0.6661, allocations: 375.1 kB / 0.6062 GB, free: 7.383 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001408/0.6675, allocations: 0.6271 MB / 0.6068 GB, free: 6.629 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002305/0.6698, allocations: 0.8798 MB / 0.6076 GB, free: 5.668 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.6699, allocations: 0 / 0.6076 GB, free: 5.668 MB / 462.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.005738/0.6756, allocations: 1.439 MB / 0.609 GB, free: 4.215 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.004e-05/0.6757, allocations: 15.41 kB / 0.6091 GB, free: 4.203 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/0.6757, allocations: 12 kB / 0.6091 GB, free: 4.191 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001031/0.6767, allocations: 252.6 kB / 0.6093 GB, free: 3.941 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008004/0.6775, allocations: 171.8 kB / 0.6095 GB, free: 3.773 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001342/0.6789, allocations: 0.8389 MB / 0.6103 GB, free: 2.91 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001555/0.6805, allocations: 155.1 kB / 0.6104 GB, free: 2.758 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.688e-05/0.6806, allocations: 37.55 kB / 0.6105 GB, free: 2.723 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00149/0.6821, allocations: 0.5452 MB / 0.611 GB, free: 2.176 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0012/0.6833, allocations: 0.6075 MB / 0.6116 GB, free: 1.449 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00204/0.6853, allocations: 0.8212 MB / 0.6124 GB, free: 0.5469 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.18e-06/0.6853, allocations: 4 kB / 0.6124 GB, free: 0.543 MB / 462.1 MB Notification: Performance of matching and sorting (n=82) (initialization_lambda0): time 0.005227/0.6906, allocations: 1.388 MB / 0.6138 GB, free: 15.14 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.6906, allocations: 8.062 kB / 0.6138 GB, free: 15.14 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.6906, allocations: 8 kB / 0.6138 GB, free: 15.13 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008966/0.6915, allocations: 248.6 kB / 0.614 GB, free: 14.88 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006993/0.6922, allocations: 164.6 kB / 0.6142 GB, free: 14.72 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001309/0.6936, allocations: 0.841 MB / 0.615 GB, free: 13.86 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/0.695, allocations: 119.5 kB / 0.6151 GB, free: 13.74 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.364e-05/0.6951, allocations: 31.98 kB / 0.6151 GB, free: 13.71 MB / 478.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.000355/0.6954, allocations: 228 kB / 0.6154 GB, free: 13.48 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002299/0.6957, allocations: 110.7 kB / 0.6155 GB, free: 13.37 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002989/0.6987, allocations: 0.9711 MB / 0.6164 GB, free: 12.38 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.337e-06/0.6987, allocations: 4 kB / 0.6164 GB, free: 12.38 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.6987, allocations: 7.938 kB / 0.6164 GB, free: 12.37 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/0.6987, allocations: 4 kB / 0.6164 GB, free: 12.37 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006606/0.7053, allocations: 2.273 MB / 0.6186 GB, free: 10.02 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.121e-05/0.7054, allocations: 8.203 kB / 0.6186 GB, free: 10.01 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005832/0.706, allocations: 103.8 kB / 0.6187 GB, free: 9.906 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008652/0.7068, allocations: 240.6 kB / 0.619 GB, free: 9.668 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.723e-05/0.7069, allocations: 19.98 kB / 0.619 GB, free: 9.648 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0013/0.7082, allocations: 0.8255 MB / 0.6198 GB, free: 8.797 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.181e-06/0.7082, allocations: 7.969 kB / 0.6198 GB, free: 8.789 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005065/0.7133, allocations: 1.349 MB / 0.6211 GB, free: 7.398 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007084/0.714, allocations: 267.5 kB / 0.6214 GB, free: 7.117 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001466/0.7142, allocations: 8 kB / 0.6214 GB, free: 7.109 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009713/0.7151, allocations: 91.88 kB / 0.6215 GB, free: 7.02 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.7153, allocations: 31.91 kB / 0.6215 GB, free: 6.988 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.757e-05/0.7153, allocations: 23.97 kB / 0.6215 GB, free: 6.965 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001088/0.7164, allocations: 0.7281 MB / 0.6222 GB, free: 6.23 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7164, allocations: 0 / 0.6222 GB, free: 6.23 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001697/0.7181, allocations: 0.5613 MB / 0.6228 GB, free: 5.668 MB / 478.1 MB 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.0006767/0.7188, allocations: 275.9 kB / 0.6231 GB, free: 5.402 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004011/0.7228, allocations: 1.313 MB / 0.6243 GB, free: 4.09 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.7229, allocations: 3.938 kB / 0.6243 GB, free: 4.086 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001227/0.7241, allocations: 404.2 kB / 0.6247 GB, free: 3.691 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002559/0.7267, allocations: 0.5285 MB / 0.6252 GB, free: 3.184 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003902/0.7306, allocations: 1.86 MB / 0.6271 GB, free: 1.273 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005996/0.7312, allocations: 1.069 MB / 0.6281 GB, free: 180 kB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001038/0.7322, allocations: 240.8 kB / 0.6283 GB, free: 15.94 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002358/0.7325, allocations: 83.36 kB / 0.6284 GB, free: 15.86 MB / 494.1 MB Notification: Performance of SimCode: time 6.42e-07/0.7325, allocations: 0 / 0.6284 GB, free: 15.86 MB / 494.1 MB Notification: Performance of Templates: time 0.04086/0.7734, allocations: 23.92 MB / 0.6518 GB, free: 8.156 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)