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.599/1.599, allocations: 288.4 MB / 303.7 MB, free: 8.137 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.0009462/0.0009461, allocations: 179.1 kB / 372.3 MB, free: 10.1 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.337/1.337, allocations: 205.4 MB / 0.631 GB, free: 9.887 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.0007388/0.0007388, allocations: 102.2 kB / 0.7444 GB, free: 5.773 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003709/0.000371, allocations: 15.91 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1799/0.1803, allocations: 115.3 MB / 0.9801 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch): time 0.001532/0.1818, allocations: 1.37 MB / 0.9815 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0006092/0.1825, allocations: 459.9 kB / 0.9819 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.013e-05/0.1825, allocations: 4 kB / 0.9819 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.726e-05/0.1826, allocations: 7.922 kB / 0.9819 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.76e-05/0.1826, allocations: 15.86 kB / 0.9819 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001437/0.1828, allocations: 23.97 kB / 0.982 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.227e-05/0.1829, allocations: 75.66 kB / 0.982 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.629e-05/0.183, allocations: 23.98 kB / 0.9821 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.876e-05/0.1831, allocations: 35.84 kB / 0.9821 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.509e-05/0.1832, allocations: 23.86 kB / 0.9821 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.1832, allocations: 4 kB / 0.9821 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.103e-05/0.1832, allocations: 0 / 0.9821 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.412e-05/0.1832, allocations: 11.98 kB / 0.9821 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.888e-05/0.1833, allocations: 53.5 kB / 0.9822 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.947e-05/0.1833, allocations: 60.09 kB / 0.9822 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1833, allocations: 0 / 0.9822 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1834, allocations: 0 / 0.9822 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.1834, allocations: 0 / 0.9822 GB, free: 25.15 MB / 0.6198 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.000362/0.1837, allocations: 383.3 kB / 0.9826 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.905e-05/0.1838, allocations: 8.031 kB / 0.9826 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.292e-05/0.1838, allocations: 8.844 kB / 0.9826 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.255e-05/0.1839, allocations: 180.1 kB / 0.9828 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.1839, allocations: 12.31 kB / 0.9828 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.1839, allocations: 4.375 kB / 0.9828 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001758/0.1841, allocations: 99.69 kB / 0.9829 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.583e-06/0.1841, allocations: 0 / 0.9829 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.1842, allocations: 0 / 0.9829 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.1842, allocations: 3.938 kB / 0.9829 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001505/0.1843, allocations: 67.89 kB / 0.983 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003946/0.1847, allocations: 324.7 kB / 0.9833 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.1849, allocations: 62.58 kB / 0.9833 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.27e-05/0.1849, allocations: 32.94 kB / 0.9834 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.273e-05/0.185, allocations: 3.984 kB / 0.9834 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.294e-05/0.185, allocations: 34.56 kB / 0.9834 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.533e-06/0.185, allocations: 4 kB / 0.9834 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0002982/0.1853, allocations: 109.6 kB / 0.9835 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.341e-05/0.1853, allocations: 77.11 kB / 0.9836 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.907e-05/0.1854, allocations: 129.2 kB / 0.9837 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.1854, allocations: 33.7 kB / 0.9837 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.28e-05/0.1855, allocations: 103.9 kB / 0.9838 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.446e-05/0.1855, allocations: 11.8 kB / 0.9839 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-06/0.1855, allocations: 3.938 kB / 0.9839 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.086e-05/0.1855, allocations: 322.8 kB / 0.9842 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.505e-05/0.1856, allocations: 27.98 kB / 0.9842 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.619e-05/0.1857, allocations: 53.69 kB / 0.9842 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000124/0.1858, allocations: 44.84 kB / 0.9843 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1858, allocations: 4 kB / 0.9843 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001739/0.186, allocations: 101.6 kB / 0.9844 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.186, allocations: 4 kB / 0.9844 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.186, allocations: 0 / 0.9844 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.1861, allocations: 0 / 0.9844 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.464e-05/0.1862, allocations: 15.92 kB / 0.9844 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.1862, allocations: 4 kB / 0.9844 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.865e-05/0.1863, allocations: 15.98 kB / 0.9844 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.1863, allocations: 8.125 kB / 0.9844 GB, free: 22.66 MB / 0.6198 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 6.371e-05/0.1863, allocations: 121.8 kB / 0.9846 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.696e-05/0.1864, allocations: 7.906 kB / 0.9846 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.509e-05/0.1864, allocations: 8.25 kB / 0.9846 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1864, allocations: 0 / 0.9846 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1864, allocations: 3.984 kB / 0.9846 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1864, allocations: 4 kB / 0.9846 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001298/0.1866, allocations: 189.6 kB / 0.9848 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1866, allocations: 0 / 0.9848 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.967e-05/0.1866, allocations: 15.92 kB / 0.9848 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.1867, allocations: 4 kB / 0.9848 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.1867, allocations: 0 / 0.9848 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1867, allocations: 0 / 0.9848 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1867, allocations: 3.984 kB / 0.9848 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001899/0.1869, allocations: 191.3 kB / 0.985 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.083e-05/0.1869, allocations: 81.09 kB / 0.985 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.949e-05/0.1869, allocations: 0 / 0.985 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.187, allocations: 15.98 kB / 0.9851 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.545e-05/0.1871, allocations: 15.98 kB / 0.9851 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-06/0.1871, allocations: 0 / 0.9851 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.754e-05/0.1871, allocations: 111.1 kB / 0.9852 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1872, allocations: 0 / 0.9852 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002123/0.1874, allocations: 11.91 kB / 0.9852 GB, free: 21.8 MB / 0.6198 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 7.944e-05/0.1875, allocations: 103.2 kB / 0.9853 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000185/0.1876, allocations: 63.91 kB / 0.9853 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1877, allocations: 0 / 0.9853 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.908e-05/0.1877, allocations: 31.98 kB / 0.9854 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.188, allocations: 7.938 kB / 0.9854 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003044/0.1883, allocations: 198.9 kB / 0.9856 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001032/0.1884, allocations: 0.6887 MB / 0.9862 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.292e-05/0.1885, allocations: 11.97 kB / 0.9863 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.957e-05/0.1885, allocations: 11.44 kB / 0.9863 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of SimCode: time 2.41e-07/0.1885, allocations: 4 kB / 0.9863 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of Templates: time 0.002374/0.1909, allocations: 0.7284 MB / 0.987 GB, free: 19.94 MB / 0.6198 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)