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.000839/0.000839, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0008981/0.0008982, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.8/1.8, allocations: 205.4 MB / 222.1 MB, free: 5.633 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.909/1.909, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0005938/0.0005938, allocations: 21.12 kB / 0.6737 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3249/0.3255, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV): time 0.003677/0.3292, allocations: 2.673 MB / 0.7899 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001895/0.3311, allocations: 0.7882 MB / 0.7907 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003929/0.3315, allocations: 8 kB / 0.7907 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002751/0.3318, allocations: 67.31 kB / 0.7907 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001941/0.332, allocations: 59.45 kB / 0.7908 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004639/0.3325, allocations: 143.8 kB / 0.7909 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006537/0.3332, allocations: 0.63 MB / 0.7915 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004825/0.3337, allocations: 268.7 kB / 0.7918 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002452/0.3339, allocations: 159 kB / 0.792 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002395/0.3342, allocations: 194.7 kB / 0.7921 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.722e-05/0.3342, allocations: 16 kB / 0.7922 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.349e-05/0.3343, allocations: 16 kB / 0.7922 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.281e-05/0.3344, allocations: 83.5 kB / 0.7922 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.892e-05/0.3345, allocations: 129.3 kB / 0.7924 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006515/0.3351, allocations: 0.7444 MB / 0.7931 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.3351, allocations: 0 / 0.7931 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.034e-06/0.3352, allocations: 0 / 0.7931 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.387e-06/0.3352, allocations: 0 / 0.7931 GB, free: 5.953 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.001516/0.3367, allocations: 0.8728 MB / 0.794 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/0.3367, allocations: 8.031 kB / 0.794 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001341/0.3369, allocations: 79.16 kB / 0.794 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000675/0.3376, allocations: 477.9 kB / 0.7945 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.467e-05/0.3376, allocations: 37.31 kB / 0.7945 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.374e-05/0.3377, allocations: 59.98 kB / 0.7946 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00109/0.3388, allocations: 0.5536 MB / 0.7951 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.3388, allocations: 7.938 kB / 0.7951 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.498e-05/0.3389, allocations: 24 kB / 0.7952 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.479e-05/0.3389, allocations: 12 kB / 0.7952 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009228/0.3399, allocations: 451.8 kB / 0.7956 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002769/0.3426, allocations: 1.873 MB / 0.7974 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001329/0.344, allocations: 0.556 MB / 0.798 GB, free: 0.7656 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004085/0.3444, allocations: 216.8 kB / 0.7982 GB, free: 0.5508 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.994e-05/0.3445, allocations: 7.984 kB / 0.7982 GB, free: 0.543 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.845e-05/0.3445, allocations: 38.5 kB / 0.7982 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=32): time 3.096e-06/0.3445, allocations: 0 / 0.7982 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of matching and sorting (n=32): time 0.001267/0.3458, allocations: 0.5215 MB / 0.7987 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.191e-05/0.3459, allocations: 110.8 kB / 0.7988 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006667/0.3466, allocations: 0.5185 MB / 0.7993 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.812e-05/0.3466, allocations: 33.7 kB / 0.7994 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000271/0.3469, allocations: 308 kB / 0.7997 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.22e-05/0.347, allocations: 110.4 kB / 0.7998 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.731e-05/0.347, allocations: 4 kB / 0.7998 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001772/0.3472, allocations: 362.8 kB / 0.8001 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003381/0.3476, allocations: 164.7 kB / 0.8003 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004078/0.348, allocations: 260.3 kB / 0.8005 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003658/0.3484, allocations: 183.7 kB / 0.8007 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.3484, allocations: 0 / 0.8007 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008773/0.3493, allocations: 484.4 kB / 0.8012 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001192/0.3494, allocations: 139 kB / 0.8013 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.3494, allocations: 7.953 kB / 0.8013 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.882e-05/0.3494, allocations: 4 kB / 0.8013 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003578/0.3498, allocations: 99.81 kB / 0.8014 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.341e-05/0.3498, allocations: 4.062 kB / 0.8014 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003069/0.3501, allocations: 99.33 kB / 0.8015 GB, free: 13 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.27e-05/0.3502, allocations: 19.94 kB / 0.8015 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 7.975e-06/0.3502, allocations: 4 kB / 0.8015 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006144/0.3508, allocations: 343.7 kB / 0.8019 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.645e-06/0.3508, allocations: 0 / 0.8019 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.38e-06/0.3508, allocations: 4 kB / 0.8019 GB, free: 12.63 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002697/0.3511, allocations: 75.89 kB / 0.8019 GB, free: 12.56 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.3511, allocations: 4 kB / 0.8019 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002454/0.3514, allocations: 71.59 kB / 0.802 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.557e-05/0.3514, allocations: 16 kB / 0.802 GB, free: 12.47 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,$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.0003266/0.3517, allocations: 274.3 kB / 0.8023 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.259e-05/0.3518, allocations: 51.34 kB / 0.8023 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008767/0.3527, allocations: 429.5 kB / 0.8027 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.3528, allocations: 4 kB / 0.8027 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.3528, allocations: 0 / 0.8027 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.3528, allocations: 3.984 kB / 0.8027 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007048/0.3535, allocations: 0.5595 MB / 0.8033 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.634e-06/0.3535, allocations: 0 / 0.8033 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003078/0.3538, allocations: 75.89 kB / 0.8034 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.808e-06/0.3538, allocations: 0 / 0.8034 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.657e-05/0.3539, allocations: 8 kB / 0.8034 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.3539, allocations: 0 / 0.8034 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3539, allocations: 0 / 0.8034 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001347/0.3552, allocations: 0.6988 MB / 0.8041 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/0.3554, allocations: 136.4 kB / 0.8042 GB, free: 10.15 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.562e-05/0.3554, allocations: 8 kB / 0.8042 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002548/0.3557, allocations: 48.02 kB / 0.8042 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.162e-05/0.3558, allocations: 23.97 kB / 0.8043 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.62e-05/0.3558, allocations: 11.98 kB / 0.8043 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004403/0.3563, allocations: 362.9 kB / 0.8046 GB, free: 9.707 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.3563, allocations: 0 / 0.8046 GB, free: 9.707 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005873/0.3569, allocations: 171.3 kB / 0.8048 GB, free: 9.539 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 (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.0001703/0.357, allocations: 111.2 kB / 0.8049 GB, free: 9.422 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001219/0.3583, allocations: 0.5551 MB / 0.8054 GB, free: 8.867 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 8.976e-06/0.3583, allocations: 12.19 kB / 0.8054 GB, free: 8.855 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003601/0.3586, allocations: 183.7 kB / 0.8056 GB, free: 8.676 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007225/0.3594, allocations: 104.9 kB / 0.8057 GB, free: 8.574 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00212/0.3615, allocations: 1.066 MB / 0.8068 GB, free: 7.48 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00067/0.3622, allocations: 0.8588 MB / 0.8076 GB, free: 6.59 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002839/0.3625, allocations: 60.23 kB / 0.8077 GB, free: 6.527 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001303/0.3626, allocations: 51.42 kB / 0.8077 GB, free: 6.477 MB / 0.6231 GB Notification: Performance of SimCode: time 8.81e-07/0.3626, allocations: 0 / 0.8077 GB, free: 6.477 MB / 0.6231 GB Notification: Performance of Templates: time 0.01048/0.3731, allocations: 4.564 MB / 0.8122 GB, free: 1.957 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: