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.208/2.208, allocations: 253.2 MB / 260.6 MB, free: 7.441 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.00158/0.001578, allocations: 180.9 kB / 319.9 MB, free: 3.039 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.148/2.148, allocations: 205.6 MB / 0.5708 GB, free: 15.22 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.001149/0.001149, allocations: 82.7 kB / 0.6751 GB, free: 4.594 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.715e-05/2.718e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2117/0.2117, allocations: 106.3 MB / 0.8887 GB, free: 11.81 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9049/1.117, allocations: 133.1 MB / 1.019 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003415/1.117, allocations: 91.75 kB / 1.019 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00638/1.124, allocations: 1.504 MB / 1.02 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.653e-06/1.124, allocations: 0 / 1.02 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.196e-06/1.124, allocations: 1.031 kB / 1.02 GB, free: 2.703 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005919/1.124, allocations: 369.8 kB / 1.021 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/1.124, allocations: 16.02 kB / 1.021 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.298e-05/1.124, allocations: 15.86 kB / 1.021 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001947/1.125, allocations: 174.9 kB / 1.021 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/1.125, allocations: 0 / 1.021 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.902e-05/1.125, allocations: 4 kB / 1.021 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001324/1.125, allocations: 27.62 kB / 1.021 GB, free: 2.039 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/1.125, allocations: 74.33 kB / 1.021 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/1.125, allocations: 7.938 kB / 1.021 GB, free: 1.957 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.907e-05/1.125, allocations: 0 / 1.021 GB, free: 1.957 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/1.125, allocations: 4 kB / 1.021 GB, free: 1.953 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006129/1.126, allocations: 305.2 kB / 1.021 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/1.126, allocations: 36.33 kB / 1.021 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.189e-05/1.126, allocations: 27.64 kB / 1.021 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/1.126, allocations: 2.625 kB / 1.021 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.566e-05/1.126, allocations: 30.56 kB / 1.021 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.834e-06/1.126, allocations: 4 kB / 1.021 GB, free: 1.543 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002418/1.126, allocations: 64.19 kB / 1.021 GB, free: 1.48 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.95e-05/1.126, allocations: 80.61 kB / 1.021 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/1.126, allocations: 115.6 kB / 1.022 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.752e-05/1.126, allocations: 29.7 kB / 1.022 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.09e-05/1.127, allocations: 106 kB / 1.022 GB, free: 1.141 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.554e-05/1.127, allocations: 7.906 kB / 1.022 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.645e-06/1.127, allocations: 0 / 1.022 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001393/1.127, allocations: 318.6 kB / 1.022 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.151e-05/1.127, allocations: 14.88 kB / 1.022 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.347e-05/1.127, allocations: 24.09 kB / 1.022 GB, free: 0.7852 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.238e-05/1.127, allocations: 19.05 kB / 1.022 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/1.127, allocations: 4.031 kB / 1.022 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001691/1.127, allocations: 66.34 kB / 1.022 GB, free: 0.707 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/1.127, allocations: 8 kB / 1.022 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.85e-06/1.127, allocations: 0 / 1.022 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/1.127, allocations: 0 / 1.022 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001641/1.127, allocations: 11.95 kB / 1.022 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/1.127, allocations: 3.984 kB / 1.022 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001469/1.128, allocations: 17.25 kB / 1.022 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/1.128, allocations: 3.984 kB / 1.022 GB, free: 0.6641 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: 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.0001002/1.128, allocations: 105 kB / 1.022 GB, free: 0.5547 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.918e-05/1.128, allocations: 11.84 kB / 1.022 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.357e-05/1.128, allocations: 11.03 kB / 1.022 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/1.128, allocations: 0 / 1.022 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/1.128, allocations: 7.953 kB / 1.022 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/1.128, allocations: 0 / 1.022 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000224/1.128, allocations: 163.7 kB / 1.022 GB, free: 344 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/1.128, allocations: 4.75 kB / 1.022 GB, free: 340 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001319/1.128, allocations: 8 kB / 1.022 GB, free: 332 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/1.128, allocations: 3.984 kB / 1.022 GB, free: 328 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/1.128, allocations: 3.938 kB / 1.022 GB, free: 324 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/1.128, allocations: 0 / 1.022 GB, free: 324 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/1.128, allocations: 4.188 kB / 1.022 GB, free: 320 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002099/1.129, allocations: 163.5 kB / 1.023 GB, free: 156 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.81e-05/1.129, allocations: 84.95 kB / 1.023 GB, free: 52 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.53e-05/1.129, allocations: 11.98 kB / 1.023 GB, free: 40 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001874/1.129, allocations: 12 kB / 1.023 GB, free: 28 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.563e-05/1.129, allocations: 11.97 kB / 1.023 GB, free: 16 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/1.129, allocations: 0 / 1.023 GB, free: 16 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001118/1.129, allocations: 98.45 kB / 1.023 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.51e-07/1.129, allocations: 0 / 1.023 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003272/1.129, allocations: 12 kB / 1.023 GB, free: 15.91 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.0001623/1.13, allocations: 103.2 kB / 1.023 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001717/1.13, allocations: 31.88 kB / 1.023 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/1.13, allocations: 0 / 1.023 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.739e-05/1.13, allocations: 22.3 kB / 1.023 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/1.13, allocations: 8.453 kB / 1.023 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003914/1.131, allocations: 101.9 kB / 1.023 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003389/1.131, allocations: 0.7001 MB / 1.024 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 7.172e-05/1.131, allocations: 8.109 kB / 1.024 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.436e-05/1.131, allocations: 17.98 kB / 1.024 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of SimCode: time 8.41e-07/1.131, allocations: 0 / 1.024 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of Templates: time 0.003955/1.135, allocations: 0.6632 MB / 1.024 GB, free: 14.26 MB / 0.6511 GB