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.001358/0.001358, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002218/0.002218, allocations: 187.9 kB / 16.25 MB, free: 6.625 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.598/1.598, allocations: 205.1 MB / 222.1 MB, free: 4.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.429/0.429, allocations: 54.94 MB / 324.4 MB, free: 40 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.001517/0.001517, allocations: 64.33 kB / 394.9 MB, free: 12.07 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1266, allocations: 59.59 MB / 454.5 MB, free: 436 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Chillers.Examples.Carnot_y): time 0.2688/0.3954, allocations: 73.84 MB / 0.5159 GB, free: 4.672 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01797/0.4135, allocations: 11.71 MB / 0.5274 GB, free: 12.25 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002431/0.4159, allocations: 55.06 kB / 0.5274 GB, free: 12.23 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002441/0.4184, allocations: 0.7735 MB / 0.5282 GB, free: 11.79 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00687/0.4253, allocations: 2.245 MB / 0.5304 GB, free: 10.43 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003452/0.4288, allocations: 1.149 MB / 0.5315 GB, free: 9.742 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007688/0.4365, allocations: 4.366 MB / 0.5358 GB, free: 7.57 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002434/0.4389, allocations: 1.392 MB / 0.5371 GB, free: 6.82 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004801/0.4438, allocations: 1.69 MB / 0.5388 GB, free: 5.816 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003017/0.4468, allocations: 1.316 MB / 0.5401 GB, free: 5.02 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005303/0.4473, allocations: 167.9 kB / 0.5402 GB, free: 5.016 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003816/0.4512, allocations: 1.254 MB / 0.5414 GB, free: 4.074 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006269/0.4518, allocations: 398.6 kB / 0.5418 GB, free: 3.684 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001743/0.4536, allocations: 0.945 MB / 0.5427 GB, free: 2.734 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005971/0.4596, allocations: 2.82 MB / 0.5455 GB, free: 15.91 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.84e-06/0.4596, allocations: 0 / 0.5455 GB, free: 15.91 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.4596, allocations: 0 / 0.5455 GB, free: 15.91 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.021e-05/0.4597, allocations: 0 / 0.5455 GB, free: 15.91 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.003885/0.4636, allocations: 2.103 MB / 0.5476 GB, free: 13.74 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.4636, allocations: 8.031 kB / 0.5476 GB, free: 13.73 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009842/0.4646, allocations: 246.8 kB / 0.5478 GB, free: 13.49 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002046/0.4667, allocations: 1.442 MB / 0.5492 GB, free: 11.99 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.596e-05/0.4667, allocations: 90.09 kB / 0.5493 GB, free: 11.9 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001437/0.4669, allocations: 109.4 kB / 0.5494 GB, free: 11.79 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002591/0.4695, allocations: 1.366 MB / 0.5507 GB, free: 10.3 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.87e-05/0.4695, allocations: 7.938 kB / 0.5507 GB, free: 10.29 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.955e-05/0.4696, allocations: 51.94 kB / 0.5508 GB, free: 10.24 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.999e-05/0.4697, allocations: 32 kB / 0.5508 GB, free: 10.21 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002267/0.472, allocations: 1.038 MB / 0.5518 GB, free: 9.172 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.006268/0.4782, allocations: 6.559 MB / 0.5582 GB, free: 2.215 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001684/0.4799, allocations: 0.6282 MB / 0.5589 GB, free: 1.578 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006632/0.4806, allocations: 334.3 kB / 0.5592 GB, free: 1.25 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003047/0.4809, allocations: 341 kB / 0.5595 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.824e-05/0.481, allocations: 44.25 kB / 0.5595 GB, free: 0.793 MB / 430.1 MB Notification: Performance of pre-optimization done (n=63): time 4.128e-06/0.481, allocations: 3.984 kB / 0.5595 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of matching and sorting (n=67): time 0.006094/0.4871, allocations: 2.303 MB / 0.5618 GB, free: 14.42 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.709e-05/0.4872, allocations: 170.8 kB / 0.562 GB, free: 14.22 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001483/0.4887, allocations: 1.251 MB / 0.5632 GB, free: 12.95 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.933e-05/0.4888, allocations: 49.69 kB / 0.5632 GB, free: 12.9 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005089/0.4893, allocations: 0.6488 MB / 0.5639 GB, free: 12.24 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002297/0.4895, allocations: 244.5 kB / 0.5641 GB, free: 12 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002716/0.4898, allocations: 182.5 kB / 0.5643 GB, free: 11.82 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.4899, allocations: 341.9 kB / 0.5646 GB, free: 11.48 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007617/0.4907, allocations: 332.6 kB / 0.5649 GB, free: 11.15 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009797/0.4917, allocations: 0.6527 MB / 0.5655 GB, free: 10.35 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001641/0.4933, allocations: 0.9225 MB / 0.5664 GB, free: 9.328 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.4933, allocations: 0.75 kB / 0.5664 GB, free: 9.328 MB / 446.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002166/0.4955, allocations: 1.073 MB / 0.5675 GB, free: 8.246 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.4956, allocations: 12.03 kB / 0.5675 GB, free: 8.234 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/0.4956, allocations: 11.98 kB / 0.5675 GB, free: 8.223 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.321e-05/0.4956, allocations: 15.94 kB / 0.5675 GB, free: 8.207 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008957/0.4965, allocations: 223.7 kB / 0.5677 GB, free: 7.988 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.94e-05/0.4965, allocations: 15.94 kB / 0.5678 GB, free: 7.973 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/0.4977, allocations: 127.7 kB / 0.5679 GB, free: 7.848 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.181e-05/0.4978, allocations: 40 kB / 0.5679 GB, free: 7.809 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00104/0.4988, allocations: 0.5855 MB / 0.5685 GB, free: 7.219 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009079/0.4997, allocations: 0.6303 MB / 0.5691 GB, free: 6.449 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001474/0.5012, allocations: 0.8793 MB / 0.57 GB, free: 5.469 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.202e-06/0.5012, allocations: 4 kB / 0.57 GB, free: 5.465 MB / 446.1 MB Notification: Performance of matching and sorting (n=110) (initialization_lambda0): time 0.002057/0.5033, allocations: 1.018 MB / 0.571 GB, free: 4.438 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.5034, allocations: 8 kB / 0.571 GB, free: 4.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.5034, allocations: 8 kB / 0.571 GB, free: 4.422 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.5034, allocations: 16 kB / 0.571 GB, free: 4.406 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008108/0.5042, allocations: 220.5 kB / 0.5712 GB, free: 4.191 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.589e-05/0.5042, allocations: 19.88 kB / 0.5712 GB, free: 4.172 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001239/0.5055, allocations: 125.8 kB / 0.5713 GB, free: 4.051 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.433e-05/0.5055, allocations: 39.98 kB / 0.5714 GB, free: 4.012 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.0002865/0.5058, allocations: 243.9 kB / 0.5716 GB, free: 3.766 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002435/0.5061, allocations: 142.2 kB / 0.5717 GB, free: 3.625 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002073/0.5082, allocations: 0.9338 MB / 0.5727 GB, free: 2.668 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.407e-05/0.5082, allocations: 8 kB / 0.5727 GB, free: 2.66 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.5082, allocations: 3.938 kB / 0.5727 GB, free: 2.656 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001646/0.5099, allocations: 0.8295 MB / 0.5735 GB, free: 1.789 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004523/0.5144, allocations: 2.487 MB / 0.5759 GB, free: 15.17 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.809e-05/0.5144, allocations: 8 kB / 0.5759 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006881/0.5151, allocations: 151.8 kB / 0.5761 GB, free: 15.01 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002182/0.5154, allocations: 82.42 kB / 0.5761 GB, free: 14.93 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.545e-05/0.5154, allocations: 32.11 kB / 0.5762 GB, free: 14.89 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008322/0.5163, allocations: 1.145 MB / 0.5773 GB, free: 13.7 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.742e-06/0.5163, allocations: 8 kB / 0.5773 GB, free: 13.69 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00322/0.5195, allocations: 1.504 MB / 0.5788 GB, free: 12.1 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008694/0.5204, allocations: 311.3 kB / 0.5791 GB, free: 11.77 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002223/0.5207, allocations: 27.92 kB / 0.5791 GB, free: 11.75 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001058/0.5217, allocations: 95.75 kB / 0.5792 GB, free: 11.65 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001652/0.5219, allocations: 68.23 kB / 0.5792 GB, free: 11.59 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.616e-05/0.522, allocations: 30.23 kB / 0.5793 GB, free: 11.56 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001669/0.5236, allocations: 0.8864 MB / 0.5801 GB, free: 10.67 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.964e-06/0.5237, allocations: 0 / 0.5801 GB, free: 10.67 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001984/0.5257, allocations: 0.6327 MB / 0.5808 GB, free: 10.04 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.0008334/0.5265, allocations: 372.2 kB / 0.5811 GB, free: 9.684 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003048/0.5296, allocations: 1.317 MB / 0.5824 GB, free: 8.367 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.715e-06/0.5296, allocations: 0 / 0.5824 GB, free: 8.367 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009917/0.5306, allocations: 430.8 kB / 0.5828 GB, free: 7.953 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003804/0.5344, allocations: 0.865 MB / 0.5837 GB, free: 7.18 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004416/0.5388, allocations: 2.932 MB / 0.5865 GB, free: 4.152 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009894/0.5398, allocations: 1.191 MB / 0.5877 GB, free: 2.934 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001591/0.5415, allocations: 326.8 kB / 0.588 GB, free: 2.613 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003433/0.5418, allocations: 119.3 kB / 0.5881 GB, free: 2.496 MB / 462.1 MB Notification: Performance of SimCode: time 1.333e-06/0.5418, allocations: 0 / 0.5881 GB, free: 2.496 MB / 462.1 MB Notification: Performance of Templates: time 0.05175/0.5936, allocations: 30.52 MB / 0.6179 GB, free: 4.227 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)