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.005306/0.005306, allocations: 103.9 kB / 15.74 MB, free: 5.953 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.001177/0.001177, allocations: 188.9 kB / 16.67 MB, free: 5.883 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.226/1.226, allocations: 205.1 MB / 222.6 MB, free: 4.359 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.339/1.339, allocations: 251.7 MB / 0.5094 GB, free: 3.035 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.001321/0.001321, allocations: 67.91 kB / 0.7258 GB, free: 9.016 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1795, allocations: 104.7 MB / 0.828 GB, free: 212 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV): time 0.003709/0.1832, allocations: 3.285 MB / 0.8312 GB, free: 12.9 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00169/0.1849, allocations: 1.135 MB / 0.8323 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002253/0.1852, allocations: 11.94 kB / 0.8323 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002581/0.1854, allocations: 110.9 kB / 0.8325 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001832/0.1856, allocations: 91.14 kB / 0.8325 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003943/0.186, allocations: 259.6 kB / 0.8328 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0005089/0.1866, allocations: 0.6958 MB / 0.8335 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004001/0.187, allocations: 340.4 kB / 0.8338 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002093/0.1872, allocations: 231 kB / 0.834 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001861/0.1874, allocations: 258.6 kB / 0.8343 GB, free: 9.773 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.367e-05/0.1875, allocations: 76 kB / 0.8343 GB, free: 9.699 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 6.106e-05/0.1875, allocations: 76 kB / 0.8344 GB, free: 9.625 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.113e-05/0.1876, allocations: 147.5 kB / 0.8345 GB, free: 9.48 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001743/0.1878, allocations: 290.4 kB / 0.8348 GB, free: 9.195 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005857/0.1884, allocations: 0.8681 MB / 0.8357 GB, free: 8.324 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1884, allocations: 0 / 0.8357 GB, free: 8.324 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.263e-06/0.1884, allocations: 0 / 0.8357 GB, free: 8.324 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.1884, allocations: 0 / 0.8357 GB, free: 8.324 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.00117/0.1896, allocations: 0.8985 MB / 0.8365 GB, free: 7.379 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.1896, allocations: 16.03 kB / 0.8366 GB, free: 7.363 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.711e-05/0.1897, allocations: 68.09 kB / 0.8366 GB, free: 7.297 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005429/0.1903, allocations: 458.8 kB / 0.8371 GB, free: 6.809 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.343e-05/0.1903, allocations: 37.38 kB / 0.8371 GB, free: 6.773 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.896e-05/0.1904, allocations: 40.38 kB / 0.8371 GB, free: 6.734 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007252/0.1911, allocations: 0.5104 MB / 0.8376 GB, free: 6.195 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.1911, allocations: 0 / 0.8376 GB, free: 6.195 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.512e-05/0.1912, allocations: 20 kB / 0.8377 GB, free: 6.176 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.1912, allocations: 12 kB / 0.8377 GB, free: 6.164 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007035/0.1919, allocations: 399.6 kB / 0.838 GB, free: 5.777 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001976/0.1939, allocations: 2.01 MB / 0.84 GB, free: 3.68 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006829/0.1946, allocations: 355.5 kB / 0.8404 GB, free: 3.324 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003094/0.1949, allocations: 173.2 kB / 0.8405 GB, free: 3.152 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.91e-05/0.1949, allocations: 8.219 kB / 0.8405 GB, free: 3.145 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.195, allocations: 42.8 kB / 0.8406 GB, free: 3.094 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=27): time 1.243e-06/0.195, allocations: 0 / 0.8406 GB, free: 3.094 MB / 0.6544 GB Notification: Performance of matching and sorting (n=27): time 0.0008743/0.1958, allocations: 442.2 kB / 0.841 GB, free: 2.656 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.293e-05/0.1959, allocations: 106.8 kB / 0.8411 GB, free: 2.527 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004616/0.1964, allocations: 0.502 MB / 0.8416 GB, free: 2.012 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/0.1964, allocations: 33.7 kB / 0.8416 GB, free: 1.973 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001634/0.1966, allocations: 279.9 kB / 0.8419 GB, free: 1.695 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.84e-05/0.1966, allocations: 94.72 kB / 0.842 GB, free: 1.602 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.566e-05/0.1967, allocations: 66.02 kB / 0.842 GB, free: 1.527 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.1969, allocations: 354.8 kB / 0.8424 GB, free: 1.172 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000284/0.1971, allocations: 146.1 kB / 0.8425 GB, free: 1.027 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003094/0.1975, allocations: 208.9 kB / 0.8427 GB, free: 0.7969 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000543/0.198, allocations: 320.5 kB / 0.843 GB, free: 480 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.198, allocations: 4 kB / 0.843 GB, free: 476 kB / 0.6544 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006893/0.1987, allocations: 416.5 kB / 0.8434 GB, free: 52 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.1987, allocations: 4 kB / 0.8434 GB, free: 48 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.1988, allocations: 0 / 0.8434 GB, free: 48 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.1988, allocations: 12.06 kB / 0.8434 GB, free: 36 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000308/0.1991, allocations: 75.89 kB / 0.8435 GB, free: 15.96 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.1991, allocations: 4 kB / 0.8435 GB, free: 15.96 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002282/0.1993, allocations: 63.48 kB / 0.8436 GB, free: 15.89 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.287e-05/0.1994, allocations: 12 kB / 0.8436 GB, free: 15.88 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003064/0.1997, allocations: 242.5 kB / 0.8438 GB, free: 15.64 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002347/0.1999, allocations: 192.5 kB / 0.844 GB, free: 15.43 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004022/0.2003, allocations: 268.3 kB / 0.8442 GB, free: 15.15 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.202e-06/0.2003, allocations: 0 / 0.8442 GB, free: 15.15 MB / 0.67 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0005341/0.2009, allocations: 364.7 kB / 0.8446 GB, free: 14.79 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 8.947e-06/0.2009, allocations: 12.03 kB / 0.8446 GB, free: 14.78 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.895e-06/0.2009, allocations: 0 / 0.8446 GB, free: 14.78 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.496e-06/0.2009, allocations: 7.938 kB / 0.8446 GB, free: 14.77 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002377/0.2012, allocations: 67.91 kB / 0.8447 GB, free: 14.7 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/0.2012, allocations: 0 / 0.8447 GB, free: 14.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002006/0.2014, allocations: 43.72 kB / 0.8447 GB, free: 14.66 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.903e-05/0.2014, allocations: 15.98 kB / 0.8447 GB, free: 14.64 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.0001036/0.2015, allocations: 208 kB / 0.8449 GB, free: 14.43 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.976e-05/0.2016, allocations: 47.44 kB / 0.845 GB, free: 14.39 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006667/0.2023, allocations: 358.3 kB / 0.8453 GB, free: 14.03 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/0.2023, allocations: 7.984 kB / 0.8453 GB, free: 14.02 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.2023, allocations: 0 / 0.8453 GB, free: 14.02 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.2023, allocations: 4 kB / 0.8453 GB, free: 14.02 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004507/0.2027, allocations: 0.5127 MB / 0.8458 GB, free: 13.46 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.2028, allocations: 0 / 0.8458 GB, free: 13.46 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002602/0.203, allocations: 63.89 kB / 0.8459 GB, free: 13.39 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.203, allocations: 0 / 0.8459 GB, free: 13.39 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.161e-05/0.2031, allocations: 8 kB / 0.8459 GB, free: 13.39 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.2031, allocations: 0 / 0.8459 GB, free: 13.39 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.2031, allocations: 4 kB / 0.8459 GB, free: 13.38 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008971/0.204, allocations: 0.5897 MB / 0.8465 GB, free: 12.78 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 8.262e-05/0.2041, allocations: 132.4 kB / 0.8466 GB, free: 12.63 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.109e-05/0.2041, allocations: 8.062 kB / 0.8466 GB, free: 12.62 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002077/0.2043, allocations: 28.06 kB / 0.8466 GB, free: 12.59 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.877e-05/0.2044, allocations: 23.95 kB / 0.8467 GB, free: 12.57 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-05/0.2044, allocations: 11.94 kB / 0.8467 GB, free: 12.56 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0003315/0.2047, allocations: 354.9 kB / 0.847 GB, free: 12.21 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2047, allocations: 0 / 0.847 GB, free: 12.21 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0004225/0.2052, allocations: 155.4 kB / 0.8472 GB, free: 12.06 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.0001078/0.2053, allocations: 107.2 kB / 0.8473 GB, free: 11.95 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0008463/0.2061, allocations: 477.1 kB / 0.8477 GB, free: 11.48 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2062, allocations: 0 / 0.8477 GB, free: 11.48 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0002636/0.2064, allocations: 143.9 kB / 0.8479 GB, free: 11.34 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005268/0.207, allocations: 129 kB / 0.848 GB, free: 11.23 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.2081, allocations: 0.8125 MB / 0.8488 GB, free: 10.38 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/0.2084, allocations: 0.8463 MB / 0.8496 GB, free: 9.508 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0001759/0.2086, allocations: 59.44 kB / 0.8497 GB, free: 9.445 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.653e-05/0.2087, allocations: 43.42 kB / 0.8497 GB, free: 9.402 MB / 0.67 GB Notification: Performance of SimCode: time 2.2e-07/0.2087, allocations: 3.938 kB / 0.8497 GB, free: 9.398 MB / 0.67 GB Notification: Performance of Templates: time 0.007898/0.2166, allocations: 4.999 MB / 0.8546 GB, free: 4.457 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)