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.647/1.647, allocations: 285.6 MB / 293.1 MB, free: 10.17 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.001122/0.001122, allocations: 180.3 kB / 361.4 MB, free: 6.836 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.748/1.748, allocations: 205.2 MB / 0.62 GB, free: 11.66 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009968/0.0009967, allocations: 89.14 kB / 0.733 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.991e-05/1.992e-05, allocations: 0 / 0.8517 GB, free: 2.758 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.72/0.7201, allocations: 115.3 MB / 0.9644 GB, free: 79.16 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1924/0.9125, allocations: 138.7 MB / 1.1 GB, free: 1.168 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002791/0.9128, allocations: 87.94 kB / 1.1 GB, free: 1.082 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004372/0.9172, allocations: 1.492 MB / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.793e-06/0.9172, allocations: 3.938 kB / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.648e-06/0.9173, allocations: 4.531 kB / 1.101 GB, free: 15.61 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.0004643/0.9177, allocations: 376.5 kB / 1.102 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.9178, allocations: 8.031 kB / 1.102 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.993e-05/0.9178, allocations: 9.625 kB / 1.102 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001894/0.918, allocations: 187 kB / 1.102 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.9181, allocations: 0 / 1.102 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.715e-05/0.9181, allocations: 4 kB / 1.102 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001037/0.9182, allocations: 28.5 kB / 1.102 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.9184, allocations: 76.64 kB / 1.102 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.9184, allocations: 0 / 1.102 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.9184, allocations: 0.5 kB / 1.102 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.9184, allocations: 2.766 kB / 1.102 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005259/0.9189, allocations: 301.6 kB / 1.102 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.166e-05/0.9191, allocations: 43.8 kB / 1.102 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.807e-05/0.9191, allocations: 16.86 kB / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.9191, allocations: 0 / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.925e-05/0.9192, allocations: 34.56 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.083e-06/0.9192, allocations: 0 / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0002148/0.9194, allocations: 61.69 kB / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.183e-05/0.9195, allocations: 81.2 kB / 1.103 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.9196, allocations: 123.3 kB / 1.103 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.9196, allocations: 25.7 kB / 1.103 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.161e-05/0.9197, allocations: 104 kB / 1.103 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.005e-05/0.9197, allocations: 7.812 kB / 1.103 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.983e-06/0.9197, allocations: 4 kB / 1.103 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.9199, allocations: 322.8 kB / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.502e-05/0.9199, allocations: 18.91 kB / 1.103 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.928e-05/0.92, allocations: 25.72 kB / 1.103 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.739e-05/0.92, allocations: 15.98 kB / 1.103 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.92, allocations: 0 / 1.103 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001157/0.9201, allocations: 61.69 kB / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.9202, allocations: 4 kB / 1.103 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.9202, allocations: 4.031 kB / 1.103 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.9202, allocations: 4 kB / 1.103 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.9203, allocations: 15.44 kB / 1.103 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.9203, allocations: 8.875 kB / 1.103 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.739e-05/0.9204, allocations: 19.86 kB / 1.103 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.9205, allocations: 3.984 kB / 1.103 GB, free: 13.46 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 8.668e-05/0.9205, allocations: 105 kB / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.118e-05/0.9206, allocations: 4.656 kB / 1.103 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.845e-05/0.9206, allocations: 12.34 kB / 1.103 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.9206, allocations: 0 / 1.103 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.9206, allocations: 0 / 1.103 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.9206, allocations: 0 / 1.103 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000189/0.9208, allocations: 170.1 kB / 1.104 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.9209, allocations: 0 / 1.104 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.233e-05/0.9209, allocations: 15.98 kB / 1.104 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.9209, allocations: 1.641 kB / 1.104 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.921, allocations: 4 kB / 1.104 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.921, allocations: 0 / 1.104 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.921, allocations: 0 / 1.104 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001713/0.9212, allocations: 165.9 kB / 1.104 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.902e-05/0.9212, allocations: 88.95 kB / 1.104 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.391e-05/0.9212, allocations: 3.984 kB / 1.104 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.9214, allocations: 15.98 kB / 1.104 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.922e-05/0.9214, allocations: 7.984 kB / 1.104 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.9214, allocations: 4 kB / 1.104 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.929e-05/0.9215, allocations: 102.9 kB / 1.104 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2e-07/0.9215, allocations: 0 / 1.104 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002215/0.9217, allocations: 8 kB / 1.104 GB, free: 12.69 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.0001306/0.9219, allocations: 103 kB / 1.104 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000123/0.922, allocations: 36.81 kB / 1.104 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.922, allocations: 4 kB / 1.104 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.381e-05/0.9221, allocations: 23.92 kB / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001909/0.9223, allocations: 7.953 kB / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003157/0.9226, allocations: 98.14 kB / 1.104 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003016/0.9229, allocations: 0.6924 MB / 1.105 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.05e-05/0.923, allocations: 8.312 kB / 1.105 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.01e-05/0.923, allocations: 15.42 kB / 1.105 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of SimCode: time 2.31e-07/0.923, allocations: 0 / 1.105 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of Templates: time 0.003087/0.9261, allocations: 0.6625 MB / 1.106 GB, free: 11.04 MB / 0.7136 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)