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.001507/0.001507, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001936/0.001936, allocations: 196 kB / 16.14 MB, free: 6.703 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.565/1.565, allocations: 205.1 MB / 222 MB, free: 4.758 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4509/0.4509, allocations: 54.92 MB / 324.3 MB, free: 128 kB / 254.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.001314/0.001314, allocations: 60.28 kB / 394.7 MB, free: 12.23 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1482, allocations: 59.59 MB / 454.3 MB, free: 0.5742 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.2984/0.4467, allocations: 60.15 MB / 0.5024 GB, free: 15.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0206/0.4673, allocations: 11.31 MB / 0.5134 GB, free: 6.961 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004064/0.4715, allocations: 52.19 kB / 0.5135 GB, free: 6.938 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003053/0.4746, allocations: 0.5975 MB / 0.5141 GB, free: 6.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008082/0.4827, allocations: 1.781 MB / 0.5158 GB, free: 5.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003742/0.4865, allocations: 0.897 MB / 0.5167 GB, free: 4.996 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.007911/0.4944, allocations: 3.995 MB / 0.5206 GB, free: 3.434 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002419/0.4969, allocations: 0.9168 MB / 0.5215 GB, free: 3.035 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004252/0.5012, allocations: 1.236 MB / 0.5227 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002974/0.5042, allocations: 0.9874 MB / 0.5237 GB, free: 2.055 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000339/0.5045, allocations: 60.09 kB / 0.5237 GB, free: 2.055 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003875/0.5084, allocations: 1.106 MB / 0.5248 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000417/0.5089, allocations: 248.3 kB / 0.525 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001482/0.5103, allocations: 0.6794 MB / 0.5257 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004375/0.5147, allocations: 2.178 MB / 0.5278 GB, free: 15.99 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.5148, allocations: 1.281 kB / 0.5278 GB, free: 15.99 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.5148, allocations: 0 / 0.5278 GB, free: 15.99 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.053e-05/0.5148, allocations: 4 kB / 0.5278 GB, free: 15.99 MB / 414.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.00462/0.5194, allocations: 1.751 MB / 0.5295 GB, free: 14.65 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/0.5195, allocations: 8.781 kB / 0.5295 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003092/0.5226, allocations: 0.4987 MB / 0.53 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002515/0.5251, allocations: 1.117 MB / 0.5311 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003794/0.5255, allocations: 125.4 kB / 0.5312 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001437/0.5257, allocations: 88.5 kB / 0.5313 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003077/0.5288, allocations: 1.256 MB / 0.5326 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.273e-05/0.5288, allocations: 6.156 kB / 0.5326 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/0.5289, allocations: 38.12 kB / 0.5326 GB, free: 12.58 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.011e-05/0.529, allocations: 25.12 kB / 0.5326 GB, free: 12.58 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003281/0.5323, allocations: 1.065 MB / 0.5337 GB, free: 11.99 MB / 414.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.007393/0.5397, allocations: 6.085 MB / 0.5396 GB, free: 5.496 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002966/0.5426, allocations: 0.8781 MB / 0.5405 GB, free: 4.609 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009602/0.5436, allocations: 356.5 kB / 0.5408 GB, free: 4.258 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004413/0.5441, allocations: 422.3 kB / 0.5412 GB, free: 3.754 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/0.5441, allocations: 38.56 kB / 0.5412 GB, free: 3.707 MB / 414.1 MB Notification: Performance of pre-optimization done (n=43): time 2.875e-06/0.5441, allocations: 0 / 0.5412 GB, free: 3.707 MB / 414.1 MB Notification: Performance of matching and sorting (n=43): time 0.00762/0.5518, allocations: 1.856 MB / 0.5431 GB, free: 1.82 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.593e-05/0.5519, allocations: 170.1 kB / 0.5432 GB, free: 1.617 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001446/0.5533, allocations: 1.045 MB / 0.5442 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.486e-05/0.5534, allocations: 37.7 kB / 0.5443 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00043/0.5539, allocations: 0.5811 MB / 0.5448 GB, free: 15.93 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001575/0.554, allocations: 153.7 kB / 0.545 GB, free: 15.78 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002382/0.5543, allocations: 150.1 kB / 0.5451 GB, free: 15.62 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.5544, allocations: 333.9 kB / 0.5454 GB, free: 15.29 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001082/0.5555, allocations: 367.2 kB / 0.5458 GB, free: 14.93 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001263/0.5568, allocations: 0.6393 MB / 0.5464 GB, free: 14.17 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002108/0.5589, allocations: 0.8837 MB / 0.5473 GB, free: 13.2 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.269e-06/0.5589, allocations: 0 / 0.5473 GB, free: 13.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.005385/0.5643, allocations: 1.46 MB / 0.5487 GB, free: 11.73 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.5643, allocations: 8 kB / 0.5487 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.5644, allocations: 4 kB / 0.5487 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009863/0.5653, allocations: 261.3 kB / 0.549 GB, free: 11.46 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000829/0.5662, allocations: 180.8 kB / 0.5491 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001349/0.5675, allocations: 0.8539 MB / 0.55 GB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00162/0.5692, allocations: 199 kB / 0.5502 GB, free: 10.21 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.011e-05/0.5693, allocations: 28 kB / 0.5502 GB, free: 10.18 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001374/0.5706, allocations: 0.5558 MB / 0.5507 GB, free: 9.625 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001126/0.5718, allocations: 0.6082 MB / 0.5513 GB, free: 8.895 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001963/0.5738, allocations: 0.8369 MB / 0.5521 GB, free: 7.977 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.549e-06/0.5738, allocations: 4 kB / 0.5522 GB, free: 7.973 MB / 430.1 MB Notification: Performance of matching and sorting (n=82) (initialization_lambda0): time 0.005026/0.5788, allocations: 1.408 MB / 0.5535 GB, free: 6.559 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.5788, allocations: 8 kB / 0.5535 GB, free: 6.551 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.435e-06/0.5789, allocations: 8 kB / 0.5535 GB, free: 6.543 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008865/0.5797, allocations: 265.1 kB / 0.5538 GB, free: 6.281 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007235/0.5805, allocations: 159.8 kB / 0.5539 GB, free: 6.125 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001275/0.5818, allocations: 0.8418 MB / 0.5548 GB, free: 5.258 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00148/0.5833, allocations: 163.5 kB / 0.5549 GB, free: 5.098 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.331e-05/0.5833, allocations: 40.94 kB / 0.555 GB, free: 5.059 MB / 430.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.0002685/0.5836, allocations: 232 kB / 0.5552 GB, free: 4.824 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002065/0.5838, allocations: 115.3 kB / 0.5553 GB, free: 4.711 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002917/0.5868, allocations: 0.9896 MB / 0.5563 GB, free: 3.707 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.5868, allocations: 4 kB / 0.5563 GB, free: 3.703 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.5868, allocations: 3.938 kB / 0.5563 GB, free: 3.699 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.5868, allocations: 3.984 kB / 0.5563 GB, free: 3.695 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006276/0.5931, allocations: 2.295 MB / 0.5585 GB, free: 1.324 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.5931, allocations: 6.469 kB / 0.5585 GB, free: 1.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005792/0.5937, allocations: 111.8 kB / 0.5586 GB, free: 1.211 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008614/0.5946, allocations: 252.6 kB / 0.5589 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.671e-05/0.5946, allocations: 11.98 kB / 0.5589 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001254/0.5959, allocations: 0.8458 MB / 0.5597 GB, free: 80 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.115e-06/0.5959, allocations: 4 kB / 0.5597 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005023/0.6009, allocations: 1.364 MB / 0.561 GB, free: 14.67 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006574/0.6016, allocations: 275.5 kB / 0.5613 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001673/0.6018, allocations: 8 kB / 0.5613 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001091/0.6029, allocations: 119.9 kB / 0.5614 GB, free: 14.26 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.347e-05/0.603, allocations: 31.89 kB / 0.5615 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.713e-05/0.6031, allocations: 23.98 kB / 0.5615 GB, free: 14.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001009/0.6041, allocations: 0.7203 MB / 0.5622 GB, free: 13.48 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.6041, allocations: 0 / 0.5622 GB, free: 13.48 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001574/0.6057, allocations: 0.5574 MB / 0.5627 GB, free: 12.92 MB / 446.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.0006125/0.6063, allocations: 267.9 kB / 0.563 GB, free: 12.66 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003734/0.61, allocations: 1.332 MB / 0.5643 GB, free: 11.32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.6101, allocations: 0 / 0.5643 GB, free: 11.32 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001146/0.6112, allocations: 405.1 kB / 0.5647 GB, free: 10.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002626/0.6138, allocations: 0.5333 MB / 0.5652 GB, free: 10.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003998/0.6179, allocations: 2.313 MB / 0.5674 GB, free: 8.047 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005531/0.6184, allocations: 1.061 MB / 0.5685 GB, free: 6.957 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001212/0.6196, allocations: 244.6 kB / 0.5687 GB, free: 6.727 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002739/0.6199, allocations: 83.41 kB / 0.5688 GB, free: 6.648 MB / 446.1 MB Notification: Performance of SimCode: time 1.904e-06/0.6199, allocations: 4 kB / 0.5688 GB, free: 6.645 MB / 446.1 MB Notification: Performance of Templates: time 0.03685/0.6568, allocations: 22.82 MB / 0.5911 GB, free: 68 kB / 462.1 MB 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)