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.631/1.631, allocations: 288.4 MB / 304.3 MB, free: 7.984 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.00142/0.00142, allocations: 188.4 kB / 373 MB, free: 10.13 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.818/1.818, allocations: 205.4 MB / 0.6317 GB, free: 9.918 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.0009966/0.0009965, allocations: 94.28 kB / 0.745 GB, free: 5.82 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004132/0.0004133, allocations: 12.12 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2282/0.2286, allocations: 115.3 MB / 0.9807 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.744/0.9727, allocations: 139.5 MB / 1.117 GB, free: 16.55 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002549/0.973, allocations: 92.8 kB / 1.117 GB, free: 16.55 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004374/0.9774, allocations: 1.513 MB / 1.119 GB, free: 32.17 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.064e-06/0.9774, allocations: 0 / 1.119 GB, free: 32.17 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.9774, allocations: 3.906 kB / 1.119 GB, free: 32.17 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.0004334/0.9779, allocations: 389.2 kB / 1.119 GB, free: 31.79 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.9779, allocations: 7.625 kB / 1.119 GB, free: 31.79 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.64e-05/0.9779, allocations: 8.594 kB / 1.119 GB, free: 31.79 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.9781, allocations: 183.3 kB / 1.119 GB, free: 31.58 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.9781, allocations: 384 / 1.119 GB, free: 31.58 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.635e-05/0.9781, allocations: 4.219 kB / 1.119 GB, free: 31.58 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002038/0.9783, allocations: 101.3 kB / 1.119 GB, free: 31.53 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.9784, allocations: 192 / 1.119 GB, free: 31.53 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.9784, allocations: 7.781 kB / 1.119 GB, free: 31.52 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.9784, allocations: 0 / 1.119 GB, free: 31.52 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001546/0.9785, allocations: 58.84 kB / 1.119 GB, free: 31.52 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004824/0.979, allocations: 329.6 kB / 1.12 GB, free: 31.25 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001263/0.9792, allocations: 59.7 kB / 1.12 GB, free: 31.22 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.634e-05/0.9793, allocations: 36.75 kB / 1.12 GB, free: 31.21 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.9793, allocations: 1.547 kB / 1.12 GB, free: 31.21 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.9793, allocations: 34.5 kB / 1.12 GB, free: 31.16 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.9793, allocations: 4 kB / 1.12 GB, free: 31.16 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.000321/0.9797, allocations: 113.2 kB / 1.12 GB, free: 31.12 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.717e-05/0.9797, allocations: 78.47 kB / 1.12 GB, free: 31.03 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.143e-05/0.9798, allocations: 130 kB / 1.12 GB, free: 30.93 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.9798, allocations: 29.7 kB / 1.12 GB, free: 30.89 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.447e-05/0.9799, allocations: 98.36 kB / 1.12 GB, free: 30.81 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.975e-05/0.9799, allocations: 20.92 kB / 1.12 GB, free: 30.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.599e-06/0.9799, allocations: 0 / 1.12 GB, free: 30.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.9801, allocations: 322 kB / 1.12 GB, free: 30.48 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.336e-05/0.9801, allocations: 26.14 kB / 1.12 GB, free: 30.48 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.622e-05/0.9802, allocations: 45.81 kB / 1.121 GB, free: 30.46 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.9804, allocations: 56.03 kB / 1.121 GB, free: 30.45 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.9804, allocations: 3.812 kB / 1.121 GB, free: 30.45 MB / 0.698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001835/0.9806, allocations: 96 kB / 1.121 GB, free: 30.41 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.9806, allocations: 7.688 kB / 1.121 GB, free: 30.41 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.9806, allocations: 0 / 1.121 GB, free: 30.41 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.9806, allocations: 0 / 1.121 GB, free: 30.41 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.553e-05/0.9807, allocations: 10.84 kB / 1.121 GB, free: 30.41 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.9808, allocations: 0 / 1.121 GB, free: 30.41 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.654e-05/0.9808, allocations: 23.64 kB / 1.121 GB, free: 30.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.9809, allocations: 0 / 1.121 GB, free: 30.4 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 9.538e-05/0.981, allocations: 126.5 kB / 1.121 GB, free: 30.28 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.462e-05/0.981, allocations: 3.906 kB / 1.121 GB, free: 30.28 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.167e-05/0.981, allocations: 13.67 kB / 1.121 GB, free: 30.27 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.981, allocations: 0 / 1.121 GB, free: 30.27 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.981, allocations: 0 / 1.121 GB, free: 30.27 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.981, allocations: 2.047 kB / 1.121 GB, free: 30.27 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/0.9812, allocations: 200.3 kB / 1.121 GB, free: 30.07 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.9812, allocations: 0 / 1.121 GB, free: 30.07 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.732e-05/0.9813, allocations: 10.86 kB / 1.121 GB, free: 30.07 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.9813, allocations: 3.875 kB / 1.121 GB, free: 30.07 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.9813, allocations: 0 / 1.121 GB, free: 30.07 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.9813, allocations: 5.391 kB / 1.121 GB, free: 30.06 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.9813, allocations: 0 / 1.121 GB, free: 30.06 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002192/0.9816, allocations: 191.9 kB / 1.121 GB, free: 29.92 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.849e-05/0.9816, allocations: 86.06 kB / 1.121 GB, free: 29.82 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.087e-05/0.9816, allocations: 3.938 kB / 1.121 GB, free: 29.82 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.9817, allocations: 15.44 kB / 1.121 GB, free: 29.82 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.639e-05/0.9818, allocations: 12.73 kB / 1.121 GB, free: 29.82 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-06/0.9818, allocations: 0 / 1.121 GB, free: 29.82 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.525e-05/0.9819, allocations: 103.8 kB / 1.121 GB, free: 29.74 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9819, allocations: 0 / 1.121 GB, free: 29.74 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002067/0.9821, allocations: 11.56 kB / 1.121 GB, free: 29.74 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.0001096/0.9822, allocations: 108.8 kB / 1.122 GB, free: 29.65 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002028/0.9824, allocations: 64.7 kB / 1.122 GB, free: 29.64 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.9824, allocations: 0 / 1.122 GB, free: 29.64 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 7.497e-05/0.9825, allocations: 30.3 kB / 1.122 GB, free: 29.64 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002574/0.9828, allocations: 11.72 kB / 1.122 GB, free: 29.64 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003432/0.9831, allocations: 197.6 kB / 1.122 GB, free: 29.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002596/0.9834, allocations: 0.6935 MB / 1.123 GB, free: 28.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.368e-05/0.9835, allocations: 3.984 kB / 1.123 GB, free: 28.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.282e-05/0.9835, allocations: 17.81 kB / 1.123 GB, free: 28.79 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/0.9835, allocations: 0 / 1.123 GB, free: 28.79 MB / 0.698 GB Notification: Performance of Templates: time 0.002584/0.9861, allocations: 0.7228 MB / 1.123 GB, free: 28.75 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)