Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.47/2.47, allocations: 284.8 MB / 297.3 MB, free: 6.41 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001494/0.001494, allocations: 179.5 kB / 365.7 MB, free: 2.625 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.109/2.109, allocations: 205.2 MB / 0.6241 GB, free: 8.215 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001063/0.001063, allocations: 92.14 kB / 0.7372 GB, free: 40.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.14e-05/4.146e-05, allocations: 4 kB / 0.8574 GB, free: 13.74 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7748/0.7748, allocations: 115.2 MB / 0.97 GB, free: 78.26 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.254/1.029, allocations: 139.2 MB / 1.106 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003252/1.029, allocations: 91.94 kB / 1.106 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.006517/1.036, allocations: 1.503 MB / 1.107 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.074e-06/1.036, allocations: 0 / 1.107 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.184e-06/1.036, allocations: 0 / 1.107 GB, free: 11.7 MB / 0.7136 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.0005451/1.036, allocations: 374.2 kB / 1.108 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/1.036, allocations: 12.03 kB / 1.108 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.725e-05/1.037, allocations: 8.625 kB / 1.108 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001674/1.037, allocations: 178.9 kB / 1.108 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/1.037, allocations: 8.812 kB / 1.108 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.25e-05/1.037, allocations: 0 / 1.108 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002095/1.037, allocations: 83.91 kB / 1.108 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/1.037, allocations: 1.219 kB / 1.108 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.977e-05/1.037, allocations: 8 kB / 1.108 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/1.037, allocations: 0.75 kB / 1.108 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001287/1.037, allocations: 31.98 kB / 1.108 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000697/1.038, allocations: 327.7 kB / 1.108 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001322/1.038, allocations: 43.8 kB / 1.109 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.257e-05/1.038, allocations: 16.86 kB / 1.109 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/1.038, allocations: 5.5 kB / 1.109 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/1.038, allocations: 34.56 kB / 1.109 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 2.134e-06/1.038, allocations: 4 kB / 1.109 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0002482/1.038, allocations: 65.64 kB / 1.109 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.439e-05/1.039, allocations: 77.11 kB / 1.109 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/1.039, allocations: 123.6 kB / 1.109 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.555e-05/1.039, allocations: 25.7 kB / 1.109 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.787e-05/1.039, allocations: 104 kB / 1.109 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.948e-05/1.039, allocations: 15.8 kB / 1.109 GB, free: 9.996 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.754e-06/1.039, allocations: 4 kB / 1.109 GB, free: 9.992 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001233/1.039, allocations: 322.8 kB / 1.109 GB, free: 9.668 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.869e-05/1.039, allocations: 12 kB / 1.109 GB, free: 9.656 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.109e-05/1.039, allocations: 33.66 kB / 1.109 GB, free: 9.617 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.127e-05/1.039, allocations: 17.48 kB / 1.109 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/1.039, allocations: 0 / 1.109 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001806/1.039, allocations: 65.69 kB / 1.109 GB, free: 9.531 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/1.039, allocations: 8 kB / 1.109 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/1.04, allocations: 3.938 kB / 1.109 GB, free: 9.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/1.04, allocations: 3.953 kB / 1.109 GB, free: 9.516 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001769/1.04, allocations: 12.03 kB / 1.109 GB, free: 9.504 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/1.04, allocations: 3.984 kB / 1.109 GB, free: 9.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001461/1.04, allocations: 15.91 kB / 1.109 GB, free: 9.484 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.484e-05/1.04, allocations: 3.984 kB / 1.109 GB, free: 9.48 MB / 0.7136 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 9.359e-05/1.04, allocations: 111.1 kB / 1.11 GB, free: 9.367 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.078e-05/1.04, allocations: 4 kB / 1.11 GB, free: 9.363 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.237e-05/1.04, allocations: 16.03 kB / 1.11 GB, free: 9.344 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/1.04, allocations: 0 / 1.11 GB, free: 9.344 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/1.04, allocations: 7.953 kB / 1.11 GB, free: 9.336 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/1.04, allocations: 0 / 1.11 GB, free: 9.336 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002544/1.04, allocations: 181.6 kB / 1.11 GB, free: 9.109 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/1.04, allocations: 0 / 1.11 GB, free: 9.109 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001259/1.041, allocations: 15.98 kB / 1.11 GB, free: 9.094 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/1.041, allocations: 0 / 1.11 GB, free: 9.094 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/1.041, allocations: 0 / 1.11 GB, free: 9.094 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/1.041, allocations: 0 / 1.11 GB, free: 9.094 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/1.041, allocations: 4 kB / 1.11 GB, free: 9.09 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002268/1.041, allocations: 167.4 kB / 1.11 GB, free: 8.91 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.413e-05/1.041, allocations: 92.05 kB / 1.11 GB, free: 8.805 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.983e-05/1.041, allocations: 0 / 1.11 GB, free: 8.805 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001822/1.041, allocations: 19.98 kB / 1.11 GB, free: 8.785 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.239e-05/1.041, allocations: 17.23 kB / 1.11 GB, free: 8.77 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-06/1.041, allocations: 0 / 1.11 GB, free: 8.77 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.853e-05/1.041, allocations: 107.2 kB / 1.11 GB, free: 8.664 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.31e-07/1.041, allocations: 0 / 1.11 GB, free: 8.664 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002863/1.042, allocations: 8 kB / 1.11 GB, free: 8.656 MB / 0.7136 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.0001474/1.042, allocations: 99.25 kB / 1.11 GB, free: 8.547 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000178/1.042, allocations: 35.98 kB / 1.11 GB, free: 8.512 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/1.042, allocations: 0 / 1.11 GB, free: 8.512 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.817e-05/1.042, allocations: 23.94 kB / 1.11 GB, free: 8.488 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002173/1.042, allocations: 11 kB / 1.11 GB, free: 8.48 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003616/1.043, allocations: 104.4 kB / 1.11 GB, free: 8.363 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002778/1.043, allocations: 0.6965 MB / 1.111 GB, free: 7.641 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.216e-05/1.043, allocations: 0 / 1.111 GB, free: 7.641 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.877e-05/1.043, allocations: 11.44 kB / 1.111 GB, free: 7.629 MB / 0.7136 GB Notification: Performance of SimCode: time 7.71e-07/1.043, allocations: 4 kB / 1.111 GB, free: 7.625 MB / 0.7136 GB Notification: Performance of Templates: time 0.003913/1.047, allocations: 0.7218 MB / 1.112 GB, free: 6.949 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.makefile (rm -f Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.sim & ./Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe 2>&1)