Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.397/2.397, allocations: 251.1 MB / 266.1 MB, free: 11.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001555/0.001555, allocations: 182.2 kB / 325.6 MB, free: 2.812 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.501/2.501, allocations: 205.4 MB / 0.5766 GB, free: 21.15 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001418/0.001418, allocations: 96.17 kB / 0.6811 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000521/0.0005211, allocations: 13.38 kB / 0.7951 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2243/0.2248, allocations: 106.3 MB / 0.8989 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.08498/0.3098, allocations: 62.96 MB / 0.9604 GB, free: 2.824 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02367/0.3336, allocations: 10.86 MB / 0.971 GB, free: 7.953 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002543/0.3362, allocations: 51.62 kB / 0.971 GB, free: 7.902 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.004011/0.3402, allocations: 0.7384 MB / 0.9717 GB, free: 7.156 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.01095/0.3512, allocations: 2.258 MB / 0.9739 GB, free: 4.895 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.007028/0.3583, allocations: 1.429 MB / 0.9753 GB, free: 3.492 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.00671/0.365, allocations: 2.471 MB / 0.9777 GB, free: 1.016 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002564/0.3676, allocations: 1.017 MB / 0.9787 GB, free: 15.97 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003906/0.3716, allocations: 1.148 MB / 0.9799 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002222/0.3738, allocations: 0.77 MB / 0.9806 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0003948/0.3743, allocations: 52 kB / 0.9807 GB, free: 13.99 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003924/0.3782, allocations: 0.8387 MB / 0.9815 GB, free: 13.15 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.000646/0.3789, allocations: 254.9 kB / 0.9817 GB, free: 12.9 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0008231/0.3798, allocations: 364.9 kB / 0.9821 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.004685/0.3845, allocations: 1.995 MB / 0.984 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.3845, allocations: 3.938 kB / 0.984 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.705e-06/0.3845, allocations: 0 / 0.984 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.587e-05/0.3846, allocations: 0 / 0.984 GB, free: 10.54 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.005573/0.3902, allocations: 1.779 MB / 0.9858 GB, free: 8.691 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.3902, allocations: 8.031 kB / 0.9858 GB, free: 8.684 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001412/0.3917, allocations: 241.9 kB / 0.986 GB, free: 8.445 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004045/0.3957, allocations: 1.357 MB / 0.9873 GB, free: 7.031 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001042/0.3959, allocations: 78 kB / 0.9874 GB, free: 6.957 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002619/0.3962, allocations: 104 kB / 0.9875 GB, free: 6.855 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003468/0.3996, allocations: 1.1 MB / 0.9886 GB, free: 5.719 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.361e-05/0.3997, allocations: 0 / 0.9886 GB, free: 5.719 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001453/0.3999, allocations: 36 kB / 0.9886 GB, free: 5.684 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-05/0.4, allocations: 28 kB / 0.9886 GB, free: 5.656 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003572/0.4035, allocations: 0.9212 MB / 0.9895 GB, free: 4.734 MB / 0.6355 GB 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.01045/0.414, allocations: 4.95 MB / 0.9944 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002477/0.4166, allocations: 0.6397 MB / 0.995 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009597/0.4176, allocations: 0.8199 MB / 0.9958 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.223e-05/0.4176, allocations: 51.06 kB / 0.9958 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=61): time 3.326e-06/0.4177, allocations: 0 / 0.9958 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of matching and sorting (n=61): time 0.01357/0.4312, allocations: 1.873 MB / 0.9977 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.693e-05/0.4313, allocations: 59.97 kB / 0.9977 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00277/0.4341, allocations: 1.241 MB / 0.9989 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001867/0.4344, allocations: 41.7 kB / 0.999 GB, free: 10.51 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007802/0.4351, allocations: 0.6024 MB / 0.9996 GB, free: 9.898 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003383/0.4355, allocations: 213 kB / 0.9998 GB, free: 9.688 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.68e-05/0.4356, allocations: 8 kB / 0.9998 GB, free: 9.68 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.4357, allocations: 341.9 kB / 1 GB, free: 9.34 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001267/0.437, allocations: 301.8 kB / 1 GB, free: 9.043 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001491/0.4385, allocations: 0.4998 MB / 1.001 GB, free: 8.469 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001384/0.4399, allocations: 363 kB / 1.001 GB, free: 8.117 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.766e-06/0.44, allocations: 4 kB / 1.001 GB, free: 8.113 MB / 0.6511 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.009003/0.449, allocations: 1.398 MB / 1.003 GB, free: 6.703 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006247/0.4497, allocations: 1.414 MB / 1.004 GB, free: 5.195 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.816e-05/0.4497, allocations: 7.984 kB / 1.004 GB, free: 5.188 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001032/0.4507, allocations: 144.7 kB / 1.004 GB, free: 5.043 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001318/0.4521, allocations: 163.7 kB / 1.004 GB, free: 4.883 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001454/0.4536, allocations: 0.7084 MB / 1.005 GB, free: 4.148 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002274/0.4559, allocations: 171.1 kB / 1.005 GB, free: 3.98 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000193/0.4562, allocations: 35.94 kB / 1.005 GB, free: 3.945 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.4562, allocations: 4 kB / 1.005 GB, free: 3.941 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008626/0.4648, allocations: 1.249 MB / 1.006 GB, free: 2.688 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.762e-05/0.4649, allocations: 4 kB / 1.006 GB, free: 2.684 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009108/0.4658, allocations: 149.1 kB / 1.007 GB, free: 2.535 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001278/0.4671, allocations: 163.7 kB / 1.007 GB, free: 2.375 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001334/0.4685, allocations: 0.7084 MB / 1.007 GB, free: 1.641 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002244/0.4707, allocations: 167.2 kB / 1.008 GB, free: 1.477 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001488/0.4709, allocations: 24 kB / 1.008 GB, free: 1.453 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (79): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of prepare postOptimizeDAE: time 0.0009635/0.4719, allocations: 425.7 kB / 1.008 GB, free: 1.027 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004201/0.4723, allocations: 134.4 kB / 1.008 GB, free: 0.8945 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00865/0.481, allocations: 1.396 MB / 1.009 GB, free: 15.48 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.172e-05/0.4811, allocations: 8 kB / 1.009 GB, free: 15.47 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/0.4811, allocations: 0 / 1.009 GB, free: 15.47 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009284/0.4904, allocations: 1.236 MB / 1.011 GB, free: 14.2 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01722/0.5077, allocations: 2.746 MB / 1.013 GB, free: 11.34 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-05/0.5077, allocations: 4 kB / 1.013 GB, free: 11.34 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01127/0.519, allocations: 124.3 kB / 1.013 GB, free: 11.22 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001195/0.5203, allocations: 144.6 kB / 1.014 GB, free: 11.07 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001414/0.5204, allocations: 19.98 kB / 1.014 GB, free: 11.05 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01986/0.5403, allocations: 2.505 MB / 1.016 GB, free: 8.402 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-05/0.5404, allocations: 7.938 kB / 1.016 GB, free: 8.395 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02951/0.5699, allocations: 2.053 MB / 1.018 GB, free: 6.129 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001605/0.5716, allocations: 343 kB / 1.018 GB, free: 5.773 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006386/0.5723, allocations: 16 kB / 1.018 GB, free: 5.758 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003154/0.5755, allocations: 95.97 kB / 1.019 GB, free: 5.664 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004024/0.5759, allocations: 60.25 kB / 1.019 GB, free: 5.605 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001772/0.5761, allocations: 27.98 kB / 1.019 GB, free: 5.578 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.003539/0.5797, allocations: 0.8932 MB / 1.019 GB, free: 4.684 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.262e-06/0.5798, allocations: 0.5625 kB / 1.019 GB, free: 4.684 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.005337/0.5851, allocations: 0.7213 MB / 1.02 GB, free: 3.961 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.002027/0.5872, allocations: 437 kB / 1.021 GB, free: 3.527 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.007662/0.5949, allocations: 1.164 MB / 1.022 GB, free: 2.367 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.585e-05/0.595, allocations: 3.938 kB / 1.022 GB, free: 2.363 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.004529/0.5996, allocations: 0.6033 MB / 1.022 GB, free: 1.746 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01028/0.6099, allocations: 0.7547 MB / 1.023 GB, free: 1 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01073/0.6207, allocations: 2.752 MB / 1.026 GB, free: 14.18 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001816/0.6226, allocations: 1.195 MB / 1.027 GB, free: 12.95 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003429/0.6261, allocations: 303 kB / 1.027 GB, free: 12.65 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008524/0.627, allocations: 107.4 kB / 1.027 GB, free: 12.55 MB / 0.6823 GB Notification: Performance of SimCode: time 1.853e-06/0.6271, allocations: 0 / 1.027 GB, free: 12.55 MB / 0.6823 GB Notification: Performance of Templates: time 0.6816/1.309, allocations: 30.07 MB / 1.057 GB, free: 148.6 MB / 0.698 GB