Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005153/0.005153, allocations: 101.7 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 200.2 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.246/1.246, allocations: 205.1 MB / 222.5 MB, free: 4.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.356/1.356, allocations: 251.7 MB / 0.5094 GB, free: 2.941 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 70.23 kB / 0.7258 GB, free: 9.035 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1746/0.176, allocations: 104.7 MB / 0.828 GB, free: 216 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV): time 0.003829/0.1798, allocations: 3.277 MB / 0.8312 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001677/0.1815, allocations: 1.124 MB / 0.8323 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002255/0.1818, allocations: 19.88 kB / 0.8323 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002587/0.182, allocations: 106.9 kB / 0.8324 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001734/0.1822, allocations: 87.14 kB / 0.8325 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003964/0.1826, allocations: 259.6 kB / 0.8328 GB, free: 11.31 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0005347/0.1832, allocations: 0.6996 MB / 0.8335 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000396/0.1836, allocations: 340.4 kB / 0.8338 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002192/0.1838, allocations: 235 kB / 0.834 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001876/0.184, allocations: 250.6 kB / 0.8342 GB, free: 9.797 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.332e-05/0.1841, allocations: 76 kB / 0.8343 GB, free: 9.723 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 6.368e-05/0.1842, allocations: 76 kB / 0.8344 GB, free: 9.648 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.018e-05/0.1843, allocations: 143.5 kB / 0.8345 GB, free: 9.508 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001754/0.1844, allocations: 298.4 kB / 0.8348 GB, free: 9.215 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005816/0.185, allocations: 0.8642 MB / 0.8357 GB, free: 8.348 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.185, allocations: 0 / 0.8357 GB, free: 8.348 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.136e-06/0.185, allocations: 0 / 0.8357 GB, free: 8.348 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.755e-06/0.1851, allocations: 3.938 kB / 0.8357 GB, free: 8.344 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.001219/0.1863, allocations: 0.8921 MB / 0.8365 GB, free: 7.402 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.1863, allocations: 12.03 kB / 0.8365 GB, free: 7.391 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.383e-05/0.1864, allocations: 68.09 kB / 0.8366 GB, free: 7.324 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005541/0.187, allocations: 466.8 kB / 0.8371 GB, free: 6.828 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.763e-05/0.187, allocations: 33.38 kB / 0.8371 GB, free: 6.797 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.297e-05/0.1871, allocations: 48.38 kB / 0.8371 GB, free: 6.75 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007666/0.1879, allocations: 0.5065 MB / 0.8376 GB, free: 6.215 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.1879, allocations: 0 / 0.8376 GB, free: 6.215 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.605e-05/0.1879, allocations: 20 kB / 0.8376 GB, free: 6.195 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.1879, allocations: 8 kB / 0.8377 GB, free: 6.188 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007536/0.1887, allocations: 395.7 kB / 0.838 GB, free: 5.805 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002067/0.1908, allocations: 2.014 MB / 0.84 GB, free: 3.703 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007403/0.1915, allocations: 351.5 kB / 0.8403 GB, free: 3.352 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003434/0.1919, allocations: 185.2 kB / 0.8405 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.047e-05/0.1919, allocations: 4.234 kB / 0.8405 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.1919, allocations: 34.8 kB / 0.8405 GB, free: 3.121 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=27): time 1.493e-06/0.192, allocations: 0 / 0.8405 GB, free: 3.121 MB / 0.6544 GB Notification: Performance of matching and sorting (n=27): time 0.0009674/0.1929, allocations: 438.3 kB / 0.841 GB, free: 2.688 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.15e-05/0.193, allocations: 106.8 kB / 0.8411 GB, free: 2.559 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004928/0.1935, allocations: 0.502 MB / 0.8416 GB, free: 2.043 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.642e-05/0.1935, allocations: 29.7 kB / 0.8416 GB, free: 2.008 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001774/0.1937, allocations: 279.9 kB / 0.8419 GB, free: 1.73 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 6.446e-05/0.1938, allocations: 98.72 kB / 0.8419 GB, free: 1.633 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.819e-05/0.1939, allocations: 66.02 kB / 0.842 GB, free: 1.559 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.194, allocations: 366.7 kB / 0.8424 GB, free: 1.191 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003085/0.1943, allocations: 138.1 kB / 0.8425 GB, free: 1.055 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000341/0.1947, allocations: 209 kB / 0.8427 GB, free: 0.8242 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005956/0.1953, allocations: 320.5 kB / 0.843 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1953, allocations: 0 / 0.843 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007441/0.196, allocations: 424.5 kB / 0.8434 GB, free: 76 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.196, allocations: 4 kB / 0.8434 GB, free: 72 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.1961, allocations: 0 / 0.8434 GB, free: 72 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.1961, allocations: 4 kB / 0.8434 GB, free: 68 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003287/0.1964, allocations: 75.94 kB / 0.8435 GB, free: 15.99 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/0.1964, allocations: 7.984 kB / 0.8435 GB, free: 15.98 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002542/0.1967, allocations: 67.56 kB / 0.8436 GB, free: 15.92 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.213e-05/0.1967, allocations: 12 kB / 0.8436 GB, free: 15.91 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003366/0.1971, allocations: 254.4 kB / 0.8438 GB, free: 15.66 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002538/0.1973, allocations: 192.5 kB / 0.844 GB, free: 15.44 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004308/0.1978, allocations: 260.3 kB / 0.8442 GB, free: 15.17 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.353e-06/0.1978, allocations: 4 kB / 0.8442 GB, free: 15.17 MB / 0.67 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0005718/0.1983, allocations: 364.6 kB / 0.8446 GB, free: 14.8 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 7.955e-06/0.1984, allocations: 8 kB / 0.8446 GB, free: 14.8 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.964e-06/0.1984, allocations: 3.938 kB / 0.8446 GB, free: 14.79 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.289e-06/0.1984, allocations: 4 kB / 0.8446 GB, free: 14.79 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002489/0.1986, allocations: 71.97 kB / 0.8447 GB, free: 14.72 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.1986, allocations: 3.984 kB / 0.8447 GB, free: 14.71 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002172/0.1989, allocations: 43.73 kB / 0.8447 GB, free: 14.67 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.775e-05/0.1989, allocations: 11.98 kB / 0.8447 GB, free: 14.66 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (vavBoxCon.conCoo.I.trigger_internal,vavBoxCon.conHea.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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 0.0001135/0.199, allocations: 208.2 kB / 0.8449 GB, free: 14.45 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.885e-05/0.1991, allocations: 47.42 kB / 0.845 GB, free: 14.4 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007244/0.1998, allocations: 358.4 kB / 0.8453 GB, free: 14.05 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.1998, allocations: 4 kB / 0.8453 GB, free: 14.04 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.1998, allocations: 0 / 0.8453 GB, free: 14.04 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.1998, allocations: 0 / 0.8453 GB, free: 14.04 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004686/0.2003, allocations: 0.5166 MB / 0.8458 GB, free: 13.48 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.2003, allocations: 0 / 0.8458 GB, free: 13.48 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002758/0.2006, allocations: 67.89 kB / 0.8459 GB, free: 13.41 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.2006, allocations: 0 / 0.8459 GB, free: 13.41 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.14e-05/0.2006, allocations: 8 kB / 0.8459 GB, free: 13.4 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.2007, allocations: 0 / 0.8459 GB, free: 13.4 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2007, allocations: 0 / 0.8459 GB, free: 13.4 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009894/0.2016, allocations: 0.5896 MB / 0.8465 GB, free: 12.8 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.2018, allocations: 136.4 kB / 0.8466 GB, free: 12.64 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.848e-05/0.2018, allocations: 8 kB / 0.8466 GB, free: 12.64 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002285/0.202, allocations: 23.97 kB / 0.8466 GB, free: 12.61 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.001e-05/0.2021, allocations: 24.03 kB / 0.8467 GB, free: 12.59 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/0.2021, allocations: 12 kB / 0.8467 GB, free: 12.58 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0003467/0.2025, allocations: 358.9 kB / 0.847 GB, free: 12.23 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2025, allocations: 0 / 0.847 GB, free: 12.23 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0004378/0.2029, allocations: 151.4 kB / 0.8472 GB, free: 12.08 MB / 0.67 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 28 * 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 0.0001036/0.203, allocations: 103.2 kB / 0.8473 GB, free: 11.97 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0009378/0.204, allocations: 472.7 kB / 0.8477 GB, free: 11.51 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.204, allocations: 0 / 0.8477 GB, free: 11.51 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0002967/0.2043, allocations: 156.3 kB / 0.8479 GB, free: 11.36 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005572/0.2049, allocations: 111.3 kB / 0.848 GB, free: 11.26 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001188/0.2061, allocations: 0.8242 MB / 0.8488 GB, free: 10.4 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003134/0.2064, allocations: 0.8425 MB / 0.8496 GB, free: 9.531 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0001881/0.2066, allocations: 63.41 kB / 0.8496 GB, free: 9.465 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.256e-05/0.2067, allocations: 43.36 kB / 0.8497 GB, free: 9.422 MB / 0.67 GB Notification: Performance of SimCode: time 2.2e-07/0.2067, allocations: 0 / 0.8497 GB, free: 9.422 MB / 0.67 GB Notification: Performance of Templates: time 0.008246/0.2149, allocations: 4.99 MB / 0.8546 GB, free: 4.488 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.sim & ./Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe 2>&1)