Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.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.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.176/2.176, allocations: 252.6 MB / 265.2 MB, free: 5.66 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001464/0.001464, allocations: 186.1 kB / 324.5 MB, free: 14.33 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.962/1.962, allocations: 205.4 MB / 0.5754 GB, free: 10.44 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.001127/0.001127, allocations: 102.6 kB / 0.6797 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.458e-05/3.472e-05, allocations: 4 kB / 0.7911 GB, free: 96.55 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2045/0.2045, allocations: 106.2 MB / 0.8949 GB, free: 6.215 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8646/1.069, allocations: 132.2 MB / 1.024 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003305/1.07, allocations: 97.72 kB / 1.024 GB, free: 2.262 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003165/1.073, allocations: 0.8436 MB / 1.025 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.623e-06/1.073, allocations: 0 / 1.025 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.123e-06/1.073, allocations: 0 / 1.025 GB, free: 1.508 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003788/1.073, allocations: 329.9 kB / 1.025 GB, free: 1.145 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.972e-05/1.073, allocations: 12.03 kB / 1.025 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.422e-05/1.073, allocations: 0 / 1.025 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/1.073, allocations: 178.9 kB / 1.025 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/1.073, allocations: 0 / 1.025 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.099e-05/1.073, allocations: 0 / 1.025 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/1.074, allocations: 33.33 kB / 1.025 GB, free: 0.8828 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/1.074, allocations: 8 kB / 1.025 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/1.074, allocations: 3.984 kB / 1.025 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/1.074, allocations: 0 / 1.025 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.691e-05/1.074, allocations: 6.188 kB / 1.025 GB, free: 0.8672 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004472/1.074, allocations: 263 kB / 1.026 GB, free: 0.5703 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.507e-05/1.074, allocations: 30.11 kB / 1.026 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.638e-05/1.074, allocations: 19.98 kB / 1.026 GB, free: 0.5156 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/1.074, allocations: 0 / 1.026 GB, free: 0.5156 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/1.074, allocations: 33.19 kB / 1.026 GB, free: 488 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.583e-06/1.074, allocations: 0 / 1.026 GB, free: 488 kB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001681/1.075, allocations: 37.08 kB / 1.026 GB, free: 448 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.363e-05/1.075, allocations: 63.3 kB / 1.026 GB, free: 372 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.995e-05/1.075, allocations: 96.11 kB / 1.026 GB, free: 272 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/1.075, allocations: 29.73 kB / 1.026 GB, free: 236 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.465e-05/1.075, allocations: 88.08 kB / 1.026 GB, free: 148 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.699e-05/1.075, allocations: 3.906 kB / 1.026 GB, free: 144 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-06/1.075, allocations: 0 / 1.026 GB, free: 144 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001529/1.075, allocations: 314 kB / 1.026 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.818e-05/1.075, allocations: 7.984 kB / 1.026 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.247e-05/1.075, allocations: 7.312 kB / 1.026 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.967e-05/1.075, allocations: 4 kB / 1.026 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/1.075, allocations: 4.062 kB / 1.026 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.991e-05/1.075, allocations: 37.08 kB / 1.026 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/1.075, allocations: 11.94 kB / 1.026 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/1.075, allocations: 0 / 1.026 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/1.075, allocations: 3.984 kB / 1.026 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.994e-05/1.075, allocations: 4 kB / 1.026 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/1.076, allocations: 3.938 kB / 1.026 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.704e-05/1.076, allocations: 10.56 kB / 1.026 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/1.076, allocations: 0 / 1.026 GB, free: 15.74 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.043e-05/1.076, allocations: 113 kB / 1.027 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.281e-05/1.076, allocations: 3.906 kB / 1.027 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.584e-05/1.076, allocations: 19.52 kB / 1.027 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/1.076, allocations: 0 / 1.027 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/1.076, allocations: 0 / 1.027 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/1.076, allocations: 4 kB / 1.027 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002029/1.076, allocations: 162.2 kB / 1.027 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/1.076, allocations: 0 / 1.027 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.078e-05/1.076, allocations: 7.984 kB / 1.027 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/1.076, allocations: 4 kB / 1.027 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/1.076, allocations: 0 / 1.027 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/1.076, allocations: 4 kB / 1.027 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/1.076, allocations: 0 / 1.027 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000163/1.076, allocations: 140.9 kB / 1.027 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.236e-05/1.076, allocations: 81.05 kB / 1.027 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/1.076, allocations: 0 / 1.027 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.371e-05/1.077, allocations: 8.031 kB / 1.027 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.394e-05/1.077, allocations: 0 / 1.027 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/1.077, allocations: 3.984 kB / 1.027 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.763e-05/1.077, allocations: 83.09 kB / 1.027 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.61e-07/1.077, allocations: 0 / 1.027 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002578/1.077, allocations: 4 kB / 1.027 GB, free: 15.04 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001218/1.077, allocations: 95.25 kB / 1.027 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001002/1.077, allocations: 19.31 kB / 1.027 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.077, allocations: 0 / 1.027 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.63e-05/1.077, allocations: 7.812 kB / 1.027 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001567/1.077, allocations: 5.078 kB / 1.027 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002499/1.078, allocations: 68.48 kB / 1.027 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/1.078, allocations: 0.6848 MB / 1.028 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.96e-05/1.078, allocations: 4 kB / 1.028 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.067e-05/1.078, allocations: 7.562 kB / 1.028 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of SimCode: time 7.42e-07/1.078, allocations: 4 kB / 1.028 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of Templates: time 0.002602/1.081, allocations: 278.9 kB / 1.028 GB, free: 13.85 MB / 0.6511 GB