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.001338/0.001338, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001504/0.001504, allocations: 187.3 kB / 16.25 MB, free: 6.629 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.345/1.345, allocations: 205.1 MB / 222.1 MB, free: 4.715 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.637/1.637, allocations: 292.2 MB / 0.5485 GB, free: 13.64 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.001357/0.001357, allocations: 64.55 kB / 0.671 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2168/0.2182, allocations: 114.6 MB / 0.7829 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV): time 0.00429/0.2225, allocations: 3.223 MB / 0.786 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00152/0.2241, allocations: 0.8037 MB / 0.7868 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002952/0.2244, allocations: 15.94 kB / 0.7868 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002668/0.2247, allocations: 67.38 kB / 0.7869 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002136/0.2249, allocations: 71.44 kB / 0.7869 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000409/0.2253, allocations: 227.9 kB / 0.7872 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005801/0.2259, allocations: 0.7314 MB / 0.7879 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004867/0.2264, allocations: 413.7 kB / 0.7883 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002653/0.2267, allocations: 266.9 kB / 0.7885 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002239/0.2269, allocations: 294.4 kB / 0.7888 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.87e-05/0.227, allocations: 84 kB / 0.7889 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.622e-05/0.2271, allocations: 88 kB / 0.789 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000106/0.2272, allocations: 167.5 kB / 0.7891 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001968/0.2274, allocations: 330.2 kB / 0.7894 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006687/0.2281, allocations: 0.9503 MB / 0.7904 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.2281, allocations: 0 / 0.7904 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2281, allocations: 4 kB / 0.7904 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.227e-06/0.2281, allocations: 4 kB / 0.7904 GB, free: 6.16 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.001407/0.2295, allocations: 0.9547 MB / 0.7913 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.2296, allocations: 12.03 kB / 0.7913 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001053/0.2297, allocations: 76 kB / 0.7914 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005452/0.2302, allocations: 483.2 kB / 0.7918 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.381e-05/0.2303, allocations: 41.69 kB / 0.7919 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.221e-05/0.2304, allocations: 52.38 kB / 0.7919 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008937/0.2313, allocations: 0.5542 MB / 0.7925 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.2313, allocations: 3.938 kB / 0.7925 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.486e-05/0.2313, allocations: 20 kB / 0.7925 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.361e-05/0.2314, allocations: 20 kB / 0.7925 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008524/0.2322, allocations: 423.7 kB / 0.7929 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002301/0.2345, allocations: 1.853 MB / 0.7947 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001223/0.2358, allocations: 486.9 kB / 0.7952 GB, free: 1.02 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003701/0.2361, allocations: 207.6 kB / 0.7954 GB, free: 0.8164 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.808e-05/0.2362, allocations: 7.984 kB / 0.7954 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.2362, allocations: 38.5 kB / 0.7954 GB, free: 0.7617 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=32): time 2.224e-06/0.2362, allocations: 0 / 0.7954 GB, free: 0.7617 MB / 0.6075 GB Notification: Performance of matching and sorting (n=32): time 0.001076/0.2373, allocations: 497.5 kB / 0.7959 GB, free: 276 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.384e-05/0.2374, allocations: 110.8 kB / 0.796 GB, free: 140 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005358/0.2379, allocations: 0.5146 MB / 0.7965 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.549e-05/0.238, allocations: 33.7 kB / 0.7966 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001899/0.2382, allocations: 308 kB / 0.7969 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 7.379e-05/0.2382, allocations: 110.5 kB / 0.797 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000113/0.2384, allocations: 74.06 kB / 0.797 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.2385, allocations: 366.8 kB / 0.7974 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003295/0.2388, allocations: 150.3 kB / 0.7975 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003741/0.2392, allocations: 252.2 kB / 0.7978 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006495/0.2399, allocations: 362.4 kB / 0.7981 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.2399, allocations: 0 / 0.7981 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008116/0.2407, allocations: 456.2 kB / 0.7985 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.2407, allocations: 18.62 kB / 0.7986 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.2407, allocations: 0 / 0.7986 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.2408, allocations: 4 kB / 0.7986 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003375/0.2411, allocations: 83.81 kB / 0.7986 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.2411, allocations: 4 kB / 0.7986 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003039/0.2414, allocations: 79.39 kB / 0.7987 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.514e-05/0.2415, allocations: 12 kB / 0.7987 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003655/0.2418, allocations: 269.5 kB / 0.799 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002836/0.2421, allocations: 231.1 kB / 0.7992 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004841/0.2426, allocations: 306.8 kB / 0.7995 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.493e-06/0.2426, allocations: 0 / 0.7995 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.0006339/0.2433, allocations: 408.2 kB / 0.7999 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 9.658e-06/0.2433, allocations: 8.219 kB / 0.7999 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.2433, allocations: 4 kB / 0.7999 GB, free: 11.97 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.162e-06/0.2433, allocations: 7.938 kB / 0.7999 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002823/0.2436, allocations: 71.91 kB / 0.8 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.728e-06/0.2436, allocations: 3.984 kB / 0.8 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000262/0.2439, allocations: 51.75 kB / 0.8 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.035e-05/0.2439, allocations: 12 kB / 0.8 GB, free: 11.83 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.0001338/0.244, allocations: 212.1 kB / 0.8002 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.39e-05/0.2441, allocations: 55.28 kB / 0.8003 GB, free: 11.56 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007966/0.2449, allocations: 397.4 kB / 0.8007 GB, free: 11.17 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.2449, allocations: 4 kB / 0.8007 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.245, allocations: 4 kB / 0.8007 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.952e-06/0.245, allocations: 3.984 kB / 0.8007 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005438/0.2455, allocations: 0.5518 MB / 0.8012 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.2455, allocations: 128 / 0.8012 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003063/0.2458, allocations: 75.89 kB / 0.8013 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.329e-06/0.2458, allocations: 3.938 kB / 0.8013 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.49e-05/0.2459, allocations: 11.98 kB / 0.8013 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.2459, allocations: 0 / 0.8013 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.2459, allocations: 0 / 0.8013 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001077/0.247, allocations: 0.6481 MB / 0.802 GB, free: 9.801 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.294e-05/0.2471, allocations: 136.4 kB / 0.8021 GB, free: 9.648 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.741e-05/0.2471, allocations: 11.94 kB / 0.8021 GB, free: 9.637 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002592/0.2474, allocations: 31.95 kB / 0.8021 GB, free: 9.605 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.655e-05/0.2475, allocations: 23.97 kB / 0.8021 GB, free: 9.582 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.555e-05/0.2475, allocations: 15.98 kB / 0.8022 GB, free: 9.566 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003669/0.2479, allocations: 362.9 kB / 0.8025 GB, free: 9.215 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2479, allocations: 0 / 0.8025 GB, free: 9.215 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005387/0.2485, allocations: 179.2 kB / 0.8027 GB, free: 9.039 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.0001403/0.2486, allocations: 115.2 kB / 0.8028 GB, free: 8.918 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001143/0.2498, allocations: 0.5326 MB / 0.8033 GB, free: 8.387 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2498, allocations: 3.938 kB / 0.8033 GB, free: 8.383 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003257/0.2501, allocations: 175.7 kB / 0.8035 GB, free: 8.211 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000657/0.2508, allocations: 96.86 kB / 0.8036 GB, free: 8.117 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001435/0.2522, allocations: 1.107 MB / 0.8047 GB, free: 6.98 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003309/0.2526, allocations: 0.8588 MB / 0.8055 GB, free: 6.09 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002383/0.2528, allocations: 64.22 kB / 0.8056 GB, free: 6.027 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.2529, allocations: 39.42 kB / 0.8056 GB, free: 5.988 MB / 0.6231 GB Notification: Performance of SimCode: time 2.6e-07/0.2529, allocations: 4 kB / 0.8056 GB, free: 5.984 MB / 0.6231 GB Notification: Performance of Templates: time 0.00891/0.2618, allocations: 4.998 MB / 0.8105 GB, free: 1.027 MB / 0.6231 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)