Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV") translateModel(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001292/0.001292, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 196 kB / 16.64 MB, free: 6.453 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.337/1.337, allocations: 205.1 MB / 222.5 MB, free: 4.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.747/1.747, allocations: 292.3 MB / 0.549 GB, free: 12.74 MB / 462.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.001417/0.001417, allocations: 69.17 kB / 0.6723 GB, free: 25.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2021/0.2036, allocations: 114.6 MB / 0.7841 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV): time 0.004472/0.2081, allocations: 3.216 MB / 0.7873 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001601/0.2097, allocations: 0.8349 MB / 0.7881 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002787/0.21, allocations: 11.94 kB / 0.7881 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002744/0.2103, allocations: 98.92 kB / 0.7882 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002116/0.2106, allocations: 99.06 kB / 0.7883 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004492/0.211, allocations: 259.6 kB / 0.7885 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006182/0.2116, allocations: 0.7353 MB / 0.7893 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005736/0.2122, allocations: 413.7 kB / 0.7896 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002891/0.2125, allocations: 262.9 kB / 0.7899 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002853/0.2128, allocations: 294.4 kB / 0.7902 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001152/0.2129, allocations: 88 kB / 0.7903 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.442e-05/0.213, allocations: 88 kB / 0.7903 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001291/0.2132, allocations: 171.4 kB / 0.7905 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002459/0.2134, allocations: 338.2 kB / 0.7908 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008023/0.2142, allocations: 0.9693 MB / 0.7918 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.2142, allocations: 0 / 0.7918 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2142, allocations: 0 / 0.7918 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.621e-05/0.2143, allocations: 0 / 0.7918 GB, free: 4.879 MB / 0.6075 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.001593/0.2159, allocations: 0.9625 MB / 0.7927 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.2159, allocations: 12.03 kB / 0.7927 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001278/0.2161, allocations: 79.98 kB / 0.7928 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007648/0.2168, allocations: 499.1 kB / 0.7933 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.173e-05/0.2169, allocations: 37.69 kB / 0.7933 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.614e-05/0.217, allocations: 52.38 kB / 0.7934 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009395/0.2179, allocations: 0.5464 MB / 0.7939 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/0.2179, allocations: 7.922 kB / 0.7939 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.626e-05/0.218, allocations: 20 kB / 0.7939 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.642e-05/0.218, allocations: 12 kB / 0.7939 GB, free: 2.555 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008927/0.2189, allocations: 423.7 kB / 0.7943 GB, free: 2.141 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002373/0.2213, allocations: 1.845 MB / 0.7961 GB, free: 228 kB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001289/0.2226, allocations: 490.4 kB / 0.7966 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003799/0.223, allocations: 207.6 kB / 0.7968 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.365e-05/0.223, allocations: 4 kB / 0.7968 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.2231, allocations: 34.56 kB / 0.7968 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=32): time 1.794e-06/0.2231, allocations: 4 kB / 0.7969 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of matching and sorting (n=32): time 0.001107/0.2242, allocations: 498.3 kB / 0.7973 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.184e-05/0.2243, allocations: 110.8 kB / 0.7974 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005464/0.2248, allocations: 0.5146 MB / 0.7979 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.579e-05/0.2249, allocations: 33.7 kB / 0.798 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002368/0.2251, allocations: 316 kB / 0.7983 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 7.865e-05/0.2252, allocations: 106.9 kB / 0.7984 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000124/0.2253, allocations: 74.06 kB / 0.7984 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.2255, allocations: 362.8 kB / 0.7988 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003496/0.2258, allocations: 154.3 kB / 0.7989 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004053/0.2262, allocations: 252.3 kB / 0.7992 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006868/0.2269, allocations: 350.4 kB / 0.7995 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.2269, allocations: 0 / 0.7995 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008654/0.2278, allocations: 460.4 kB / 0.7999 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.2278, allocations: 11.94 kB / 0.8 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.2279, allocations: 0 / 0.8 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.2279, allocations: 4 kB / 0.8 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003417/0.2282, allocations: 87.88 kB / 0.8 GB, free: 12.06 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.2283, allocations: 4 kB / 0.8001 GB, free: 12.06 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003127/0.2286, allocations: 75.42 kB / 0.8001 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.014e-05/0.2286, allocations: 16 kB / 0.8001 GB, free: 11.97 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004051/0.229, allocations: 260.8 kB / 0.8004 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003087/0.2293, allocations: 231.1 kB / 0.8006 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004993/0.2298, allocations: 306.8 kB / 0.8009 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.026e-06/0.2299, allocations: 4 kB / 0.8009 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.000672/0.2305, allocations: 404.4 kB / 0.8013 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.2306, allocations: 7.938 kB / 0.8013 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.2306, allocations: 7.938 kB / 0.8013 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.142e-06/0.2306, allocations: 7.938 kB / 0.8013 GB, free: 10.69 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002813/0.2309, allocations: 75.84 kB / 0.8014 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.2309, allocations: 4 kB / 0.8014 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002744/0.2312, allocations: 59.86 kB / 0.8014 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.078e-05/0.2312, allocations: 8 kB / 0.8015 GB, free: 10.55 MB / 0.6231 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,vavBoxCon.hysWitHol.y,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001465/0.2313, allocations: 200.2 kB / 0.8016 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.028e-05/0.2314, allocations: 63.27 kB / 0.8017 GB, free: 10.28 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008581/0.2323, allocations: 401.4 kB / 0.8021 GB, free: 9.887 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/0.2323, allocations: 7.984 kB / 0.8021 GB, free: 9.879 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.2323, allocations: 0 / 0.8021 GB, free: 9.879 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.2323, allocations: 0 / 0.8021 GB, free: 9.879 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005754/0.2329, allocations: 0.5557 MB / 0.8026 GB, free: 9.273 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.2329, allocations: 0 / 0.8026 GB, free: 9.273 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003166/0.2332, allocations: 63.89 kB / 0.8027 GB, free: 9.211 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.2333, allocations: 7.938 kB / 0.8027 GB, free: 9.203 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.342e-05/0.2333, allocations: 4.125 kB / 0.8027 GB, free: 9.199 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.2333, allocations: 8 kB / 0.8027 GB, free: 9.191 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2333, allocations: 4 kB / 0.8027 GB, free: 9.188 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001126/0.2344, allocations: 0.6442 MB / 0.8034 GB, free: 8.527 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.667e-05/0.2345, allocations: 132.4 kB / 0.8035 GB, free: 8.379 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.711e-05/0.2346, allocations: 11.94 kB / 0.8035 GB, free: 8.367 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002573/0.2349, allocations: 35.95 kB / 0.8035 GB, free: 8.332 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.893e-05/0.235, allocations: 27.95 kB / 0.8035 GB, free: 8.305 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.483e-05/0.235, allocations: 11.98 kB / 0.8036 GB, free: 8.293 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003783/0.2354, allocations: 370.9 kB / 0.8039 GB, free: 7.934 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2354, allocations: 3.938 kB / 0.8039 GB, free: 7.93 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005165/0.2359, allocations: 179.2 kB / 0.8041 GB, free: 7.754 MB / 0.6231 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 (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.0001343/0.236, allocations: 103.2 kB / 0.8042 GB, free: 7.645 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001105/0.2372, allocations: 0.5241 MB / 0.8047 GB, free: 7.121 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.2372, allocations: 4 kB / 0.8047 GB, free: 7.117 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003431/0.2375, allocations: 164.6 kB / 0.8049 GB, free: 6.957 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005661/0.2381, allocations: 101.5 kB / 0.805 GB, free: 6.855 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001413/0.2395, allocations: 0.8918 MB / 0.8058 GB, free: 5.938 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003668/0.2399, allocations: 0.8588 MB / 0.8067 GB, free: 5.047 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002293/0.2401, allocations: 68.22 kB / 0.8067 GB, free: 4.98 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.2403, allocations: 47.42 kB / 0.8068 GB, free: 4.934 MB / 0.6231 GB Notification: Performance of SimCode: time 4.81e-07/0.2403, allocations: 0 / 0.8068 GB, free: 4.934 MB / 0.6231 GB Notification: Performance of Templates: time 0.009528/0.2498, allocations: 5.1 MB / 0.8118 GB, free: 15.87 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.makefile (rm -f Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; mkfifo Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe >> ../files/Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.sim & ./Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe 2>&1)