Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Chillers.Examples.Carnot_y.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.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Chillers.Examples.Carnot_y") translateModel(Annex60.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Chillers.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001461/0.001461, 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.001855/0.001855, allocations: 194.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.611/1.611, allocations: 205.1 MB / 222.4 MB, free: 4.586 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.42/0.42, allocations: 54.94 MB / 324.7 MB, free: 12 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.001535/0.001535, allocations: 71.89 kB / 395.3 MB, free: 11.86 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1461, allocations: 59.6 MB / 454.9 MB, free: 196 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Chillers.Examples.Carnot_y): time 0.2758/0.4219, allocations: 74.45 MB / 0.517 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01617/0.4381, allocations: 11.79 MB / 0.5285 GB, free: 11.82 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002237/0.4404, allocations: 60.62 kB / 0.5285 GB, free: 11.8 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002489/0.443, allocations: 0.8884 MB / 0.5294 GB, free: 11.25 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007117/0.4501, allocations: 2.404 MB / 0.5318 GB, free: 9.789 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004529/0.4546, allocations: 1.243 MB / 0.533 GB, free: 9.074 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01055/0.4652, allocations: 4.334 MB / 0.5372 GB, free: 6.551 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003079/0.4683, allocations: 1.401 MB / 0.5386 GB, free: 5.676 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005203/0.4736, allocations: 1.673 MB / 0.5402 GB, free: 4.684 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00316/0.4767, allocations: 1.262 MB / 0.5414 GB, free: 3.922 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006517/0.4774, allocations: 164.8 kB / 0.5416 GB, free: 3.922 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004166/0.4816, allocations: 1.241 MB / 0.5428 GB, free: 2.824 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006776/0.4823, allocations: 406.6 kB / 0.5432 GB, free: 2.426 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002235/0.4845, allocations: 0.941 MB / 0.5441 GB, free: 1.48 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004904/0.4894, allocations: 2.805 MB / 0.5469 GB, free: 14.67 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4895, allocations: 0 / 0.5469 GB, free: 14.67 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4895, allocations: 0 / 0.5469 GB, free: 14.67 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.19e-05/0.4896, allocations: 0 / 0.5469 GB, free: 14.67 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 268 * Number of variables: 268 Notification: Performance of Generate backend data structure: time 0.004238/0.4938, allocations: 2.107 MB / 0.5489 GB, free: 12.5 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.4939, allocations: 12.03 kB / 0.5489 GB, free: 12.48 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001107/0.495, allocations: 242.8 kB / 0.5492 GB, free: 12.25 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002282/0.4973, allocations: 1.403 MB / 0.5505 GB, free: 10.79 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.195e-05/0.4973, allocations: 90.09 kB / 0.5506 GB, free: 10.7 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000154/0.4975, allocations: 104 kB / 0.5507 GB, free: 10.59 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002687/0.5002, allocations: 1.381 MB / 0.5521 GB, free: 9.086 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.876e-05/0.5002, allocations: 3.938 kB / 0.5521 GB, free: 9.082 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/0.5004, allocations: 48 kB / 0.5521 GB, free: 9.035 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-05/0.5004, allocations: 39.88 kB / 0.5521 GB, free: 8.996 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002476/0.5029, allocations: 1.03 MB / 0.5532 GB, free: 7.965 MB / 430.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.007016/0.5099, allocations: 6.607 MB / 0.5596 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001735/0.5117, allocations: 0.6204 MB / 0.5602 GB, free: 340 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007121/0.5124, allocations: 343.2 kB / 0.5605 GB, free: 15.99 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003268/0.5127, allocations: 344.9 kB / 0.5609 GB, free: 15.59 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.5128, allocations: 39.12 kB / 0.5609 GB, free: 15.54 MB / 446.1 MB Notification: Performance of pre-optimization done (n=63): time 2.104e-06/0.5128, allocations: 0 / 0.5609 GB, free: 15.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=67): time 0.006708/0.5195, allocations: 2.303 MB / 0.5632 GB, free: 13.17 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.255e-05/0.5196, allocations: 166.7 kB / 0.5633 GB, free: 12.97 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002055/0.5217, allocations: 1.274 MB / 0.5646 GB, free: 11.68 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.774e-05/0.5218, allocations: 37.7 kB / 0.5646 GB, free: 11.64 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006487/0.5225, allocations: 0.6528 MB / 0.5652 GB, free: 10.98 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002348/0.5227, allocations: 236.5 kB / 0.5655 GB, free: 10.75 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002899/0.523, allocations: 182.5 kB / 0.5656 GB, free: 10.56 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.5231, allocations: 345.9 kB / 0.566 GB, free: 10.22 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008489/0.524, allocations: 330.1 kB / 0.5663 GB, free: 9.895 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001133/0.5251, allocations: 0.6527 MB / 0.5669 GB, free: 9.094 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00191/0.5271, allocations: 0.926 MB / 0.5678 GB, free: 8.066 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.884e-06/0.5271, allocations: 4 kB / 0.5678 GB, free: 8.062 MB / 446.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002622/0.5297, allocations: 1.065 MB / 0.5689 GB, free: 6.988 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.385e-05/0.5298, allocations: 11.98 kB / 0.5689 GB, free: 6.977 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.798e-05/0.5298, allocations: 8 kB / 0.5689 GB, free: 6.969 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.254e-05/0.5298, allocations: 15.94 kB / 0.5689 GB, free: 6.953 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009412/0.5308, allocations: 228 kB / 0.5691 GB, free: 6.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.835e-05/0.5308, allocations: 23.92 kB / 0.5691 GB, free: 6.707 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001244/0.5321, allocations: 79.83 kB / 0.5692 GB, free: 6.629 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.712e-05/0.5322, allocations: 43.98 kB / 0.5693 GB, free: 6.586 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001401/0.5336, allocations: 0.5855 MB / 0.5698 GB, free: 5.996 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001042/0.5347, allocations: 0.6215 MB / 0.5704 GB, free: 5.234 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001554/0.5362, allocations: 0.8832 MB / 0.5713 GB, free: 4.246 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.751e-06/0.5362, allocations: 0 / 0.5713 GB, free: 4.246 MB / 446.1 MB Notification: Performance of matching and sorting (n=110) (initialization_lambda0): time 0.002249/0.5385, allocations: 1.023 MB / 0.5723 GB, free: 3.219 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.5385, allocations: 12 kB / 0.5723 GB, free: 3.207 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.5385, allocations: 8 kB / 0.5723 GB, free: 3.199 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.5386, allocations: 12 kB / 0.5723 GB, free: 3.188 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008157/0.5394, allocations: 223.6 kB / 0.5725 GB, free: 2.969 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.149e-05/0.5394, allocations: 19.88 kB / 0.5726 GB, free: 2.949 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001231/0.5407, allocations: 93.77 kB / 0.5726 GB, free: 2.859 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.28e-05/0.5407, allocations: 36 kB / 0.5727 GB, free: 2.824 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (110): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003092/0.5411, allocations: 236 kB / 0.5729 GB, free: 2.586 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004007/0.5415, allocations: 138.3 kB / 0.573 GB, free: 2.449 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002434/0.5439, allocations: 0.9377 MB / 0.574 GB, free: 1.488 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.766e-05/0.5439, allocations: 12.94 kB / 0.574 GB, free: 1.477 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.5439, allocations: 0 / 0.574 GB, free: 1.477 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001846/0.5458, allocations: 0.8373 MB / 0.5748 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005262/0.5511, allocations: 2.49 MB / 0.5772 GB, free: 13.98 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.131e-05/0.5511, allocations: 4 kB / 0.5772 GB, free: 13.98 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007191/0.5518, allocations: 155.8 kB / 0.5774 GB, free: 13.82 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002452/0.5521, allocations: 86.7 kB / 0.5775 GB, free: 13.73 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.828e-05/0.5522, allocations: 23.98 kB / 0.5775 GB, free: 13.71 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000973/0.5531, allocations: 1.152 MB / 0.5786 GB, free: 12.51 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.906e-06/0.5532, allocations: 8.625 kB / 0.5786 GB, free: 12.5 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00315/0.5563, allocations: 1.504 MB / 0.5801 GB, free: 10.91 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007266/0.5571, allocations: 311.2 kB / 0.5804 GB, free: 10.58 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002817/0.5574, allocations: 27.92 kB / 0.5804 GB, free: 10.55 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009681/0.5583, allocations: 67.83 kB / 0.5805 GB, free: 10.49 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/0.5585, allocations: 60.31 kB / 0.5805 GB, free: 10.43 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.082e-05/0.5585, allocations: 41.41 kB / 0.5806 GB, free: 10.39 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001266/0.5598, allocations: 0.8864 MB / 0.5814 GB, free: 9.504 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.5598, allocations: 0 / 0.5814 GB, free: 9.504 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001836/0.5617, allocations: 0.6405 MB / 0.5821 GB, free: 8.863 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * 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 (65): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007457/0.5624, allocations: 384.7 kB / 0.5824 GB, free: 8.492 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00313/0.5656, allocations: 1.315 MB / 0.5837 GB, free: 7.176 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/0.5656, allocations: 8.25 kB / 0.5837 GB, free: 7.168 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001043/0.5666, allocations: 426.5 kB / 0.5841 GB, free: 6.758 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003944/0.5706, allocations: 0.8737 MB / 0.585 GB, free: 5.977 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004071/0.5747, allocations: 2.448 MB / 0.5874 GB, free: 3.438 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009117/0.5756, allocations: 1.199 MB / 0.5885 GB, free: 2.211 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001629/0.5772, allocations: 327 kB / 0.5888 GB, free: 1.891 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003511/0.5776, allocations: 115.4 kB / 0.589 GB, free: 1.777 MB / 462.1 MB Notification: Performance of SimCode: time 7.61e-07/0.5776, allocations: 0 / 0.589 GB, free: 1.777 MB / 462.1 MB Notification: Performance of Templates: time 0.05497/0.6326, allocations: 31.16 MB / 0.6194 GB, free: 2.875 MB / 494.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Chillers.Examples.Carnot_y.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Chillers.Examples.Carnot_y.sim & ./Annex60_1.0.0_Annex60.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)