Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008759/0.0008759, allocations: 92.7 kB / 20.21 MB, free: 4.227 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008671/0.0008671, allocations: 161.7 kB / 23.52 MB, free: 0.918 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9079/0.9079, allocations: 177.2 MB / 203.9 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.954/1.954, allocations: 428.5 MB / 0.6727 GB, free: 4.898 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch") translateModel(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.068e-05/1.068e-05, allocations: 0 / 0.8771 GB, free: 7.871 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.325e-05/4.393e-05, allocations: 3.25 kB / 0.8771 GB, free: 7.867 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch): time 0.00266/0.002704, allocations: 1.706 MB / 0.8787 GB, free: 6.176 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009195/0.003623, allocations: 0.4951 MB / 0.8792 GB, free: 5.684 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.65e-05/0.00372, allocations: 0 / 0.8792 GB, free: 5.684 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.9e-05/0.003759, allocations: 7.875 kB / 0.8792 GB, free: 5.676 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.000108/0.003867, allocations: 19.41 kB / 0.8792 GB, free: 5.66 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003652/0.004232, allocations: 51.86 kB / 0.8793 GB, free: 5.609 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001771/0.004409, allocations: 83.66 kB / 0.8794 GB, free: 5.527 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001531/0.004562, allocations: 24.2 kB / 0.8794 GB, free: 5.5 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000209/0.004771, allocations: 47.91 kB / 0.8794 GB, free: 5.453 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 8.832e-05/0.00486, allocations: 35.89 kB / 0.8795 GB, free: 5.418 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.481e-05/0.004885, allocations: 8.719 kB / 0.8795 GB, free: 5.41 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.587e-05/0.00494, allocations: 15.92 kB / 0.8795 GB, free: 5.395 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.376e-05/0.004964, allocations: 13.59 kB / 0.8795 GB, free: 5.383 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.248e-05/0.005007, allocations: 23.98 kB / 0.8795 GB, free: 5.359 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001962/0.005203, allocations: 99.59 kB / 0.8796 GB, free: 5.262 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.005205, allocations: 0 / 0.8796 GB, free: 5.262 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.22e-07/0.005206, allocations: 4.5 kB / 0.8796 GB, free: 5.258 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.005212, allocations: 0 / 0.8796 GB, free: 5.258 MB / 0.8386 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.0005207/0.005733, allocations: 323.3 kB / 0.8799 GB, free: 4.914 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.005779, allocations: 8.031 kB / 0.8799 GB, free: 4.906 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001818/0.005961, allocations: 34.45 kB / 0.88 GB, free: 4.875 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003659/0.006327, allocations: 129.6 kB / 0.8801 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.00634, allocations: 12.38 kB / 0.8801 GB, free: 4.711 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.561e-05/0.006355, allocations: 4.375 kB / 0.8801 GB, free: 4.707 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002101/0.006565, allocations: 117.6 kB / 0.8802 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.006576, allocations: 192 / 0.8802 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.006592, allocations: 384 / 0.8802 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.0066, allocations: 7.938 kB / 0.8802 GB, free: 4.566 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001049/0.006705, allocations: 47.95 kB / 0.8803 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004364/0.007142, allocations: 264.4 kB / 0.8805 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001167/0.007258, allocations: 50.5 kB / 0.8806 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.05e-05/0.007309, allocations: 24.94 kB / 0.8806 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.602e-05/0.007325, allocations: 4 kB / 0.8806 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.007347, allocations: 34.59 kB / 0.8806 GB, free: 4.098 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 4.078e-06/0.007351, allocations: 3.984 kB / 0.8806 GB, free: 4.094 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0002703/0.007621, allocations: 105.6 kB / 0.8807 GB, free: 3.984 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.007666, allocations: 81.11 kB / 0.8808 GB, free: 3.887 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.007769, allocations: 140 kB / 0.881 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.007787, allocations: 29.7 kB / 0.881 GB, free: 3.707 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.705e-05/0.007844, allocations: 96.12 kB / 0.8811 GB, free: 3.609 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.878e-05/0.007873, allocations: 7.906 kB / 0.8811 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.874e-05/0.007911, allocations: 25.7 kB / 0.8811 GB, free: 3.57 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.546e-05/0.007997, allocations: 314.8 kB / 0.8814 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.953e-05/0.008046, allocations: 19.98 kB / 0.8814 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.547e-05/0.008112, allocations: 71.33 kB / 0.8815 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.89e-05/0.008201, allocations: 56.94 kB / 0.8815 GB, free: 3.094 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.008203, allocations: 3.938 kB / 0.8816 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001368/0.00834, allocations: 93.61 kB / 0.8816 GB, free: 2.992 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.008356, allocations: 4 kB / 0.8816 GB, free: 2.988 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.008362, allocations: 0 / 0.8816 GB, free: 2.988 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.008376, allocations: 0 / 0.8816 GB, free: 2.988 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.523e-05/0.008451, allocations: 11.98 kB / 0.8817 GB, free: 2.977 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.595e-06/0.008458, allocations: 0 / 0.8817 GB, free: 2.977 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.314e-05/0.008501, allocations: 19.92 kB / 0.8817 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.008509, allocations: 3.984 kB / 0.8817 GB, free: 2.953 MB / 0.8386 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 (chiSwi.hysteresis.y,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.441e-05/0.008584, allocations: 125.7 kB / 0.8818 GB, free: 2.82 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.065e-05/0.008604, allocations: 7.953 kB / 0.8818 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.898e-05/0.008633, allocations: 8.344 kB / 0.8818 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.008636, allocations: 4 kB / 0.8818 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.008641, allocations: 0 / 0.8818 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.008645, allocations: 3.984 kB / 0.8818 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001184/0.008764, allocations: 129.2 kB / 0.8819 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-07/0.008764, allocations: 4 kB / 0.8819 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.837e-05/0.008802, allocations: 8 kB / 0.882 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.008804, allocations: 0 / 0.882 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.008814, allocations: 3.984 kB / 0.882 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.008815, allocations: 0 / 0.882 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.008817, allocations: 4 kB / 0.882 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001653/0.008982, allocations: 183.3 kB / 0.8821 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.075e-05/0.008993, allocations: 7.953 kB / 0.8821 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.941e-05/0.009012, allocations: 4 kB / 0.8821 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.928e-05/0.009061, allocations: 15.98 kB / 0.8822 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.712e-05/0.009118, allocations: 3.984 kB / 0.8822 GB, free: 2.391 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.009124, allocations: 8.062 kB / 0.8822 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.413e-05/0.009178, allocations: 105.9 kB / 0.8823 GB, free: 2.281 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7.1e-08/0.009178, allocations: 0 / 0.8823 GB, free: 2.281 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001622/0.00934, allocations: 15.95 kB / 0.8823 GB, free: 2.266 MB / 0.8386 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.131e-05/0.009432, allocations: 99.25 kB / 0.8824 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000152/0.009584, allocations: 55.97 kB / 0.8824 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.009585, allocations: 0 / 0.8824 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.558e-05/0.009631, allocations: 27.92 kB / 0.8825 GB, free: 2.074 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002043/0.009835, allocations: 19.86 kB / 0.8825 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003267/0.01016, allocations: 169.2 kB / 0.8826 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.244e-05/0.01022, allocations: 79.59 kB / 0.8827 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.254e-05/0.01026, allocations: 11.98 kB / 0.8827 GB, free: 1.754 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.509e-05/0.01029, allocations: 16.48 kB / 0.8828 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of SimCode: time 4.51e-07/0.01029, allocations: 0 / 0.8828 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of Templates: time 0.002256/0.01255, allocations: 0.9264 MB / 0.8837 GB, free: 0.8633 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch.sim & ./Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch -abortSlowSimulation -alarm=800 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch.pipe 2>&1) [Timeout 800] [Calling sys.exit(0), Time elapsed: 4.909847140312195]