Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV,fileNamePrefix="Buildings_8_0_0_Buildings_Examples_VAVReheat_Controls_Examples_RoomVAV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV,fileNamePrefix="Buildings_8_0_0_Buildings_Examples_VAVReheat_Controls_Examples_RoomVAV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.487/1.487, allocations: 287.4 MB / 302.6 MB, free: 8.227 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.001101/0.001101, allocations: 178.1 kB / 371.1 MB, free: 10.82 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.321/1.321, allocations: 205.4 MB / 0.6298 GB, free: 10.55 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.0007445/0.0007445, allocations: 98.28 kB / 0.7431 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003489/0.0003491, allocations: 14.53 kB / 0.8662 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.1674, allocations: 115.3 MB / 0.9787 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV): time 0.002419/0.1698, allocations: 2.665 MB / 0.9813 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001217/0.1711, allocations: 0.7804 MB / 0.9821 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003578/0.1715, allocations: 15.94 kB / 0.9821 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002332/0.1717, allocations: 67.31 kB / 0.9822 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002092/0.172, allocations: 51.52 kB / 0.9822 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003458/0.1723, allocations: 147.8 kB / 0.9824 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005123/0.1728, allocations: 0.6417 MB / 0.983 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004499/0.1733, allocations: 393.7 kB / 0.9834 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002209/0.1735, allocations: 159 kB / 0.9835 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001824/0.1737, allocations: 194.7 kB / 0.9837 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.23e-05/0.1738, allocations: 16 kB / 0.9837 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.038e-05/0.1738, allocations: 16 kB / 0.9837 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.165e-05/0.1739, allocations: 83.5 kB / 0.9838 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.665e-05/0.1739, allocations: 125.3 kB / 0.9839 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004014/0.1744, allocations: 0.7521 MB / 0.9847 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1744, allocations: 0 / 0.9847 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of FrontEnd: time 8.897e-06/0.1744, allocations: 4 kB / 0.9847 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.862e-05/0.1744, allocations: 0 / 0.9847 GB, free: 21.96 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.00118/0.1756, allocations: 0.8614 MB / 0.9855 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.1756, allocations: 8.031 kB / 0.9855 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001038/0.1757, allocations: 94.7 kB / 0.9856 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.612e-05/0.1758, allocations: 72.09 kB / 0.9857 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005256/0.1764, allocations: 491.1 kB / 0.9862 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.554e-05/0.1764, allocations: 45.62 kB / 0.9862 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.644e-05/0.1765, allocations: 52.38 kB / 0.9862 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008549/0.1774, allocations: 0.5618 MB / 0.9868 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.1774, allocations: 4 kB / 0.9868 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.748e-05/0.1774, allocations: 27.92 kB / 0.9868 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.481e-05/0.1774, allocations: 12 kB / 0.9868 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000818/0.1783, allocations: 447.7 kB / 0.9873 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002048/0.1803, allocations: 1.888 MB / 0.9891 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001178/0.1815, allocations: 0.557 MB / 0.9896 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003374/0.1819, allocations: 212.8 kB / 0.9899 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.714e-05/0.1819, allocations: 8 kB / 0.9899 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.1819, allocations: 38.5 kB / 0.9899 GB, free: 16.4 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=32): time 2.264e-06/0.1819, allocations: 4 kB / 0.9899 GB, free: 16.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=32): time 0.0009646/0.1829, allocations: 0.5164 MB / 0.9904 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/0.183, allocations: 114.8 kB / 0.9905 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004362/0.1834, allocations: 0.5108 MB / 0.991 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.64e-05/0.1834, allocations: 33.7 kB / 0.991 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001462/0.1836, allocations: 312.5 kB / 0.9913 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.387e-05/0.1836, allocations: 114.4 kB / 0.9915 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.477e-05/0.1837, allocations: 7.938 kB / 0.9915 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.65e-05/0.1837, allocations: 366.8 kB / 0.9918 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003053/0.184, allocations: 160.7 kB / 0.992 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003308/0.1844, allocations: 260.3 kB / 0.9922 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005978/0.185, allocations: 382.4 kB / 0.9926 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.185, allocations: 0 / 0.9926 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007468/0.1858, allocations: 487.9 kB / 0.993 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.908e-05/0.1858, allocations: 143.2 kB / 0.9932 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.1858, allocations: 4 kB / 0.9932 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.1858, allocations: 4 kB / 0.9932 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003152/0.1862, allocations: 91.88 kB / 0.9933 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.1862, allocations: 4 kB / 0.9933 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002877/0.1865, allocations: 87.48 kB / 0.9934 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.383e-05/0.1865, allocations: 19.94 kB / 0.9934 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.941e-06/0.1865, allocations: 4 kB / 0.9934 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005195/0.187, allocations: 331.5 kB / 0.9937 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.1871, allocations: 4 kB / 0.9937 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.457e-06/0.1871, allocations: 0 / 0.9937 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002545/0.1873, allocations: 91.98 kB / 0.9938 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.1873, allocations: 4 kB / 0.9938 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002321/0.1876, allocations: 71.5 kB / 0.9939 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.774e-05/0.1876, allocations: 12 kB / 0.9939 GB, free: 12.16 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.0001808/0.1878, allocations: 274.4 kB / 0.9941 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.274e-05/0.1879, allocations: 55.33 kB / 0.9942 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007267/0.1886, allocations: 433.3 kB / 0.9946 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.1886, allocations: 4 kB / 0.9946 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1886, allocations: 4 kB / 0.9946 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1886, allocations: 3.938 kB / 0.9946 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004471/0.1891, allocations: 0.5557 MB / 0.9952 GB, free: 10.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.1891, allocations: 0 / 0.9952 GB, free: 10.78 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002929/0.1894, allocations: 75.89 kB / 0.9952 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.1894, allocations: 0 / 0.9952 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.566e-05/0.1894, allocations: 15.92 kB / 0.9952 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.1894, allocations: 4 kB / 0.9952 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.1895, allocations: 0 / 0.9952 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.1905, allocations: 0.6899 MB / 0.9959 GB, free: 9.98 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.516e-05/0.1906, allocations: 140.2 kB / 0.9961 GB, free: 9.824 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.299e-05/0.1906, allocations: 12 kB / 0.9961 GB, free: 9.812 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002537/0.1909, allocations: 52.02 kB / 0.9961 GB, free: 9.762 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.645e-05/0.1909, allocations: 27.95 kB / 0.9961 GB, free: 9.734 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.876e-05/0.191, allocations: 11.94 kB / 0.9962 GB, free: 9.723 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003157/0.1913, allocations: 362.9 kB / 0.9965 GB, free: 9.371 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1913, allocations: 0 / 0.9965 GB, free: 9.371 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004402/0.1917, allocations: 175.3 kB / 0.9967 GB, free: 9.199 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 0.001162/0.1929, allocations: 1.243 MB / 0.9979 GB, free: 7.926 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009284/0.1939, allocations: 0.556 MB / 0.9984 GB, free: 7.371 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1939, allocations: 0 / 0.9984 GB, free: 7.371 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000296/0.1942, allocations: 187.8 kB / 0.9986 GB, free: 7.188 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000521/0.1947, allocations: 95.94 kB / 0.9987 GB, free: 7.098 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004104/0.1988, allocations: 3.094 MB / 1.002 GB, free: 3.934 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002171/0.199, allocations: 0.8588 MB / 1.003 GB, free: 3.043 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002322/0.1993, allocations: 68.16 kB / 1.003 GB, free: 2.977 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002227/0.1995, allocations: 207.3 kB / 1.003 GB, free: 2.773 MB / 0.6198 GB Notification: Performance of SimCode: time 4.31e-07/0.1995, allocations: 0 / 1.003 GB, free: 2.773 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9318/1.131, allocations: 9.544 MB / 1.012 GB, free: 9.414 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002236/1.132, allocations: 185.8 kB / 1.012 GB, free: 9.18 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.088/3.219, allocations: 8.062 kB / 1.012 GB, free: 9.172 MB / 0.6355 GB (rm -f Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Examples_VAVReheat_Controls_Examples_RoomVAV_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Examples_VAVReheat_Controls_Examples_RoomVAV.fmu > Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe 2>&1)