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.0009918/0.0009919, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.00942/0.00942, allocations: 171.1 kB / 16.26 MB, free: 6.676 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.577/1.577, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4044/0.4044, allocations: 55.01 MB / 325.7 MB, free: 0.5469 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.0005381/0.000538, allocations: 16 kB / 397.2 MB, free: 11.37 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3269, allocations: 60.73 MB / 458 MB, free: 38.22 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Chillers.Examples.Carnot_y): time 0.05895/0.3859, allocations: 72.76 MB / 0.5183 GB, free: 5.234 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01821/0.4042, allocations: 11.73 MB / 0.5297 GB, free: 12.78 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003037/0.4073, allocations: 52.56 kB / 0.5298 GB, free: 12.76 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002537/0.4098, allocations: 0.7303 MB / 0.5305 GB, free: 12.34 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007283/0.4171, allocations: 2.222 MB / 0.5327 GB, free: 10.99 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004658/0.4218, allocations: 1.133 MB / 0.5338 GB, free: 10.3 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01141/0.4332, allocations: 5.677 MB / 0.5393 GB, free: 7.793 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002281/0.4355, allocations: 1.114 MB / 0.5404 GB, free: 7.117 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003976/0.4395, allocations: 1.375 MB / 0.5418 GB, free: 6.363 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002538/0.4421, allocations: 1.209 MB / 0.5429 GB, free: 5.215 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001977/0.4423, allocations: 60 kB / 0.543 GB, free: 5.156 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002948/0.4453, allocations: 1.076 MB / 0.544 GB, free: 4.078 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003305/0.4456, allocations: 298.6 kB / 0.5443 GB, free: 3.785 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001018/0.4466, allocations: 0.8334 MB / 0.5451 GB, free: 2.941 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003245/0.4499, allocations: 2.691 MB / 0.5478 GB, free: 248 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.4499, allocations: 4 kB / 0.5478 GB, free: 244 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.4499, allocations: 0 / 0.5478 GB, free: 244 kB / 414.1 MB Notification: Performance of Transformations before backend: time 1.785e-05/0.4499, allocations: 0 / 0.5478 GB, free: 244 kB / 414.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.003308/0.4533, allocations: 1.793 MB / 0.5495 GB, free: 14.38 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.4533, allocations: 8.031 kB / 0.5495 GB, free: 14.37 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009887/0.4543, allocations: 262.7 kB / 0.5498 GB, free: 14.11 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002188/0.4565, allocations: 1.451 MB / 0.5512 GB, free: 12.61 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.322e-05/0.4566, allocations: 78.11 kB / 0.5513 GB, free: 12.53 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001471/0.4567, allocations: 123.8 kB / 0.5514 GB, free: 12.41 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002575/0.4593, allocations: 1.405 MB / 0.5528 GB, free: 10.88 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.846e-05/0.4594, allocations: 4 kB / 0.5528 GB, free: 10.87 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/0.4595, allocations: 51.98 kB / 0.5528 GB, free: 10.82 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-05/0.4595, allocations: 39.92 kB / 0.5529 GB, free: 10.78 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00246/0.462, allocations: 1.089 MB / 0.5539 GB, free: 9.691 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.006726/0.4687, allocations: 6.582 MB / 0.5604 GB, free: 2.715 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001879/0.4706, allocations: 0.6706 MB / 0.561 GB, free: 2.027 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007621/0.4714, allocations: 354.9 kB / 0.5613 GB, free: 1.68 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003172/0.4717, allocations: 341 kB / 0.5617 GB, free: 1.273 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.291e-05/0.4718, allocations: 51.12 kB / 0.5617 GB, free: 1.215 MB / 430.1 MB Notification: Performance of pre-optimization done (n=63): time 3.166e-06/0.4718, allocations: 0 / 0.5617 GB, free: 1.215 MB / 430.1 MB Notification: Performance of matching and sorting (n=67): time 0.006771/0.4786, allocations: 2.459 MB / 0.5641 GB, free: 14.69 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.129e-05/0.4787, allocations: 162.8 kB / 0.5643 GB, free: 14.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002027/0.4807, allocations: 1.255 MB / 0.5655 GB, free: 13.23 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.792e-05/0.4808, allocations: 41.7 kB / 0.5655 GB, free: 13.18 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006261/0.4815, allocations: 0.6567 MB / 0.5662 GB, free: 12.52 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002521/0.4817, allocations: 240.5 kB / 0.5664 GB, free: 12.28 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001269/0.4819, allocations: 77.67 kB / 0.5665 GB, free: 12.2 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000191/0.4821, allocations: 338 kB / 0.5668 GB, free: 11.86 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008919/0.483, allocations: 349.8 kB / 0.5671 GB, free: 11.52 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001151/0.4841, allocations: 0.6839 MB / 0.5678 GB, free: 10.69 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001973/0.4861, allocations: 0.981 MB / 0.5688 GB, free: 9.605 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.4861, allocations: 0 / 0.5688 GB, free: 9.605 MB / 446.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002628/0.4888, allocations: 1.128 MB / 0.5699 GB, free: 8.473 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002234/0.489, allocations: 325.4 kB / 0.5702 GB, free: 8.047 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.619e-05/0.489, allocations: 8 kB / 0.5702 GB, free: 8.039 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.844e-05/0.4891, allocations: 12 kB / 0.5702 GB, free: 8.027 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001009/0.4901, allocations: 243.7 kB / 0.5704 GB, free: 7.789 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.35e-05/0.4901, allocations: 23.86 kB / 0.5705 GB, free: 7.766 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001939/0.4921, allocations: 131.8 kB / 0.5706 GB, free: 7.637 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001545/0.4922, allocations: 39.98 kB / 0.5706 GB, free: 7.598 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.4923, allocations: 4 kB / 0.5706 GB, free: 7.594 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002985/0.4953, allocations: 0.9074 MB / 0.5715 GB, free: 6.688 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.425e-05/0.4953, allocations: 12.06 kB / 0.5715 GB, free: 6.676 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.929e-05/0.4953, allocations: 19.98 kB / 0.5715 GB, free: 6.656 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001259/0.4966, allocations: 232.1 kB / 0.5718 GB, free: 6.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.993e-05/0.4967, allocations: 15.94 kB / 0.5718 GB, free: 6.414 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002207/0.4989, allocations: 131.7 kB / 0.5719 GB, free: 6.285 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001321/0.499, allocations: 36 kB / 0.5719 GB, free: 6.25 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.001134/0.5002, allocations: 449.6 kB / 0.5724 GB, free: 5.801 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005273/0.5007, allocations: 138.3 kB / 0.5725 GB, free: 5.664 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003768/0.5045, allocations: 0.9848 MB / 0.5735 GB, free: 4.66 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.311e-05/0.5046, allocations: 11.98 kB / 0.5735 GB, free: 4.648 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.66e-05/0.5046, allocations: 7.938 kB / 0.5735 GB, free: 4.641 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002938/0.5075, allocations: 0.892 MB / 0.5743 GB, free: 3.711 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008139/0.5157, allocations: 2.534 MB / 0.5768 GB, free: 1.043 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.41e-05/0.5158, allocations: 11.98 kB / 0.5768 GB, free: 1.031 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001328/0.5171, allocations: 171.8 kB / 0.577 GB, free: 0.8633 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000489/0.5176, allocations: 93.66 kB / 0.5771 GB, free: 0.7656 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.119e-05/0.5177, allocations: 19.98 kB / 0.5771 GB, free: 0.7461 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001342/0.5191, allocations: 1.155 MB / 0.5782 GB, free: 15.54 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.198e-05/0.5191, allocations: 12 kB / 0.5782 GB, free: 15.53 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006219/0.5254, allocations: 1.586 MB / 0.5798 GB, free: 13.85 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001286/0.5267, allocations: 327.2 kB / 0.5801 GB, free: 13.51 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004942/0.5272, allocations: 20 kB / 0.5801 GB, free: 13.49 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002241/0.5295, allocations: 115.9 kB / 0.5802 GB, free: 13.38 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002043/0.5297, allocations: 64.19 kB / 0.5803 GB, free: 13.31 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001451/0.5299, allocations: 35.97 kB / 0.5803 GB, free: 13.28 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002621/0.5325, allocations: 0.8786 MB / 0.5812 GB, free: 12.4 MB / 462.1 MB Notification: Performance of sort global known variables: time 7.72e-07/0.5325, allocations: 3.938 kB / 0.5812 GB, free: 12.39 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003595/0.5361, allocations: 0.6405 MB / 0.5818 GB, free: 11.75 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.00139/0.5375, allocations: 359.4 kB / 0.5822 GB, free: 11.41 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006/0.5436, allocations: 1.352 MB / 0.5835 GB, free: 10.06 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-05/0.5436, allocations: 4.25 kB / 0.5835 GB, free: 10.05 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002027/0.5457, allocations: 454.5 kB / 0.5839 GB, free: 9.617 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00939/0.5551, allocations: 0.8483 MB / 0.5847 GB, free: 8.793 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007904/0.563, allocations: 3.007 MB / 0.5877 GB, free: 5.695 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000752/0.5638, allocations: 1.195 MB / 0.5889 GB, free: 4.473 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001734/0.5656, allocations: 320.9 kB / 0.5892 GB, free: 4.156 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003591/0.5659, allocations: 123.4 kB / 0.5893 GB, free: 4.035 MB / 462.1 MB Notification: Performance of SimCode: time 1.152e-06/0.5659, allocations: 0 / 0.5893 GB, free: 4.035 MB / 462.1 MB Notification: Performance of Templates: time 0.0534/0.6194, allocations: 30.46 MB / 0.619 GB, free: 5.832 MB / 494.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Chillers.Examples.Carnot_y.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: