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.009851/0.009851, allocations: 101.3 kB / 15.73 MB, free: 5.586 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.002214/0.002215, allocations: 189.1 kB / 16.67 MB, free: 5.523 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.596/1.596, 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.2646/0.2646, allocations: 54.96 MB / 324.9 MB, free: 4.844 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.001444/0.001444, allocations: 71.84 kB / 456.2 MB, free: 2.633 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.163, allocations: 59.6 MB / 0.5037 GB, free: 7.074 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.4028/0.5658, allocations: 60.5 MB / 0.5628 GB, free: 8.645 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02098/0.5868, allocations: 11.23 MB / 0.5738 GB, free: 0.582 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004561/0.5915, allocations: 47.66 kB / 0.5738 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003258/0.5948, allocations: 0.7583 MB / 0.5745 GB, free: 100 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01109/0.606, allocations: 2.031 MB / 0.5765 GB, free: 14.84 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004912/0.6109, allocations: 1.029 MB / 0.5775 GB, free: 14.05 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.007653/0.6186, allocations: 3.041 MB / 0.5805 GB, free: 12.26 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003032/0.6216, allocations: 1.106 MB / 0.5816 GB, free: 11.55 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005248/0.6269, allocations: 1.457 MB / 0.583 GB, free: 10.65 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003433/0.6304, allocations: 0.9953 MB / 0.584 GB, free: 10.05 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006613/0.631, allocations: 120.1 kB / 0.5841 GB, free: 10.05 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004572/0.6356, allocations: 1.196 MB / 0.5853 GB, free: 9.422 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007107/0.6364, allocations: 304 kB / 0.5856 GB, free: 9.176 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002467/0.6388, allocations: 0.7418 MB / 0.5863 GB, free: 8.684 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006644/0.6455, allocations: 2.236 MB / 0.5885 GB, free: 7.199 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.708e-06/0.6455, allocations: 0 / 0.5885 GB, free: 7.199 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.136e-06/0.6456, allocations: 2.781 kB / 0.5885 GB, free: 7.199 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001128/0.6457, allocations: 0 / 0.5885 GB, free: 7.199 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.007187/0.6529, allocations: 1.754 MB / 0.5902 GB, free: 5.848 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.149e-05/0.6529, allocations: 9.875 kB / 0.5902 GB, free: 5.848 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003036/0.656, allocations: 0.5026 MB / 0.5907 GB, free: 5.621 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00315/0.6592, allocations: 1.142 MB / 0.5918 GB, free: 4.723 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001114/0.6593, allocations: 72.5 kB / 0.5919 GB, free: 4.688 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001898/0.6595, allocations: 87.12 kB / 0.5919 GB, free: 4.66 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003199/0.6627, allocations: 1.248 MB / 0.5932 GB, free: 3.816 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.677e-05/0.6627, allocations: 6.094 kB / 0.5932 GB, free: 3.812 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.913e-05/0.6628, allocations: 39.91 kB / 0.5932 GB, free: 3.785 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-05/0.6629, allocations: 23.66 kB / 0.5932 GB, free: 3.785 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003034/0.6659, allocations: 1.055 MB / 0.5943 GB, free: 3.262 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.008519/0.6745, allocations: 6.073 MB / 0.6002 GB, free: 13.69 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002795/0.6773, allocations: 0.8676 MB / 0.601 GB, free: 12.97 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009168/0.6782, allocations: 352.5 kB / 0.6014 GB, free: 12.62 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003863/0.6786, allocations: 422.3 kB / 0.6018 GB, free: 12.12 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.231e-05/0.6787, allocations: 38.56 kB / 0.6018 GB, free: 12.07 MB / 462.1 MB Notification: Performance of pre-optimization done (n=43): time 3.587e-06/0.6787, allocations: 0 / 0.6018 GB, free: 12.07 MB / 462.1 MB Notification: Performance of matching and sorting (n=43): time 0.007095/0.6858, allocations: 1.801 MB / 0.6036 GB, free: 10.24 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001222/0.6859, allocations: 166.2 kB / 0.6037 GB, free: 10.04 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001931/0.6879, allocations: 1.041 MB / 0.6047 GB, free: 8.988 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.096e-05/0.688, allocations: 37.7 kB / 0.6048 GB, free: 8.945 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004957/0.6885, allocations: 0.585 MB / 0.6054 GB, free: 8.355 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001683/0.6887, allocations: 153.8 kB / 0.6055 GB, free: 8.203 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002783/0.689, allocations: 146.2 kB / 0.6056 GB, free: 8.055 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.6891, allocations: 326 kB / 0.6059 GB, free: 7.73 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001057/0.6901, allocations: 371.2 kB / 0.6063 GB, free: 7.363 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001318/0.6915, allocations: 0.6348 MB / 0.6069 GB, free: 6.602 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002183/0.6937, allocations: 0.8797 MB / 0.6078 GB, free: 5.641 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-05/0.6937, allocations: 4 kB / 0.6078 GB, free: 5.637 MB / 462.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00518/0.6989, allocations: 1.45 MB / 0.6092 GB, free: 4.176 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.722e-05/0.6989, allocations: 8.938 kB / 0.6092 GB, free: 4.168 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.58e-05/0.6989, allocations: 4 kB / 0.6092 GB, free: 4.164 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009817/0.6999, allocations: 252.6 kB / 0.6095 GB, free: 3.914 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007687/0.7007, allocations: 167.8 kB / 0.6096 GB, free: 3.75 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001243/0.702, allocations: 0.8333 MB / 0.6104 GB, free: 2.891 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001362/0.7033, allocations: 155.1 kB / 0.6106 GB, free: 2.738 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.028e-05/0.7034, allocations: 37.05 kB / 0.6106 GB, free: 2.703 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001388/0.7048, allocations: 0.548 MB / 0.6111 GB, free: 2.152 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00113/0.706, allocations: 0.6036 MB / 0.6117 GB, free: 1.43 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001822/0.7078, allocations: 0.8329 MB / 0.6126 GB, free: 0.5156 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.841e-06/0.7078, allocations: 0 / 0.6126 GB, free: 0.5156 MB / 462.1 MB Notification: Performance of matching and sorting (n=82) (initialization_lambda0): time 0.004895/0.7127, allocations: 1.378 MB / 0.6139 GB, free: 15.13 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.7128, allocations: 8 kB / 0.6139 GB, free: 15.12 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/0.7128, allocations: 12.86 kB / 0.6139 GB, free: 15.11 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008564/0.7137, allocations: 248.7 kB / 0.6142 GB, free: 14.86 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007078/0.7144, allocations: 163.7 kB / 0.6143 GB, free: 14.7 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001324/0.7157, allocations: 0.844 MB / 0.6151 GB, free: 13.84 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/0.7171, allocations: 119.5 kB / 0.6152 GB, free: 13.72 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.437e-05/0.7172, allocations: 31.98 kB / 0.6153 GB, free: 13.69 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.0004243/0.7177, allocations: 228 kB / 0.6155 GB, free: 13.46 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005011/0.7182, allocations: 106.7 kB / 0.6156 GB, free: 13.35 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002924/0.7211, allocations: 0.977 MB / 0.6166 GB, free: 12.36 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/0.7211, allocations: 8 kB / 0.6166 GB, free: 12.36 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.278e-05/0.7212, allocations: 4 kB / 0.6166 GB, free: 12.35 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.7212, allocations: 0 / 0.6166 GB, free: 12.35 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00682/0.728, allocations: 2.285 MB / 0.6188 GB, free: 9.988 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/0.728, allocations: 3.938 kB / 0.6188 GB, free: 9.984 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005725/0.7286, allocations: 103.8 kB / 0.6189 GB, free: 9.883 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008025/0.7294, allocations: 252.5 kB / 0.6191 GB, free: 9.633 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.166e-05/0.7295, allocations: 11.98 kB / 0.6191 GB, free: 9.621 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001189/0.7307, allocations: 0.8255 MB / 0.62 GB, free: 8.77 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.7307, allocations: 0 / 0.62 GB, free: 8.77 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004792/0.7355, allocations: 1.353 MB / 0.6213 GB, free: 7.375 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006992/0.7362, allocations: 263.5 kB / 0.6215 GB, free: 7.098 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003353/0.7366, allocations: 12 kB / 0.6215 GB, free: 7.086 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001126/0.7377, allocations: 91.88 kB / 0.6216 GB, free: 6.996 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.928e-05/0.7378, allocations: 31.84 kB / 0.6217 GB, free: 6.965 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-05/0.7379, allocations: 27.98 kB / 0.6217 GB, free: 6.938 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001277/0.7392, allocations: 0.7242 MB / 0.6224 GB, free: 6.207 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.7392, allocations: 0 / 0.6224 GB, free: 6.207 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002267/0.7414, allocations: 0.5652 MB / 0.6229 GB, free: 5.641 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.0008105/0.7423, allocations: 273.7 kB / 0.6232 GB, free: 5.379 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003873/0.7462, allocations: 1.313 MB / 0.6245 GB, free: 4.066 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.7462, allocations: 4 kB / 0.6245 GB, free: 4.062 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001173/0.7474, allocations: 404.2 kB / 0.6249 GB, free: 3.668 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002765/0.7501, allocations: 0.5346 MB / 0.6254 GB, free: 3.152 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004425/0.7546, allocations: 1.852 MB / 0.6272 GB, free: 1.246 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008523/0.7554, allocations: 1.069 MB / 0.6283 GB, free: 152 kB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00132/0.7568, allocations: 236 kB / 0.6285 GB, free: 15.92 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003301/0.7571, allocations: 83.41 kB / 0.6286 GB, free: 15.84 MB / 494.1 MB Notification: Performance of SimCode: time 1.533e-06/0.7571, allocations: 0 / 0.6286 GB, free: 15.84 MB / 494.1 MB Notification: Performance of Templates: time 0.04362/0.8008, allocations: 23.92 MB / 0.6519 GB, free: 8.133 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)