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.614/1.614, allocations: 285.4 MB / 298 MB, free: 6.004 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.001578/0.001578, allocations: 184.2 kB / 366.4 MB, free: 2.117 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.629/1.629, allocations: 205.1 MB / 0.6248 GB, free: 7.762 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.0008347/0.0008347, allocations: 93.08 kB / 0.738 GB, free: 40.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.524e-05/3.554e-05, allocations: 4 kB / 0.8583 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6793/0.6793, allocations: 115.3 MB / 0.9709 GB, free: 77.91 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1969/0.8763, allocations: 139.4 MB / 1.107 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002477/0.8766, allocations: 87.94 kB / 1.107 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.004137/0.8807, allocations: 1.5 MB / 1.109 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.072e-06/0.8808, allocations: 0 / 1.109 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.8808, allocations: 0.5312 kB / 1.109 GB, free: 10.9 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.0004275/0.8812, allocations: 375.5 kB / 1.109 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.8813, allocations: 8.031 kB / 1.109 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.344e-05/0.8813, allocations: 11.91 kB / 1.109 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.8815, allocations: 185 kB / 1.109 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.8815, allocations: 3.5 kB / 1.109 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.713e-05/0.8815, allocations: 6.219 kB / 1.109 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.8817, allocations: 84.73 kB / 1.109 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.966e-06/0.8817, allocations: 0 / 1.109 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.8817, allocations: 0 / 1.109 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.8817, allocations: 4.5 kB / 1.109 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.135e-05/0.8818, allocations: 29.31 kB / 1.109 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004994/0.8823, allocations: 332.6 kB / 1.11 GB, free: 9.754 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.928e-05/0.8824, allocations: 38.56 kB / 1.11 GB, free: 9.707 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.249e-05/0.8825, allocations: 21.61 kB / 1.11 GB, free: 9.684 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.8825, allocations: 8.531 kB / 1.11 GB, free: 9.676 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.8825, allocations: 31.16 kB / 1.11 GB, free: 9.637 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.8825, allocations: 0.7188 kB / 1.11 GB, free: 9.637 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001839/0.8827, allocations: 67.61 kB / 1.11 GB, free: 9.566 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/0.8828, allocations: 78.14 kB / 1.11 GB, free: 9.473 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.8829, allocations: 118.9 kB / 1.11 GB, free: 9.348 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.8829, allocations: 29.7 kB / 1.11 GB, free: 9.312 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.999e-05/0.883, allocations: 104 kB / 1.11 GB, free: 9.207 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.752e-05/0.883, allocations: 7.812 kB / 1.11 GB, free: 9.199 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.001e-06/0.883, allocations: 8 kB / 1.11 GB, free: 9.191 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.8832, allocations: 318.8 kB / 1.11 GB, free: 8.871 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.609e-05/0.8832, allocations: 16 kB / 1.11 GB, free: 8.855 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.308e-05/0.8832, allocations: 29.66 kB / 1.11 GB, free: 8.82 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.685e-05/0.8833, allocations: 12.62 kB / 1.11 GB, free: 8.809 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.8833, allocations: 0 / 1.11 GB, free: 8.809 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001116/0.8834, allocations: 65.69 kB / 1.11 GB, free: 8.738 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.8834, allocations: 4.938 kB / 1.11 GB, free: 8.734 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.8835, allocations: 4.031 kB / 1.11 GB, free: 8.73 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.8835, allocations: 10.11 kB / 1.11 GB, free: 8.723 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.8836, allocations: 8 kB / 1.11 GB, free: 8.715 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.8836, allocations: 6.531 kB / 1.11 GB, free: 8.711 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.322e-05/0.8837, allocations: 19.89 kB / 1.111 GB, free: 8.691 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.8837, allocations: 3.281 kB / 1.111 GB, free: 8.691 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.081e-05/0.8838, allocations: 116.9 kB / 1.111 GB, free: 8.57 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.955e-05/0.8838, allocations: 10.89 kB / 1.111 GB, free: 8.562 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.136e-05/0.8839, allocations: 8.031 kB / 1.111 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.8839, allocations: 0 / 1.111 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.8839, allocations: 0 / 1.111 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.8839, allocations: 4 kB / 1.111 GB, free: 8.547 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001834/0.8841, allocations: 193.6 kB / 1.111 GB, free: 8.309 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.8841, allocations: 0 / 1.111 GB, free: 8.309 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.001e-05/0.8842, allocations: 11.98 kB / 1.111 GB, free: 8.297 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.8842, allocations: 0 / 1.111 GB, free: 8.297 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.8842, allocations: 8 kB / 1.111 GB, free: 8.289 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.8842, allocations: 2.312 kB / 1.111 GB, free: 8.289 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.8842, allocations: 0 / 1.111 GB, free: 8.289 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000155/0.8844, allocations: 159.4 kB / 1.111 GB, free: 8.117 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.467e-05/0.8844, allocations: 92.94 kB / 1.111 GB, free: 8.008 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.978e-05/0.8845, allocations: 0 / 1.111 GB, free: 8.008 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.8846, allocations: 19.98 kB / 1.111 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.984e-05/0.8846, allocations: 11.92 kB / 1.111 GB, free: 7.977 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.8847, allocations: 0 / 1.111 GB, free: 7.977 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.784e-05/0.8847, allocations: 105 kB / 1.111 GB, free: 7.875 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8847, allocations: 0 / 1.111 GB, free: 7.875 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002006/0.8849, allocations: 8 kB / 1.111 GB, free: 7.867 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.0001123/0.8851, allocations: 107.2 kB / 1.111 GB, free: 7.75 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000132/0.8852, allocations: 35.98 kB / 1.111 GB, free: 7.715 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.8852, allocations: 4 kB / 1.111 GB, free: 7.711 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.001e-05/0.8853, allocations: 19.94 kB / 1.111 GB, free: 7.691 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001651/0.8854, allocations: 9.859 kB / 1.111 GB, free: 7.684 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002547/0.8857, allocations: 99.12 kB / 1.112 GB, free: 7.57 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002659/0.886, allocations: 0.6926 MB / 1.112 GB, free: 6.852 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.513e-05/0.886, allocations: 7.984 kB / 1.112 GB, free: 6.844 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.762e-05/0.8861, allocations: 14.62 kB / 1.112 GB, free: 6.832 MB / 0.7136 GB Notification: Performance of SimCode: time 2.6e-07/0.8861, allocations: 0 / 1.112 GB, free: 6.832 MB / 0.7136 GB Notification: Performance of Templates: time 0.002496/0.8886, allocations: 0.7244 MB / 1.113 GB, free: 6.148 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)