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.001136/0.001136, 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.001408/0.001409, allocations: 194.7 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.542/1.542, allocations: 205.1 MB / 222 MB, free: 4.75 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4328/0.4328, allocations: 54.93 MB / 324.3 MB, free: 120 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.001337/0.001337, allocations: 64.52 kB / 394.7 MB, free: 12.26 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1265, allocations: 59.59 MB / 454.2 MB, free: 0.6016 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Chillers.Examples.Carnot_y): time 0.2719/0.3985, allocations: 74.01 MB / 0.5159 GB, free: 4.797 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02099/0.4195, allocations: 11.86 MB / 0.5275 GB, free: 12.31 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003919/0.4235, allocations: 55.66 kB / 0.5275 GB, free: 12.29 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003618/0.4272, allocations: 0.7359 MB / 0.5282 GB, free: 11.87 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008891/0.4361, allocations: 2.227 MB / 0.5304 GB, free: 10.52 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004875/0.441, allocations: 1.134 MB / 0.5315 GB, free: 9.832 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.009164/0.4502, allocations: 5.673 MB / 0.5371 GB, free: 7.195 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002357/0.4526, allocations: 1.145 MB / 0.5382 GB, free: 6.492 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003478/0.4561, allocations: 1.418 MB / 0.5396 GB, free: 5.707 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002386/0.4585, allocations: 1.256 MB / 0.5408 GB, free: 4.68 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002354/0.4588, allocations: 72 kB / 0.5409 GB, free: 4.609 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003623/0.4624, allocations: 1.103 MB / 0.5419 GB, free: 3.504 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004908/0.4629, allocations: 322.5 kB / 0.5422 GB, free: 3.188 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001679/0.4646, allocations: 0.8473 MB / 0.5431 GB, free: 2.336 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005106/0.4697, allocations: 2.758 MB / 0.5458 GB, free: 15.57 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.4698, allocations: 3.938 kB / 0.5458 GB, free: 15.57 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.4698, allocations: 0 / 0.5458 GB, free: 15.57 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.69e-05/0.4698, allocations: 0 / 0.5458 GB, free: 15.57 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.004268/0.4741, allocations: 2.096 MB / 0.5478 GB, free: 13.41 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.4742, allocations: 8.031 kB / 0.5478 GB, free: 13.4 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001113/0.4753, allocations: 242.8 kB / 0.548 GB, free: 13.16 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002288/0.4776, allocations: 1.455 MB / 0.5495 GB, free: 11.65 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.019e-05/0.4777, allocations: 78.11 kB / 0.5495 GB, free: 11.57 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001391/0.4778, allocations: 121.7 kB / 0.5497 GB, free: 11.45 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00267/0.4805, allocations: 1.374 MB / 0.551 GB, free: 9.953 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.674e-05/0.4805, allocations: 4 kB / 0.551 GB, free: 9.949 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.783e-05/0.4806, allocations: 47.98 kB / 0.551 GB, free: 9.902 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.586e-05/0.4807, allocations: 39.94 kB / 0.5511 GB, free: 9.863 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00239/0.4831, allocations: 1.026 MB / 0.5521 GB, free: 8.84 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.007178/0.4903, allocations: 6.567 MB / 0.5585 GB, free: 1.875 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001655/0.4919, allocations: 0.6238 MB / 0.5591 GB, free: 1.242 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000645/0.4926, allocations: 334.9 kB / 0.5594 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002955/0.4929, allocations: 341 kB / 0.5598 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/0.493, allocations: 43.12 kB / 0.5598 GB, free: 468 kB / 430.1 MB Notification: Performance of pre-optimization done (n=63): time 2.785e-06/0.493, allocations: 4 kB / 0.5598 GB, free: 464 kB / 430.1 MB Notification: Performance of matching and sorting (n=67): time 0.006228/0.4992, allocations: 2.301 MB / 0.562 GB, free: 14.09 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.149e-05/0.4993, allocations: 166.8 kB / 0.5622 GB, free: 13.89 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001607/0.5009, allocations: 1.255 MB / 0.5634 GB, free: 12.62 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.629e-05/0.501, allocations: 37.7 kB / 0.5635 GB, free: 12.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005407/0.5016, allocations: 0.6566 MB / 0.5641 GB, free: 11.91 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001957/0.5018, allocations: 244.5 kB / 0.5643 GB, free: 11.67 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002497/0.502, allocations: 182.5 kB / 0.5645 GB, free: 11.49 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.5021, allocations: 337.9 kB / 0.5648 GB, free: 11.15 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007651/0.5029, allocations: 336.6 kB / 0.5652 GB, free: 10.82 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009727/0.5039, allocations: 0.6527 MB / 0.5658 GB, free: 10.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001612/0.5055, allocations: 0.9229 MB / 0.5667 GB, free: 9 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.5055, allocations: 4 kB / 0.5667 GB, free: 8.996 MB / 446.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002163/0.5077, allocations: 1.067 MB / 0.5677 GB, free: 7.918 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.5077, allocations: 8 kB / 0.5678 GB, free: 7.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/0.5078, allocations: 8 kB / 0.5678 GB, free: 7.902 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.24e-05/0.5078, allocations: 19.88 kB / 0.5678 GB, free: 7.883 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008955/0.5087, allocations: 237.7 kB / 0.568 GB, free: 7.652 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.829e-05/0.5087, allocations: 15.94 kB / 0.568 GB, free: 7.637 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001126/0.5099, allocations: 123.7 kB / 0.5681 GB, free: 7.516 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.689e-05/0.5099, allocations: 43.98 kB / 0.5682 GB, free: 7.473 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001034/0.511, allocations: 0.5808 MB / 0.5687 GB, free: 6.887 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000887/0.5119, allocations: 0.6331 MB / 0.5694 GB, free: 6.113 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001404/0.5133, allocations: 0.8756 MB / 0.5702 GB, free: 5.137 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.108e-06/0.5133, allocations: 4 kB / 0.5702 GB, free: 5.133 MB / 446.1 MB Notification: Performance of matching and sorting (n=110) (initialization_lambda0): time 0.001804/0.5151, allocations: 1.018 MB / 0.5712 GB, free: 4.105 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.5151, allocations: 8 kB / 0.5712 GB, free: 4.098 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.5152, allocations: 8 kB / 0.5712 GB, free: 4.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.5152, allocations: 15.98 kB / 0.5712 GB, free: 4.074 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007708/0.516, allocations: 224 kB / 0.5715 GB, free: 3.855 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.553e-05/0.516, allocations: 23.88 kB / 0.5715 GB, free: 3.832 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001087/0.5171, allocations: 118.6 kB / 0.5716 GB, free: 3.719 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.874e-05/0.5171, allocations: 43.98 kB / 0.5716 GB, free: 3.676 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.0002415/0.5174, allocations: 244 kB / 0.5719 GB, free: 3.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002113/0.5176, allocations: 138.3 kB / 0.572 GB, free: 3.293 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00204/0.5197, allocations: 0.9299 MB / 0.5729 GB, free: 2.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-05/0.5197, allocations: 8 kB / 0.5729 GB, free: 2.332 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.5197, allocations: 0 / 0.5729 GB, free: 2.332 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001603/0.5213, allocations: 0.8334 MB / 0.5737 GB, free: 1.461 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004367/0.5257, allocations: 2.487 MB / 0.5762 GB, free: 14.84 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.357e-05/0.5257, allocations: 7.938 kB / 0.5762 GB, free: 14.83 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007216/0.5264, allocations: 160.4 kB / 0.5763 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003703/0.5268, allocations: 97.34 kB / 0.5764 GB, free: 14.58 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.283e-05/0.5269, allocations: 16 kB / 0.5764 GB, free: 14.56 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009212/0.5278, allocations: 1.159 MB / 0.5776 GB, free: 13.35 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/0.5278, allocations: 7.938 kB / 0.5776 GB, free: 13.34 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002957/0.5308, allocations: 1.504 MB / 0.579 GB, free: 11.75 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007421/0.5316, allocations: 303.3 kB / 0.5793 GB, free: 11.43 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002242/0.5318, allocations: 27.92 kB / 0.5794 GB, free: 11.41 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009795/0.5328, allocations: 99.81 kB / 0.5795 GB, free: 11.31 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.5329, allocations: 60.23 kB / 0.5795 GB, free: 11.25 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.287e-05/0.533, allocations: 35.98 kB / 0.5795 GB, free: 11.21 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001152/0.5341, allocations: 0.8747 MB / 0.5804 GB, free: 10.34 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5342, allocations: 4 kB / 0.5804 GB, free: 10.34 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001701/0.5359, allocations: 0.6405 MB / 0.581 GB, free: 9.695 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.0006663/0.5365, allocations: 358 kB / 0.5814 GB, free: 9.348 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002599/0.5392, allocations: 1.279 MB / 0.5826 GB, free: 8.066 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.5392, allocations: 4.25 kB / 0.5826 GB, free: 8.062 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009254/0.5401, allocations: 418.6 kB / 0.583 GB, free: 7.66 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003328/0.5434, allocations: 0.8269 MB / 0.5838 GB, free: 6.863 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003763/0.5472, allocations: 2.918 MB / 0.5867 GB, free: 3.859 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000696/0.5479, allocations: 1.191 MB / 0.5878 GB, free: 2.641 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001386/0.5493, allocations: 330.8 kB / 0.5882 GB, free: 2.32 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003006/0.5496, allocations: 119.4 kB / 0.5883 GB, free: 2.203 MB / 462.1 MB Notification: Performance of SimCode: time 4.91e-07/0.5496, allocations: 0 / 0.5883 GB, free: 2.203 MB / 462.1 MB Notification: Performance of Templates: time 0.04517/0.5948, allocations: 29.46 MB / 0.617 GB, free: 5.02 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)