Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.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.VAVReheat.Controls.Examples.RoomVAV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV") translateModel(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.947/1.947, allocations: 288.4 MB / 303.6 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.001143/0.001143, allocations: 180.4 kB / 372.3 MB, free: 10.14 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.304/1.304, allocations: 205.4 MB / 0.631 GB, free: 9.898 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.0007687/0.0007687, allocations: 94.3 kB / 0.7444 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004067/0.0004068, allocations: 11.72 kB / 0.8675 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.1728, allocations: 115.3 MB / 0.9801 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV): time 0.002424/0.1753, allocations: 2.669 MB / 0.9827 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001023/0.1763, allocations: 0.7805 MB / 0.9835 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002059/0.1765, allocations: 11.94 kB / 0.9835 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001805/0.1767, allocations: 63.31 kB / 0.9836 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001553/0.1769, allocations: 59.5 kB / 0.9836 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003092/0.1772, allocations: 147.8 kB / 0.9838 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004122/0.1776, allocations: 0.6456 MB / 0.9844 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003905/0.178, allocations: 389.7 kB / 0.9848 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001676/0.1782, allocations: 159 kB / 0.9849 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000144/0.1784, allocations: 194.7 kB / 0.9851 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.269e-05/0.1784, allocations: 16 kB / 0.9851 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 3.379e-05/0.1785, allocations: 16 kB / 0.9851 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.173e-05/0.1785, allocations: 87.42 kB / 0.9852 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001192/0.1786, allocations: 248.2 kB / 0.9855 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003952/0.179, allocations: 0.7404 MB / 0.9862 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.179, allocations: 0 / 0.9862 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1791, allocations: 4 kB / 0.9862 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.879e-06/0.1791, allocations: 0 / 0.9862 GB, free: 21.12 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001113/0.1802, allocations: 0.873 MB / 0.987 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.1802, allocations: 12.03 kB / 0.9871 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.536e-05/0.1803, allocations: 72.09 kB / 0.9871 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004733/0.1808, allocations: 487.1 kB / 0.9876 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.1e-05/0.1808, allocations: 45.69 kB / 0.9876 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.685e-05/0.1809, allocations: 52.38 kB / 0.9877 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007852/0.1817, allocations: 0.562 MB / 0.9882 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.1817, allocations: 7.875 kB / 0.9882 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.822e-05/0.1818, allocations: 20 kB / 0.9883 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.1818, allocations: 12 kB / 0.9883 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008053/0.1826, allocations: 451.8 kB / 0.9887 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00201/0.1846, allocations: 1.88 MB / 0.9905 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001173/0.1858, allocations: 0.5497 MB / 0.9911 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004035/0.1862, allocations: 216.8 kB / 0.9913 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.36e-05/0.1863, allocations: 4 kB / 0.9913 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.1863, allocations: 42.55 kB / 0.9913 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=32): time 2.445e-06/0.1863, allocations: 0 / 0.9913 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of matching and sorting (n=32): time 0.001022/0.1873, allocations: 0.5241 MB / 0.9918 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/0.1874, allocations: 110.8 kB / 0.9919 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004462/0.1878, allocations: 0.5107 MB / 0.9924 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.5e-05/0.1879, allocations: 37.7 kB / 0.9925 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001476/0.188, allocations: 308 kB / 0.9928 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.494e-05/0.1881, allocations: 118.3 kB / 0.9929 GB, free: 14 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.462e-05/0.1881, allocations: 4 kB / 0.9929 GB, free: 14 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.556e-05/0.1882, allocations: 362.8 kB / 0.9932 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003172/0.1885, allocations: 164.7 kB / 0.9934 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003483/0.1888, allocations: 264 kB / 0.9936 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000604/0.1895, allocations: 382.4 kB / 0.994 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.1895, allocations: 4 kB / 0.994 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000794/0.1903, allocations: 488.1 kB / 0.9945 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.161e-05/0.1903, allocations: 143 kB / 0.9946 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.1903, allocations: 0 / 0.9946 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.1904, allocations: 4 kB / 0.9946 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003319/0.1907, allocations: 91.83 kB / 0.9947 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.1907, allocations: 7.984 kB / 0.9947 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002937/0.191, allocations: 91.55 kB / 0.9948 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.323e-05/0.191, allocations: 16 kB / 0.9948 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.13e-06/0.1911, allocations: 4 kB / 0.9948 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005277/0.1916, allocations: 335.5 kB / 0.9951 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-06/0.1916, allocations: 4.219 kB / 0.9951 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.717e-06/0.1916, allocations: 8 kB / 0.9951 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002701/0.1919, allocations: 79.89 kB / 0.9952 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.1919, allocations: 3.938 kB / 0.9952 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002316/0.1921, allocations: 71.56 kB / 0.9953 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.668e-05/0.1922, allocations: 12 kB / 0.9953 GB, free: 11.4 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 5 (vavBoxCon.conCoo.con1.y,vavBoxCon.conHea.con1.y,$PRE.vavBoxCon.hysWitHol.y,vavBoxCon.hysWitHol.y,vavBoxCon.greThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * 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 0.0001786/0.1923, allocations: 274.5 kB / 0.9956 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.056e-05/0.1924, allocations: 51.34 kB / 0.9956 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007457/0.1932, allocations: 429.5 kB / 0.996 GB, free: 10.65 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.1932, allocations: 11.88 kB / 0.996 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1932, allocations: 0 / 0.996 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.1932, allocations: 3.984 kB / 0.996 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004297/0.1936, allocations: 0.5596 MB / 0.9966 GB, free: 10.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1936, allocations: 0 / 0.9966 GB, free: 10.03 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003048/0.1939, allocations: 71.89 kB / 0.9967 GB, free: 9.957 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.194, allocations: 8 kB / 0.9967 GB, free: 9.949 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.183e-05/0.194, allocations: 4 kB / 0.9967 GB, free: 9.945 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.194, allocations: 7.938 kB / 0.9967 GB, free: 9.938 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.194, allocations: 0 / 0.9967 GB, free: 9.938 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001044/0.1951, allocations: 0.6938 MB / 0.9974 GB, free: 9.227 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.405e-05/0.1951, allocations: 132.4 kB / 0.9975 GB, free: 9.078 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.15e-05/0.1952, allocations: 8.062 kB / 0.9975 GB, free: 9.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000263/0.1955, allocations: 47.91 kB / 0.9975 GB, free: 9.023 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.289e-05/0.1955, allocations: 27.95 kB / 0.9976 GB, free: 8.996 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2e-05/0.1956, allocations: 15.98 kB / 0.9976 GB, free: 8.98 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003041/0.1959, allocations: 362.9 kB / 0.9979 GB, free: 8.629 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.7e-07/0.1959, allocations: 0 / 0.9979 GB, free: 8.629 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004491/0.1963, allocations: 175.3 kB / 0.9981 GB, free: 8.457 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (vavBoxCon.conHea.I.y,vavBoxCon.conCoo.I.y) * Number of discrete variables: 1 (vavBoxCon.hysWitHol.y) * Number of discrete states: 1 (vavBoxCon.hysWitHol.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 33 * 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 9.751e-05/0.1964, allocations: 119.1 kB / 0.9982 GB, free: 8.328 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009685/0.1974, allocations: 0.5549 MB / 0.9987 GB, free: 7.773 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1974, allocations: 0 / 0.9987 GB, free: 7.773 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003187/0.1977, allocations: 189.1 kB / 0.9989 GB, free: 7.59 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005814/0.1983, allocations: 102.2 kB / 0.999 GB, free: 7.496 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.1995, allocations: 1.066 MB / 1 GB, free: 6.402 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002145/0.1997, allocations: 0.8588 MB / 1.001 GB, free: 5.512 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002346/0.2, allocations: 64.17 kB / 1.001 GB, free: 5.449 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.2001, allocations: 39.42 kB / 1.001 GB, free: 5.41 MB / 0.6198 GB Notification: Performance of SimCode: time 2.41e-07/0.2001, allocations: 0 / 1.001 GB, free: 5.41 MB / 0.6198 GB Notification: Performance of Templates: time 0.008037/0.2081, allocations: 4.613 MB / 1.006 GB, free: 0.8398 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.makefile (rm -f Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.sim & ./Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe 2>&1)