Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature") translateModel(Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.692/1.692, allocations: 287.5 MB / 302.6 MB, free: 8.215 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00113/0.00113, allocations: 181.3 kB / 371.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.72/1.72, allocations: 205.4 MB / 0.6299 GB, free: 10.54 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007956/0.0007957, allocations: 95.25 kB / 0.7432 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003873/0.0003873, allocations: 15.45 kB / 0.8661 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2241/0.2245, allocations: 115.3 MB / 0.9787 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature): time 0.002134/0.2267, allocations: 2.125 MB / 0.9808 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001191/0.2279, allocations: 0.8587 MB / 0.9816 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00018/0.2281, allocations: 8 kB / 0.9816 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001511/0.2282, allocations: 47.45 kB / 0.9817 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001214/0.2284, allocations: 43.64 kB / 0.9817 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005063/0.2289, allocations: 221.4 kB / 0.9819 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003514/0.2292, allocations: 0.5087 MB / 0.9824 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003366/0.2296, allocations: 271.7 kB / 0.9827 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001455/0.2297, allocations: 143.3 kB / 0.9828 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001533/0.2299, allocations: 155.1 kB / 0.9829 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.981e-05/0.2299, allocations: 16 kB / 0.983 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.929e-05/0.23, allocations: 35.92 kB / 0.983 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.931e-05/0.2301, allocations: 55.7 kB / 0.983 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.525e-05/0.2302, allocations: 101.5 kB / 0.9831 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003649/0.2305, allocations: 0.5574 MB / 0.9837 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.2305, allocations: 0 / 0.9837 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2306, allocations: 0 / 0.9837 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.2306, allocations: 0 / 0.9837 GB, free: 23.03 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.0009487/0.2315, allocations: 0.6996 MB / 0.9844 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.2316, allocations: 8.031 kB / 0.9844 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.91e-05/0.2316, allocations: 56.38 kB / 0.9844 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004293/0.2321, allocations: 392.4 kB / 0.9848 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.672e-05/0.2321, allocations: 37.38 kB / 0.9848 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.143e-05/0.2322, allocations: 48.28 kB / 0.9849 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005969/0.2328, allocations: 434.7 kB / 0.9853 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.2328, allocations: 3.938 kB / 0.9853 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.181e-05/0.2329, allocations: 20 kB / 0.9853 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.328e-06/0.2329, allocations: 12 kB / 0.9853 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005117/0.2334, allocations: 311.8 kB / 0.9856 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001648/0.2351, allocations: 1.444 MB / 0.987 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005269/0.2356, allocations: 267.3 kB / 0.9873 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001926/0.2358, allocations: 120.8 kB / 0.9874 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.644e-05/0.2358, allocations: 3.984 kB / 0.9874 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003183/0.2362, allocations: 203.9 kB / 0.9876 GB, free: 18.81 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=26): time 2.074e-06/0.2362, allocations: 0 / 0.9876 GB, free: 18.81 MB / 0.6198 GB Notification: Performance of matching and sorting (n=26): time 0.0006235/0.2368, allocations: 348.9 kB / 0.9879 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/0.2369, allocations: 136.6 kB / 0.9881 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000348/0.2372, allocations: 413.6 kB / 0.9885 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/0.2372, allocations: 33.7 kB / 0.9885 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000124/0.2374, allocations: 236.1 kB / 0.9887 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.568e-05/0.2374, allocations: 86.8 kB / 0.9888 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.93e-05/0.2374, allocations: 15.94 kB / 0.9888 GB, free: 17.51 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.083e-05/0.2375, allocations: 350.8 kB / 0.9892 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002306/0.2378, allocations: 120.3 kB / 0.9893 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002482/0.238, allocations: 192.6 kB / 0.9895 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003979/0.2384, allocations: 290.2 kB / 0.9897 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2384, allocations: 0 / 0.9897 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006274/0.2391, allocations: 427.8 kB / 0.9901 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.502e-05/0.2391, allocations: 158.1 kB / 0.9903 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.2392, allocations: 0 / 0.9903 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.261e-05/0.2392, allocations: 4 kB / 0.9903 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002361/0.2394, allocations: 59.91 kB / 0.9904 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.2394, allocations: 4 kB / 0.9904 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003495/0.2398, allocations: 88.48 kB / 0.9904 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.148e-05/0.2398, allocations: 15.98 kB / 0.9905 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.37e-06/0.2399, allocations: 4 kB / 0.9905 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005091/0.2404, allocations: 361.7 kB / 0.9908 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.2404, allocations: 8 kB / 0.9908 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.605e-06/0.2404, allocations: 0 / 0.9908 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001955/0.2406, allocations: 55.86 kB / 0.9909 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.2406, allocations: 4 kB / 0.9909 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000294/0.2409, allocations: 83.58 kB / 0.991 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.55e-05/0.2409, allocations: 15.98 kB / 0.991 GB, free: 15.21 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$whenCondition2,$whenCondition3,$PRE.uEna.y,uEna.y,conTSup.con.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 1 * 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.0001652/0.2411, allocations: 245 kB / 0.9912 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.533e-05/0.2412, allocations: 35.53 kB / 0.9912 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005159/0.2417, allocations: 321.4 kB / 0.9915 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.2417, allocations: 4 kB / 0.9915 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.2417, allocations: 0 / 0.9915 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.2417, allocations: 0 / 0.9915 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007659/0.2425, allocations: 0.7913 MB / 0.9923 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.2425, allocations: 3.938 kB / 0.9923 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001976/0.2427, allocations: 47.91 kB / 0.9924 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.2427, allocations: 0 / 0.9924 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.778e-05/0.2427, allocations: 8 kB / 0.9924 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.2427, allocations: 0 / 0.9924 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2427, allocations: 0 / 0.9924 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000642/0.2434, allocations: 498.8 kB / 0.9929 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.25e-05/0.2435, allocations: 128.6 kB / 0.993 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.45e-05/0.2435, allocations: 11.98 kB / 0.993 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00018/0.2437, allocations: 20.05 kB / 0.993 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.86e-05/0.2438, allocations: 15.98 kB / 0.993 GB, free: 13 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/0.2438, allocations: 11.98 kB / 0.993 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000235/0.244, allocations: 291.2 kB / 0.9933 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.244, allocations: 0 / 0.9933 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004224/0.2445, allocations: 151.5 kB / 0.9935 GB, free: 12.56 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (conTSup.con.I.y) * Number of discrete variables: 4 ($whenCondition3,$whenCondition1,$whenCondition2,uEna.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001435/0.2446, allocations: 112.3 kB / 0.9936 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008161/0.2454, allocations: 0.5811 MB / 0.9941 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.2455, allocations: 0 / 0.9941 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000193/0.2457, allocations: 119.9 kB / 0.9942 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004462/0.2461, allocations: 69.95 kB / 0.9943 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009392/0.2471, allocations: 0.7859 MB / 0.9951 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002004/0.2473, allocations: 0.8079 MB / 0.9959 GB, free: 9.992 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001727/0.2475, allocations: 51.3 kB / 0.9959 GB, free: 9.945 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.503e-05/0.2475, allocations: 39.42 kB / 0.996 GB, free: 9.91 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.2476, allocations: 0 / 0.996 GB, free: 9.91 MB / 0.6198 GB Notification: Performance of Templates: time 0.008206/0.2558, allocations: 4.414 MB / 1 GB, free: 5.547 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.makefile (rm -f Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.sim & ./Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe 2>&1)