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.001163/0.001163, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.532/1.532, allocations: 205.1 MB / 222.4 MB, free: 4.594 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.413/0.413, allocations: 54.94 MB / 324.7 MB, free: 15.96 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.001557/0.001557, allocations: 71.89 kB / 395.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.1621, allocations: 59.6 MB / 454.9 MB, free: 156 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.3041/0.4663, allocations: 60.49 MB / 0.5033 GB, free: 14.2 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02075/0.4871, allocations: 11.24 MB / 0.5143 GB, free: 6.145 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003686/0.4908, allocations: 47.81 kB / 0.5144 GB, free: 6.129 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00285/0.4937, allocations: 0.7264 MB / 0.5151 GB, free: 5.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007736/0.5015, allocations: 1.941 MB / 0.517 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003547/0.5051, allocations: 1.018 MB / 0.518 GB, free: 3.941 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005613/0.5107, allocations: 3.032 MB / 0.5209 GB, free: 2.438 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001983/0.5127, allocations: 1.108 MB / 0.522 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004238/0.5169, allocations: 1.419 MB / 0.5234 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002319/0.5193, allocations: 0.9916 MB / 0.5244 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002811/0.5196, allocations: 123 kB / 0.5245 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003739/0.5233, allocations: 1.196 MB / 0.5256 GB, free: 416 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005107/0.5238, allocations: 301.4 kB / 0.5259 GB, free: 216 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00136/0.5252, allocations: 0.7356 MB / 0.5266 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004775/0.53, allocations: 2.224 MB / 0.5288 GB, free: 14.68 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.53, allocations: 0 / 0.5288 GB, free: 14.68 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.053e-06/0.53, allocations: 0 / 0.5288 GB, free: 14.68 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.761e-05/0.5301, allocations: 5.219 kB / 0.5288 GB, free: 14.67 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.004181/0.5343, allocations: 1.753 MB / 0.5305 GB, free: 13.32 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/0.5343, allocations: 13.41 kB / 0.5306 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003066/0.5374, allocations: 0.498 MB / 0.531 GB, free: 13.1 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002588/0.54, allocations: 1.094 MB / 0.5321 GB, free: 12.23 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003958/0.5404, allocations: 128.4 kB / 0.5322 GB, free: 12.17 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001323/0.5406, allocations: 87.84 kB / 0.5323 GB, free: 12.14 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002862/0.5434, allocations: 1.246 MB / 0.5335 GB, free: 11.3 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.289e-05/0.5435, allocations: 5.062 kB / 0.5335 GB, free: 11.3 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.537e-05/0.5436, allocations: 38.31 kB / 0.5336 GB, free: 11.27 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.734e-05/0.5436, allocations: 29.7 kB / 0.5336 GB, free: 11.27 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003144/0.5468, allocations: 1.06 MB / 0.5346 GB, free: 10.75 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.007847/0.5546, allocations: 6.129 MB / 0.5406 GB, free: 4.504 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002934/0.5576, allocations: 0.8791 MB / 0.5415 GB, free: 3.617 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009596/0.5586, allocations: 352.6 kB / 0.5418 GB, free: 3.27 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003992/0.559, allocations: 426.3 kB / 0.5422 GB, free: 2.762 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.752e-05/0.559, allocations: 38.56 kB / 0.5423 GB, free: 2.715 MB / 414.1 MB Notification: Performance of pre-optimization done (n=43): time 4.348e-06/0.5591, allocations: 3.984 kB / 0.5423 GB, free: 2.711 MB / 414.1 MB Notification: Performance of matching and sorting (n=43): time 0.007711/0.5668, allocations: 1.852 MB / 0.5441 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001197/0.5669, allocations: 170.2 kB / 0.5442 GB, free: 0.625 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001667/0.5686, allocations: 1.041 MB / 0.5452 GB, free: 15.57 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.331e-05/0.5687, allocations: 41.69 kB / 0.5453 GB, free: 15.52 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004418/0.5692, allocations: 0.5772 MB / 0.5459 GB, free: 14.94 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001551/0.5693, allocations: 165.7 kB / 0.546 GB, free: 14.78 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002313/0.5696, allocations: 142.1 kB / 0.5461 GB, free: 14.63 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.5697, allocations: 337.9 kB / 0.5465 GB, free: 14.3 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001101/0.5708, allocations: 375.2 kB / 0.5468 GB, free: 13.93 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001289/0.5721, allocations: 0.6432 MB / 0.5475 GB, free: 13.16 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002232/0.5743, allocations: 0.8759 MB / 0.5483 GB, free: 12.2 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.5744, allocations: 4 kB / 0.5483 GB, free: 12.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.005619/0.58, allocations: 1.46 MB / 0.5497 GB, free: 10.73 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/0.58, allocations: 8 kB / 0.5497 GB, free: 10.72 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.58, allocations: 4 kB / 0.5497 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001006/0.5811, allocations: 261.1 kB / 0.55 GB, free: 10.46 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007933/0.5819, allocations: 171.8 kB / 0.5502 GB, free: 10.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001397/0.5833, allocations: 0.8488 MB / 0.551 GB, free: 9.414 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001442/0.5847, allocations: 163.1 kB / 0.5511 GB, free: 9.254 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.111e-05/0.5848, allocations: 29.75 kB / 0.5512 GB, free: 9.227 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001487/0.5863, allocations: 0.5597 MB / 0.5517 GB, free: 8.664 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001203/0.5875, allocations: 0.6095 MB / 0.5523 GB, free: 7.938 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002079/0.5896, allocations: 0.833 MB / 0.5531 GB, free: 7.023 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.056e-06/0.5896, allocations: 0 / 0.5531 GB, free: 7.023 MB / 430.1 MB Notification: Performance of matching and sorting (n=82) (initialization_lambda0): time 0.005404/0.595, allocations: 1.417 MB / 0.5545 GB, free: 5.598 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.5951, allocations: 4 kB / 0.5545 GB, free: 5.594 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.5951, allocations: 8 kB / 0.5545 GB, free: 5.586 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009203/0.596, allocations: 273.6 kB / 0.5548 GB, free: 5.316 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007147/0.5967, allocations: 159.7 kB / 0.5549 GB, free: 5.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001368/0.5981, allocations: 0.8498 MB / 0.5558 GB, free: 4.285 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001447/0.5996, allocations: 123.5 kB / 0.5559 GB, free: 4.164 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-05/0.5997, allocations: 33.98 kB / 0.5559 GB, free: 4.133 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.0003361/0.6, allocations: 236 kB / 0.5561 GB, free: 3.895 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002257/0.6002, allocations: 110.6 kB / 0.5562 GB, free: 3.785 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00309/0.6033, allocations: 0.9831 MB / 0.5572 GB, free: 2.789 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.6034, allocations: 4 kB / 0.5572 GB, free: 2.785 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.6034, allocations: 0 / 0.5572 GB, free: 2.785 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.224e-05/0.6034, allocations: 7.984 kB / 0.5572 GB, free: 2.777 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00683/0.6102, allocations: 2.309 MB / 0.5595 GB, free: 404 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.635e-06/0.6103, allocations: 4 kB / 0.5595 GB, free: 400 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005759/0.6108, allocations: 108 kB / 0.5596 GB, free: 292 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009119/0.6118, allocations: 253.9 kB / 0.5598 GB, free: 36 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.652e-05/0.6118, allocations: 12.98 kB / 0.5598 GB, free: 24 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001379/0.6132, allocations: 0.8488 MB / 0.5607 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.6132, allocations: 4.031 kB / 0.5607 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005212/0.6184, allocations: 1.362 MB / 0.562 GB, free: 13.74 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006513/0.6191, allocations: 263.5 kB / 0.5623 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001741/0.6193, allocations: 15.91 kB / 0.5623 GB, free: 13.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009793/0.6203, allocations: 95.88 kB / 0.5624 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.934e-05/0.6204, allocations: 31.84 kB / 0.5624 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.368e-05/0.6205, allocations: 27.97 kB / 0.5624 GB, free: 13.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001055/0.6215, allocations: 0.7242 MB / 0.5631 GB, free: 12.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6215, allocations: 4 kB / 0.5631 GB, free: 12.56 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001811/0.6234, allocations: 0.5536 MB / 0.5637 GB, free: 12.01 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.0008094/0.6242, allocations: 286.5 kB / 0.5639 GB, free: 11.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004167/0.6284, allocations: 1.34 MB / 0.5652 GB, free: 10.39 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.65e-06/0.6284, allocations: 4.312 kB / 0.5653 GB, free: 10.39 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001197/0.6296, allocations: 396.8 kB / 0.5656 GB, free: 10 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002638/0.6322, allocations: 0.5323 MB / 0.5661 GB, free: 9.52 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004131/0.6364, allocations: 1.907 MB / 0.568 GB, free: 7.559 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000638/0.637, allocations: 1.061 MB / 0.569 GB, free: 6.469 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001191/0.6382, allocations: 241.4 kB / 0.5693 GB, free: 6.242 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002362/0.6385, allocations: 83.41 kB / 0.5694 GB, free: 6.164 MB / 446.1 MB Notification: Performance of SimCode: time 8.32e-07/0.6385, allocations: 3.938 kB / 0.5694 GB, free: 6.16 MB / 446.1 MB Notification: Performance of Templates: time 0.03898/0.6775, allocations: 23.79 MB / 0.5926 GB, free: 14.58 MB / 478.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)