Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.99/4.99, allocations: 0.5623 GB / 0.5776 GB, free: 3.387 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002527/0.002527, allocations: 359.4 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.246/4.246, allocations: 410.7 MB / 1.113 GB, free: 5.922 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001873/0.001873, allocations: 188.4 kB / 1.226 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005189/0.0005191, allocations: 12 kB / 1.349 GB, free: 8.188 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7674/0.7679, allocations: 115.2 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2103/0.9783, allocations: 138.6 MB / 1.597 GB, free: 145.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003756/0.9787, allocations: 92.92 kB / 1.597 GB, free: 145.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.003406/0.9822, allocations: 0.8438 MB / 1.598 GB, free: 144.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.906e-06/0.9822, allocations: 1.906 kB / 1.598 GB, free: 144.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.875e-06/0.9823, allocations: 0 / 1.598 GB, free: 144.7 MB / 0.8542 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.0003841/0.9827, allocations: 335.3 kB / 1.598 GB, free: 144.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.9827, allocations: 12.19 kB / 1.598 GB, free: 144.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.346e-05/0.9828, allocations: 2.969 kB / 1.598 GB, free: 144.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.9829, allocations: 175 kB / 1.598 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.9829, allocations: 0 / 1.598 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.475e-05/0.983, allocations: 4 kB / 1.598 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.9831, allocations: 42.67 kB / 1.598 GB, free: 144 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.9832, allocations: 0 / 1.598 GB, free: 144 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.9832, allocations: 0 / 1.598 GB, free: 144 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.9832, allocations: 0.9375 kB / 1.598 GB, free: 144 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001368/0.9834, allocations: 29.02 kB / 1.598 GB, free: 144 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004379/0.9838, allocations: 263 kB / 1.598 GB, free: 143.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/0.9839, allocations: 28.58 kB / 1.598 GB, free: 143.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.236e-05/0.984, allocations: 21.47 kB / 1.598 GB, free: 143.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.9841, allocations: 0.6875 kB / 1.598 GB, free: 143.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.9841, allocations: 31.06 kB / 1.598 GB, free: 143.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 2.625e-06/0.9841, allocations: 2.125 kB / 1.598 GB, free: 143.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0003368/0.9845, allocations: 77.52 kB / 1.599 GB, free: 143.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.063e-05/0.9845, allocations: 52.41 kB / 1.599 GB, free: 143.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.493e-05/0.9846, allocations: 111.2 kB / 1.599 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.9846, allocations: 25.7 kB / 1.599 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.968e-05/0.9847, allocations: 80.14 kB / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.313e-05/0.9847, allocations: 7.906 kB / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-06/0.9847, allocations: 4.562 kB / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.785e-05/0.9848, allocations: 312.5 kB / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.566e-05/0.9849, allocations: 11.98 kB / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.787e-05/0.985, allocations: 8.688 kB / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.475e-05/0.985, allocations: 13.92 kB / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.646e-06/0.9851, allocations: 0 / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001825/0.9852, allocations: 58.94 kB / 1.599 GB, free: 142.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.9853, allocations: 7.938 kB / 1.599 GB, free: 142.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.9853, allocations: 4.656 kB / 1.599 GB, free: 142.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.9853, allocations: 0 / 1.599 GB, free: 142.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.9855, allocations: 8.859 kB / 1.599 GB, free: 142.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/0.9855, allocations: 0 / 1.599 GB, free: 142.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.531e-05/0.9855, allocations: 8.875 kB / 1.599 GB, free: 142.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.839e-06/0.9856, allocations: 4.828 kB / 1.599 GB, free: 142.8 MB / 0.8542 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 () * Number of clocked 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.15e-05/0.9857, allocations: 108.2 kB / 1.599 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.236e-05/0.9857, allocations: 4.562 kB / 1.599 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.763e-05/0.9857, allocations: 3.531 kB / 1.599 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.9857, allocations: 0 / 1.599 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.9858, allocations: 7.984 kB / 1.599 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.9858, allocations: 0 / 1.599 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001773/0.986, allocations: 172.8 kB / 1.6 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.986, allocations: 1.656 kB / 1.6 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.653e-05/0.9861, allocations: 4 kB / 1.6 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.858e-06/0.9861, allocations: 0 / 1.6 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.9861, allocations: 3.984 kB / 1.6 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.9861, allocations: 0.6562 kB / 1.6 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.9861, allocations: 4 kB / 1.6 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002288/0.9864, allocations: 156.8 kB / 1.6 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.068e-05/0.9864, allocations: 77.11 kB / 1.6 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/0.9864, allocations: 5.188 kB / 1.6 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.8e-05/0.9865, allocations: 7.984 kB / 1.6 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.003e-05/0.9866, allocations: 5.156 kB / 1.6 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.692e-06/0.9866, allocations: 0 / 1.6 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.051e-05/0.9867, allocations: 79.28 kB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-07/0.9867, allocations: 2.594 kB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003121/0.987, allocations: 11.92 kB / 1.6 GB, free: 142.1 MB / 0.8542 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 () * Number of clocked 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.0001276/0.9871, allocations: 99.25 kB / 1.6 GB, free: 142 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002149/0.9874, allocations: 25.55 kB / 1.6 GB, free: 141.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.9874, allocations: 0 / 1.6 GB, free: 141.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.414e-05/0.9875, allocations: 16.91 kB / 1.6 GB, free: 141.9 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002743/0.9877, allocations: 3.953 kB / 1.6 GB, free: 141.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004025/0.9882, allocations: 138.4 kB / 1.6 GB, free: 141.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001523/0.9883, allocations: 0.6822 MB / 1.601 GB, free: 141 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.608e-05/0.9884, allocations: 0 / 1.601 GB, free: 141 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.035e-05/0.9884, allocations: 7.438 kB / 1.601 GB, free: 141 MB / 0.8542 GB Notification: Performance of SimCode: time 1.192e-06/0.9884, allocations: 1.094 kB / 1.601 GB, free: 141 MB / 0.8542 GB Notification: Performance of Templates: time 0.002981/0.9914, allocations: 265.7 kB / 1.601 GB, free: 140.8 MB / 0.8542 GB