Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Examples.ChillerPlant.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.0009319/0.0009319, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.0009016/0.0009016, allocations: 161 kB / 24.17 MB, free: 332 kB / 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.9007/0.9007, allocations: 177.2 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.907/1.907, allocations: 389.6 MB / 0.6354 GB, free: 12.29 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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.BaseClasses.Controls.Examples.ChillerSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 0.7752 GB, free: 5.434 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.13e-05/1.26e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.43 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch): time 0.001851/0.001863, allocations: 1.743 MB / 0.7769 GB, free: 3.699 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.000617/0.00248, allocations: 0.5135 MB / 0.7774 GB, free: 3.188 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.286e-05/0.002533, allocations: 4 kB / 0.7774 GB, free: 3.184 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.617e-05/0.002559, allocations: 8.781 kB / 0.7774 GB, free: 3.176 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.671e-05/0.002636, allocations: 19.62 kB / 0.7774 GB, free: 3.164 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001904/0.002826, allocations: 44.58 kB / 0.7774 GB, free: 3.121 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001229/0.002949, allocations: 92.62 kB / 0.7775 GB, free: 3.035 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.754e-05/0.003027, allocations: 29.11 kB / 0.7776 GB, free: 3.004 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000114/0.003141, allocations: 55.88 kB / 0.7776 GB, free: 2.949 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.225e-05/0.003193, allocations: 24.59 kB / 0.7776 GB, free: 2.926 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.003209, allocations: 8 kB / 0.7776 GB, free: 2.918 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 3.417e-05/0.003243, allocations: 9.719 kB / 0.7776 GB, free: 2.91 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.855e-05/0.003262, allocations: 23.91 kB / 0.7777 GB, free: 2.887 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.212e-05/0.003284, allocations: 19.94 kB / 0.7777 GB, free: 2.867 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001021/0.003386, allocations: 71.67 kB / 0.7778 GB, free: 2.797 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.003388, allocations: 0 / 0.7778 GB, free: 2.797 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.11e-07/0.003388, allocations: 0.8125 kB / 0.7778 GB, free: 2.797 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.605e-06/0.003391, allocations: 4 kB / 0.7778 GB, free: 2.793 MB / 0.7292 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.0003035/0.003694, allocations: 289.7 kB / 0.778 GB, free: 2.488 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.817e-05/0.003723, allocations: 12.75 kB / 0.778 GB, free: 2.477 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001174/0.00384, allocations: 28.06 kB / 0.7781 GB, free: 2.453 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.003955, allocations: 125.6 kB / 0.7782 GB, free: 2.305 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.652e-06/0.003962, allocations: 384 / 0.7782 GB, free: 2.305 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.003973, allocations: 8.375 kB / 0.7782 GB, free: 2.297 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.00409, allocations: 122.2 kB / 0.7783 GB, free: 2.156 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.701e-06/0.004096, allocations: 192 / 0.7783 GB, free: 2.156 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.004104, allocations: 7.109 kB / 0.7783 GB, free: 2.152 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.004109, allocations: 3.938 kB / 0.7783 GB, free: 2.148 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.787e-05/0.004137, allocations: 8 kB / 0.7783 GB, free: 2.141 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002173/0.004355, allocations: 188.2 kB / 0.7785 GB, free: 1.941 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.356e-05/0.004408, allocations: 26.58 kB / 0.7785 GB, free: 1.906 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.611e-05/0.004424, allocations: 14.67 kB / 0.7786 GB, free: 1.891 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.237e-05/0.004437, allocations: 7.969 kB / 0.7786 GB, free: 1.883 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.975e-05/0.004456, allocations: 34.64 kB / 0.7786 GB, free: 1.84 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 7.81e-07/0.004457, allocations: 0 / 0.7786 GB, free: 1.84 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4): time 0.0001005/0.004558, allocations: 45.69 kB / 0.7786 GB, free: 1.789 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.34e-05/0.004591, allocations: 78.98 kB / 0.7787 GB, free: 1.695 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.96e-05/0.004661, allocations: 133.3 kB / 0.7788 GB, free: 1.555 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.004678, allocations: 33.7 kB / 0.7789 GB, free: 1.516 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.444e-05/0.004712, allocations: 96.06 kB / 0.779 GB, free: 1.418 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.753e-05/0.00473, allocations: 19.77 kB / 0.779 GB, free: 1.398 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.779e-05/0.004758, allocations: 26.39 kB / 0.779 GB, free: 1.367 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.068e-05/0.004829, allocations: 314.8 kB / 0.7793 GB, free: 1.051 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.336e-05/0.004842, allocations: 8.766 kB / 0.7793 GB, free: 1.043 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.637e-05/0.004868, allocations: 47.36 kB / 0.7794 GB, free: 0.9844 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.023e-05/0.004898, allocations: 17.94 kB / 0.7794 GB, free: 0.9648 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.0049, allocations: 0 / 0.7794 GB, free: 0.9648 MB / 0.7292 GB Notification: Performance of matching and sorting (n=5) (initialization): time 5.359e-05/0.004953, allocations: 54.44 kB / 0.7794 GB, free: 0.9062 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.248e-06/0.004963, allocations: 4 kB / 0.7794 GB, free: 0.9023 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.076e-06/0.004966, allocations: 192 / 0.7794 GB, free: 0.9023 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.004976, allocations: 0.5312 kB / 0.7794 GB, free: 0.9023 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.085e-05/0.005037, allocations: 20.86 kB / 0.7795 GB, free: 0.8828 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.386e-06/0.00504, allocations: 0 / 0.7795 GB, free: 0.8828 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.697e-05/0.005067, allocations: 4.5 kB / 0.7795 GB, free: 0.8789 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.005072, allocations: 4.859 kB / 0.7795 GB, free: 0.875 MB / 0.7292 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 5.553e-05/0.005128, allocations: 117.8 kB / 0.7796 GB, free: 0.75 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.649e-05/0.005144, allocations: 9.375 kB / 0.7796 GB, free: 0.7422 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.925e-05/0.005163, allocations: 12.34 kB / 0.7796 GB, free: 0.7305 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.005166, allocations: 3.984 kB / 0.7796 GB, free: 0.7266 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.42e-07/0.005167, allocations: 0 / 0.7796 GB, free: 0.7266 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.005169, allocations: 0.6562 kB / 0.7796 GB, free: 0.7266 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.699e-05/0.005256, allocations: 77.88 kB / 0.7797 GB, free: 0.6328 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.005257, allocations: 0.875 kB / 0.7797 GB, free: 0.6328 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.27e-05/0.00528, allocations: 11.98 kB / 0.7797 GB, free: 0.6211 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.005281, allocations: 0.8438 kB / 0.7797 GB, free: 0.6211 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-06/0.005287, allocations: 3.938 kB / 0.7797 GB, free: 0.6172 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.62e-07/0.005288, allocations: 0.875 kB / 0.7797 GB, free: 0.6172 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.41e-07/0.005288, allocations: 0 / 0.7797 GB, free: 0.6172 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.137e-05/0.00536, allocations: 144.2 kB / 0.7798 GB, free: 472 kB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.508e-06/0.005369, allocations: 15.94 kB / 0.7798 GB, free: 456 kB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.005385, allocations: 4.531 kB / 0.7799 GB, free: 452 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.995e-05/0.005425, allocations: 4 kB / 0.7799 GB, free: 448 kB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.211e-05/0.005457, allocations: 17.14 kB / 0.7799 GB, free: 432 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-06/0.005459, allocations: 0 / 0.7799 GB, free: 432 kB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.813e-05/0.005478, allocations: 28.27 kB / 0.7799 GB, free: 404 kB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.005478, allocations: 0 / 0.7799 GB, free: 404 kB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001257/0.005603, allocations: 19.88 kB / 0.7799 GB, free: 384 kB / 0.7292 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 6.408e-05/0.005667, allocations: 85.47 kB / 0.78 GB, free: 292 kB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.272e-05/0.00573, allocations: 29.62 kB / 0.78 GB, free: 260 kB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.005732, allocations: 0 / 0.78 GB, free: 260 kB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.983e-05/0.005752, allocations: 13.8 kB / 0.78 GB, free: 244 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001098/0.005861, allocations: 11.98 kB / 0.7801 GB, free: 232 kB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003872/0.006249, allocations: 183.5 kB / 0.7802 GB, free: 24 kB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.079e-05/0.006289, allocations: 55.36 kB / 0.7803 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.518e-05/0.006315, allocations: 7.984 kB / 0.7803 GB, free: 15.94 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.952e-05/0.006364, allocations: 56.41 kB / 0.7803 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of SimCode: time 3.4e-07/0.006365, allocations: 3.938 kB / 0.7803 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of Templates: time 0.00227/0.008635, allocations: 0.9617 MB / 0.7813 GB, free: 14.97 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; mkfifo Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; head -c 1048576 < Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe >> ../files/Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.sim & ./Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.634522848762572]