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.0009795/0.0009795, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.009926/0.009926, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.645/1.645, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4446/0.4446, allocations: 55.01 MB / 325.7 MB, free: 0.5586 MB / 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.0005951/0.0005951, allocations: 12 kB / 397.3 MB, free: 11.36 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3812/0.3818, allocations: 60.71 MB / 458 MB, free: 38.35 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.04928/0.4311, allocations: 59.08 MB / 0.5049 GB, free: 15.26 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01918/0.4503, allocations: 11.17 MB / 0.5158 GB, free: 7.242 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002515/0.4529, allocations: 46.09 kB / 0.5159 GB, free: 7.223 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002555/0.4555, allocations: 0.5986 MB / 0.5165 GB, free: 6.871 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006445/0.4619, allocations: 1.776 MB / 0.5182 GB, free: 5.805 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003164/0.4651, allocations: 0.9138 MB / 0.5191 GB, free: 5.273 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006453/0.4716, allocations: 3.986 MB / 0.523 GB, free: 3.723 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001935/0.4735, allocations: 0.8919 MB / 0.5239 GB, free: 3.324 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003484/0.477, allocations: 1.202 MB / 0.525 GB, free: 2.781 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002621/0.4797, allocations: 0.9477 MB / 0.526 GB, free: 2.387 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004203/0.4801, allocations: 45.38 kB / 0.526 GB, free: 2.387 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003606/0.4837, allocations: 1.088 MB / 0.5271 GB, free: 2.059 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005306/0.4843, allocations: 228.3 kB / 0.5273 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001867/0.4861, allocations: 0.6778 MB / 0.5279 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004299/0.4905, allocations: 2.135 MB / 0.53 GB, free: 444 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.4905, allocations: 0 / 0.53 GB, free: 444 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.4905, allocations: 0 / 0.53 GB, free: 444 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.894e-05/0.4906, allocations: 1 kB / 0.53 GB, free: 444 kB / 398.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.004286/0.4948, allocations: 1.494 MB / 0.5315 GB, free: 15.27 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.4949, allocations: 13.97 kB / 0.5315 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003265/0.4982, allocations: 0.5399 MB / 0.532 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002848/0.501, allocations: 1.141 MB / 0.5331 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004124/0.5015, allocations: 134.8 kB / 0.5333 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002719/0.5017, allocations: 87.16 kB / 0.5334 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003993/0.5058, allocations: 1.301 MB / 0.5346 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.224e-05/0.5058, allocations: 7.359 kB / 0.5346 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001517/0.506, allocations: 41.17 kB / 0.5347 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.324e-05/0.506, allocations: 35.69 kB / 0.5347 GB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003647/0.5097, allocations: 1.14 MB / 0.5358 GB, free: 12.36 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.008675/0.5184, allocations: 6.108 MB / 0.5418 GB, free: 5.836 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003074/0.5215, allocations: 0.9757 MB / 0.5427 GB, free: 4.852 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001053/0.5225, allocations: 380.6 kB / 0.5431 GB, free: 4.477 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003721/0.5229, allocations: 418.3 kB / 0.5435 GB, free: 3.977 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.496e-05/0.523, allocations: 42.5 kB / 0.5435 GB, free: 3.926 MB / 414.1 MB Notification: Performance of pre-optimization done (n=43): time 2.304e-06/0.523, allocations: 4 kB / 0.5435 GB, free: 3.922 MB / 414.1 MB Notification: Performance of matching and sorting (n=43): time 0.007999/0.531, allocations: 2.082 MB / 0.5456 GB, free: 1.809 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.29e-05/0.5311, allocations: 166.2 kB / 0.5457 GB, free: 1.609 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001759/0.5329, allocations: 1.037 MB / 0.5467 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001258/0.533, allocations: 33.7 kB / 0.5468 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005313/0.5335, allocations: 0.5966 MB / 0.5474 GB, free: 15.92 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001655/0.5337, allocations: 149.8 kB / 0.5475 GB, free: 15.77 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.947e-05/0.5338, allocations: 61.62 kB / 0.5476 GB, free: 15.7 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.534, allocations: 337.9 kB / 0.5479 GB, free: 15.37 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001147/0.5351, allocations: 409 kB / 0.5483 GB, free: 14.96 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001337/0.5365, allocations: 0.6739 MB / 0.5489 GB, free: 14.17 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002392/0.5389, allocations: 0.954 MB / 0.5499 GB, free: 13.13 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.5389, allocations: 0 / 0.5499 GB, free: 13.13 MB / 430.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.005779/0.5447, allocations: 1.616 MB / 0.5514 GB, free: 11.51 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002603/0.545, allocations: 270.6 kB / 0.5517 GB, free: 11.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/0.545, allocations: 12 kB / 0.5517 GB, free: 11.14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001047/0.546, allocations: 269.4 kB / 0.552 GB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007965/0.5468, allocations: 191.7 kB / 0.5522 GB, free: 10.69 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00153/0.5484, allocations: 0.8811 MB / 0.553 GB, free: 9.785 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001673/0.5501, allocations: 215 kB / 0.5532 GB, free: 9.574 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-05/0.5502, allocations: 31.98 kB / 0.5532 GB, free: 9.543 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.165e-06/0.5502, allocations: 4 kB / 0.5533 GB, free: 9.539 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005268/0.5555, allocations: 1.419 MB / 0.5546 GB, free: 8.121 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.5555, allocations: 4 kB / 0.5546 GB, free: 8.117 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009152/0.5564, allocations: 268.8 kB / 0.5549 GB, free: 7.852 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007264/0.5572, allocations: 187.6 kB / 0.5551 GB, free: 7.668 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001459/0.5586, allocations: 0.8771 MB / 0.5559 GB, free: 6.766 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001475/0.5601, allocations: 183.3 kB / 0.5561 GB, free: 6.586 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-05/0.5602, allocations: 27.98 kB / 0.5561 GB, free: 6.559 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.0006811/0.5609, allocations: 372.8 kB / 0.5565 GB, free: 6.184 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002787/0.5612, allocations: 118.6 kB / 0.5566 GB, free: 6.066 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003113/0.5643, allocations: 1.06 MB / 0.5576 GB, free: 4.988 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.024e-06/0.5643, allocations: 4 kB / 0.5576 GB, free: 4.984 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/0.5643, allocations: 1.562 kB / 0.5576 GB, free: 4.984 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.5643, allocations: 7.922 kB / 0.5577 GB, free: 4.977 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006819/0.5712, allocations: 2.469 MB / 0.5601 GB, free: 2.434 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.725e-06/0.5712, allocations: 4 kB / 0.5601 GB, free: 2.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000587/0.5718, allocations: 119.8 kB / 0.5602 GB, free: 2.312 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009606/0.5728, allocations: 269.7 kB / 0.5604 GB, free: 2.047 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.653e-05/0.5728, allocations: 19.94 kB / 0.5605 GB, free: 2.027 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001372/0.5742, allocations: 0.8808 MB / 0.5613 GB, free: 1.125 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/0.5742, allocations: 4 kB / 0.5613 GB, free: 1.121 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005303/0.5795, allocations: 1.514 MB / 0.5628 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007464/0.5803, allocations: 279.5 kB / 0.5631 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003011/0.5806, allocations: 8 kB / 0.5631 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001266/0.5819, allocations: 143.8 kB / 0.5632 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.582, allocations: 35.89 kB / 0.5632 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.177e-05/0.5821, allocations: 20.67 kB / 0.5633 GB, free: 15.07 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001175/0.5832, allocations: 0.7203 MB / 0.564 GB, free: 14.34 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.5832, allocations: 0 / 0.564 GB, free: 14.34 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00226/0.5855, allocations: 0.5535 MB / 0.5645 GB, free: 13.79 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.000757/0.5863, allocations: 282.8 kB / 0.5648 GB, free: 13.51 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004197/0.5905, allocations: 1.426 MB / 0.5662 GB, free: 12.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.5905, allocations: 0 / 0.5662 GB, free: 12.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001254/0.5918, allocations: 445 kB / 0.5666 GB, free: 11.66 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00337/0.5951, allocations: 0.5356 MB / 0.5671 GB, free: 11.13 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004699/0.5999, allocations: 2.375 MB / 0.5694 GB, free: 8.707 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007569/0.6006, allocations: 1.065 MB / 0.5705 GB, free: 7.609 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001373/0.602, allocations: 248.3 kB / 0.5707 GB, free: 7.375 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002716/0.6023, allocations: 83.41 kB / 0.5708 GB, free: 7.293 MB / 446.1 MB Notification: Performance of SimCode: time 6.22e-07/0.6023, allocations: 0 / 0.5708 GB, free: 7.293 MB / 446.1 MB Notification: Performance of Templates: time 0.03888/0.6412, allocations: 22.71 MB / 0.593 GB, free: 0.7969 MB / 462.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: