Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.761/1.761, allocations: 288.3 MB / 303.2 MB, free: 8.145 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001136/0.001136, allocations: 173.1 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2/2, allocations: 205.4 MB / 0.6306 GB, free: 9.996 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000932/0.0009319, allocations: 87.5 kB / 0.7439 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004779/0.0004779, allocations: 11.62 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3043/0.3048, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9261/1.231, allocations: 139.5 MB / 1.116 GB, free: 16.29 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000268/1.231, allocations: 94.95 kB / 1.116 GB, free: 16.29 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004828/1.236, allocations: 1.513 MB / 1.117 GB, free: 31.89 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.274e-06/1.236, allocations: 0 / 1.117 GB, free: 31.89 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.093e-05/1.236, allocations: 3.812 kB / 1.117 GB, free: 31.89 MB / 0.698 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.0005234/1.237, allocations: 382.7 kB / 1.118 GB, free: 31.52 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/1.237, allocations: 11.61 kB / 1.118 GB, free: 31.52 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.801e-05/1.237, allocations: 10.34 kB / 1.118 GB, free: 31.52 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001975/1.237, allocations: 192.9 kB / 1.118 GB, free: 31.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/1.237, allocations: 0 / 1.118 GB, free: 31.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.036e-05/1.237, allocations: 3.969 kB / 1.118 GB, free: 31.3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002445/1.237, allocations: 89.89 kB / 1.118 GB, free: 31.25 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/1.237, allocations: 0 / 1.118 GB, free: 31.25 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.779e-05/1.237, allocations: 7.688 kB / 1.118 GB, free: 31.25 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/1.237, allocations: 3.969 kB / 1.118 GB, free: 31.25 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001557/1.238, allocations: 55.41 kB / 1.118 GB, free: 31.25 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005339/1.238, allocations: 333.8 kB / 1.118 GB, free: 30.97 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001409/1.238, allocations: 56.02 kB / 1.118 GB, free: 30.95 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/1.238, allocations: 0 / 1.118 GB, free: 30.95 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/1.238, allocations: 34.22 kB / 1.118 GB, free: 30.91 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/1.238, allocations: 4 kB / 1.118 GB, free: 30.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0003681/1.239, allocations: 106.6 kB / 1.118 GB, free: 30.87 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.468e-05/1.239, allocations: 87.78 kB / 1.119 GB, free: 30.77 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.647e-05/1.239, allocations: 118.2 kB / 1.119 GB, free: 30.68 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/1.239, allocations: 29.7 kB / 1.119 GB, free: 30.64 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.417e-05/1.239, allocations: 101.1 kB / 1.119 GB, free: 30.55 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.402e-05/1.239, allocations: 18.3 kB / 1.119 GB, free: 30.54 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.919e-06/1.239, allocations: 0 / 1.119 GB, free: 30.54 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001456/1.239, allocations: 316.9 kB / 1.119 GB, free: 30.23 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.542e-05/1.239, allocations: 27.88 kB / 1.119 GB, free: 30.23 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.399e-05/1.239, allocations: 49.06 kB / 1.119 GB, free: 30.21 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.052e-05/1.239, allocations: 21.52 kB / 1.119 GB, free: 30.21 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/1.239, allocations: 0 / 1.119 GB, free: 30.21 MB / 0.698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001894/1.24, allocations: 95.62 kB / 1.119 GB, free: 30.17 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/1.24, allocations: 11.84 kB / 1.119 GB, free: 30.17 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/1.24, allocations: 3.938 kB / 1.119 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/1.24, allocations: 0 / 1.119 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/1.24, allocations: 12.34 kB / 1.119 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/1.24, allocations: 7.828 kB / 1.119 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.336e-05/1.24, allocations: 21.97 kB / 1.119 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-06/1.24, allocations: 0 / 1.119 GB, free: 30.16 MB / 0.698 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 () * Number of clocked 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.0001081/1.24, allocations: 119.1 kB / 1.119 GB, free: 30.04 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.687e-05/1.24, allocations: 7.75 kB / 1.119 GB, free: 30.04 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.763e-05/1.24, allocations: 7.625 kB / 1.119 GB, free: 30.03 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-06/1.24, allocations: 0 / 1.119 GB, free: 30.03 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/1.24, allocations: 0 / 1.119 GB, free: 30.03 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/1.24, allocations: 6.391 kB / 1.119 GB, free: 30.03 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002085/1.24, allocations: 187.2 kB / 1.12 GB, free: 29.84 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/1.24, allocations: 5.641 kB / 1.12 GB, free: 29.84 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.418e-05/1.24, allocations: 10.47 kB / 1.12 GB, free: 29.84 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/1.241, allocations: 6.453 kB / 1.12 GB, free: 29.84 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/1.241, allocations: 192 / 1.12 GB, free: 29.84 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/1.241, allocations: 0 / 1.12 GB, free: 29.84 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/1.241, allocations: 0 / 1.12 GB, free: 29.84 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002696/1.241, allocations: 194.9 kB / 1.12 GB, free: 29.69 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.193e-05/1.241, allocations: 84.86 kB / 1.12 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.448e-05/1.241, allocations: 0 / 1.12 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/1.241, allocations: 15.31 kB / 1.12 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.208e-05/1.241, allocations: 13.91 kB / 1.12 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/1.241, allocations: 0 / 1.12 GB, free: 29.59 MB / 0.698 GB Notification: Performance of sorting global known variables: time 9.982e-05/1.241, allocations: 106.9 kB / 1.12 GB, free: 29.52 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/1.241, allocations: 0 / 1.12 GB, free: 29.52 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002199/1.241, allocations: 11.56 kB / 1.12 GB, free: 29.52 MB / 0.698 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) * Number of clocked states: 0 () * 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.0001543/1.242, allocations: 103.7 kB / 1.12 GB, free: 29.43 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002225/1.242, allocations: 68.7 kB / 1.12 GB, free: 29.42 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/1.242, allocations: 0 / 1.12 GB, free: 29.42 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 7.791e-05/1.242, allocations: 32.06 kB / 1.12 GB, free: 29.42 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002079/1.242, allocations: 10.5 kB / 1.12 GB, free: 29.41 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004019/1.243, allocations: 201.1 kB / 1.12 GB, free: 29.27 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/1.243, allocations: 0.6943 MB / 1.121 GB, free: 28.57 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.828e-05/1.243, allocations: 3.906 kB / 1.121 GB, free: 28.57 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.152e-05/1.243, allocations: 17.81 kB / 1.121 GB, free: 28.55 MB / 0.698 GB Notification: Performance of SimCode: time 2.31e-07/1.243, allocations: 0 / 1.121 GB, free: 28.55 MB / 0.698 GB Notification: Performance of Templates: time 0.00303/1.246, allocations: 0.7246 MB / 1.122 GB, free: 28.51 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.makefile (rm -f Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.sim & ./Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe 2>&1)