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.ChillerSwitch.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.ChillerSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.24/2.24, allocations: 252.6 MB / 265.2 MB, free: 5.641 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.001422/0.001421, allocations: 186.2 kB / 324.5 MB, free: 14.42 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.977/1.977, allocations: 205.4 MB / 0.5753 GB, free: 10.51 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.001159/0.001159, allocations: 105.3 kB / 0.6797 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.357e-05/3.356e-05, allocations: 4 kB / 0.7911 GB, free: 96.62 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1981/0.1981, allocations: 106.2 MB / 0.8949 GB, free: 6.281 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8491/1.047, allocations: 132.9 MB / 1.025 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000356/1.048, allocations: 91.5 kB / 1.025 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006538/1.054, allocations: 1.513 MB / 1.026 GB, free: 224 kB / 0.6355 GB Notification: Performance of FrontEnd: time 1.613e-06/1.054, allocations: 0 / 1.026 GB, free: 224 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.596e-06/1.054, allocations: 4 kB / 1.026 GB, free: 220 kB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005736/1.055, allocations: 382 kB / 1.027 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/1.055, allocations: 11.97 kB / 1.027 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.398e-05/1.055, allocations: 11.86 kB / 1.027 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001615/1.055, allocations: 167 kB / 1.027 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/1.055, allocations: 11.56 kB / 1.027 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.998e-05/1.055, allocations: 4 kB / 1.027 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002095/1.056, allocations: 81.95 kB / 1.027 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/1.056, allocations: 0 / 1.027 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.789e-05/1.056, allocations: 0 / 1.027 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/1.056, allocations: 0 / 1.027 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001253/1.056, allocations: 34.86 kB / 1.027 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006213/1.056, allocations: 333.1 kB / 1.027 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001295/1.057, allocations: 45.06 kB / 1.027 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.37e-05/1.057, allocations: 16.61 kB / 1.027 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/1.057, allocations: 2.625 kB / 1.027 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/1.057, allocations: 42.33 kB / 1.027 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=4): time 1.893e-06/1.057, allocations: 0 / 1.027 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of matching and sorting (n=4): time 0.0002471/1.057, allocations: 64.59 kB / 1.027 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/1.057, allocations: 81.05 kB / 1.027 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/1.057, allocations: 120.6 kB / 1.028 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.651e-05/1.057, allocations: 25.7 kB / 1.028 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.31e-05/1.057, allocations: 105.7 kB / 1.028 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.496e-05/1.057, allocations: 7.906 kB / 1.028 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.464e-06/1.057, allocations: 4 kB / 1.028 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001167/1.057, allocations: 318.7 kB / 1.028 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.759e-05/1.058, allocations: 14.5 kB / 1.028 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.507e-05/1.058, allocations: 28.78 kB / 1.028 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.077e-05/1.058, allocations: 20.17 kB / 1.028 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/1.058, allocations: 0 / 1.028 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001776/1.058, allocations: 68.61 kB / 1.028 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/1.058, allocations: 7.984 kB / 1.028 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/1.058, allocations: 7.984 kB / 1.028 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/1.058, allocations: 0 / 1.028 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001619/1.058, allocations: 8 kB / 1.028 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/1.058, allocations: 0 / 1.028 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001493/1.058, allocations: 16.17 kB / 1.028 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.766e-05/1.058, allocations: 11.44 kB / 1.028 GB, free: 14.12 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: 2 ($PRE.chiSwi.hysteresis.y,chiSwi.hysteresis.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 0.0001046/1.058, allocations: 109 kB / 1.028 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.095e-05/1.059, allocations: 11.89 kB / 1.028 GB, free: 14 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.591e-05/1.059, allocations: 15.2 kB / 1.028 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/1.059, allocations: 3.953 kB / 1.028 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/1.059, allocations: 0 / 1.028 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/1.059, allocations: 0 / 1.028 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002687/1.059, allocations: 190.4 kB / 1.029 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/1.059, allocations: 0 / 1.029 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001221/1.059, allocations: 11.98 kB / 1.029 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/1.059, allocations: 0 / 1.029 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/1.059, allocations: 4 kB / 1.029 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.668e-06/1.059, allocations: 0 / 1.029 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/1.059, allocations: 7.891 kB / 1.029 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002144/1.059, allocations: 162.2 kB / 1.029 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.093e-05/1.059, allocations: 84.95 kB / 1.029 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.12e-05/1.059, allocations: 4 kB / 1.029 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001843/1.06, allocations: 19.55 kB / 1.029 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.575e-05/1.06, allocations: 11.94 kB / 1.029 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/1.06, allocations: 4 kB / 1.029 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.952e-05/1.06, allocations: 100 kB / 1.029 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.81e-07/1.06, allocations: 0 / 1.029 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002871/1.06, allocations: 15.44 kB / 1.029 GB, free: 13.33 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: 1 (chiSwi.hysteresis.y) * Number of discrete states: 1 (chiSwi.hysteresis.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001306/1.06, allocations: 95.25 kB / 1.029 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001845/1.06, allocations: 46.61 kB / 1.029 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.491e-06/1.06, allocations: 4 kB / 1.029 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.708e-05/1.061, allocations: 15.5 kB / 1.029 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002137/1.061, allocations: 9.281 kB / 1.029 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003569/1.061, allocations: 101.8 kB / 1.029 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002683/1.061, allocations: 0.6926 MB / 1.03 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.854e-05/1.062, allocations: 7.984 kB / 1.03 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.316e-05/1.062, allocations: 11.44 kB / 1.03 GB, free: 12.33 MB / 0.6511 GB Notification: Performance of SimCode: time 7.31e-07/1.062, allocations: 0 / 1.03 GB, free: 12.33 MB / 0.6511 GB Notification: Performance of Templates: time 0.003882/1.065, allocations: 0.7275 MB / 1.031 GB, free: 11.63 MB / 0.6511 GB