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.28/2.28, allocations: 253.2 MB / 260.6 MB, free: 7.426 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.001411/0.001411, allocations: 192.4 kB / 319.9 MB, free: 3.078 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.041/2.041, allocations: 205.5 MB / 0.5708 GB, free: 15.27 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.001067/0.001067, allocations: 90.62 kB / 0.6751 GB, free: 4.625 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.782e-05/1.768e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2143/0.2143, allocations: 106.3 MB / 0.8887 GB, free: 11.85 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8819/1.096, allocations: 132.4 MB / 1.018 GB, free: 4.883 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003735/1.097, allocations: 87.56 kB / 1.018 GB, free: 4.832 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003313/1.1, allocations: 0.8445 MB / 1.019 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.733e-06/1.1, allocations: 0 / 1.019 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.074e-06/1.1, allocations: 0 / 1.019 GB, free: 4.078 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.0003946/1.101, allocations: 325.7 kB / 1.019 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/1.101, allocations: 12.03 kB / 1.019 GB, free: 3.707 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.608e-05/1.101, allocations: 4 kB / 1.019 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/1.101, allocations: 171 kB / 1.019 GB, free: 3.496 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/1.101, allocations: 0 / 1.019 GB, free: 3.496 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.372e-05/1.101, allocations: 4 kB / 1.019 GB, free: 3.492 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.445e-05/1.101, allocations: 11.42 kB / 1.019 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.692e-05/1.101, allocations: 37.52 kB / 1.019 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.976e-06/1.101, allocations: 0 / 1.019 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/1.101, allocations: 0 / 1.019 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/1.101, allocations: 4 kB / 1.019 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000438/1.102, allocations: 239.1 kB / 1.02 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.783e-05/1.102, allocations: 22.08 kB / 1.02 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.641e-05/1.102, allocations: 16.42 kB / 1.02 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/1.102, allocations: 2.516 kB / 1.02 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/1.102, allocations: 38.5 kB / 1.02 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 7.774e-06/1.102, allocations: 3.984 kB / 1.02 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001791/1.102, allocations: 41.12 kB / 1.02 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.517e-05/1.102, allocations: 52.34 kB / 1.02 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.742e-05/1.102, allocations: 97.38 kB / 1.02 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/1.102, allocations: 25.7 kB / 1.02 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.452e-05/1.102, allocations: 83.64 kB / 1.02 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.997e-05/1.102, allocations: 7.891 kB / 1.02 GB, free: 2.758 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-06/1.102, allocations: 4.031 kB / 1.02 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001531/1.103, allocations: 318.8 kB / 1.02 GB, free: 2.434 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.974e-05/1.103, allocations: 3.5 kB / 1.02 GB, free: 2.434 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.046e-05/1.103, allocations: 4 kB / 1.02 GB, free: 2.43 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.892e-05/1.103, allocations: 6.688 kB / 1.02 GB, free: 2.426 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/1.103, allocations: 3.938 kB / 1.02 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.838e-05/1.103, allocations: 44.44 kB / 1.02 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.899e-05/1.103, allocations: 9.25 kB / 1.02 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/1.103, allocations: 4.094 kB / 1.02 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/1.103, allocations: 0 / 1.02 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/1.103, allocations: 4.25 kB / 1.02 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/1.103, allocations: 0.7031 kB / 1.02 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.826e-05/1.103, allocations: 11.98 kB / 1.02 GB, free: 2.348 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/1.103, allocations: 0 / 1.02 GB, free: 2.348 MB / 0.6355 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.628e-05/1.103, allocations: 108.9 kB / 1.021 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.465e-05/1.103, allocations: 7.906 kB / 1.021 GB, free: 2.227 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.123e-05/1.103, allocations: 15.11 kB / 1.021 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/1.103, allocations: 0 / 1.021 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/1.103, allocations: 0 / 1.021 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/1.103, allocations: 0 / 1.021 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001833/1.103, allocations: 137.6 kB / 1.021 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-06/1.103, allocations: 7.984 kB / 1.021 GB, free: 2.039 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.719e-05/1.104, allocations: 4 kB / 1.021 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/1.104, allocations: 0 / 1.021 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/1.104, allocations: 0 / 1.021 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/1.104, allocations: 0 / 1.021 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/1.104, allocations: 0 / 1.021 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001629/1.104, allocations: 147.2 kB / 1.021 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.164e-05/1.104, allocations: 77.11 kB / 1.021 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/1.104, allocations: 0 / 1.021 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.938e-05/1.104, allocations: 4 kB / 1.021 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.708e-05/1.104, allocations: 3.984 kB / 1.021 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/1.104, allocations: 4 kB / 1.021 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.189e-05/1.104, allocations: 86.81 kB / 1.021 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.41e-07/1.104, allocations: 0 / 1.021 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002927/1.104, allocations: 4 kB / 1.021 GB, free: 1.688 MB / 0.6355 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.0001429/1.105, allocations: 95.25 kB / 1.021 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001207/1.105, allocations: 7.812 kB / 1.021 GB, free: 1.578 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.105, allocations: 4 kB / 1.021 GB, free: 1.574 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.75e-05/1.105, allocations: 15.8 kB / 1.021 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001827/1.105, allocations: 128 / 1.021 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000257/1.105, allocations: 71.27 kB / 1.021 GB, free: 1.473 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003258/1.106, allocations: 0.6845 MB / 1.022 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.459e-05/1.106, allocations: 0 / 1.022 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.981e-05/1.106, allocations: 7.438 kB / 1.022 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of SimCode: time 7.91e-07/1.106, allocations: 3.938 kB / 1.022 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of Templates: time 0.002612/1.108, allocations: 255.1 kB / 1.022 GB, free: 0.5117 MB / 0.6355 GB