Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.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.SupplyAirTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature") translateModel(Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001481/0.001481, allocations: 108 kB / 15.6 MB, free: 132 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.001078/0.001078, allocations: 198.4 kB / 16.54 MB, free: 6.672 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.301/1.301, allocations: 205.1 MB / 222.4 MB, free: 4.617 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.662/1.662, allocations: 292.3 MB / 0.5489 GB, free: 12.86 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.001441/0.001441, allocations: 66.27 kB / 0.6715 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.2133, allocations: 114.6 MB / 0.7834 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature): time 0.003457/0.2168, allocations: 2.588 MB / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001447/0.2183, allocations: 0.917 MB / 0.7868 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001776/0.2185, allocations: 15.88 kB / 0.7868 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000184/0.2187, allocations: 67.27 kB / 0.7869 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001406/0.2188, allocations: 63.39 kB / 0.7869 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005943/0.2194, allocations: 315.1 kB / 0.7872 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004629/0.2199, allocations: 0.6063 MB / 0.7878 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003624/0.2203, allocations: 279.8 kB / 0.7881 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002034/0.2205, allocations: 227.2 kB / 0.7883 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001995/0.2207, allocations: 226.9 kB / 0.7885 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.214e-05/0.2208, allocations: 72 kB / 0.7886 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.2209, allocations: 79.98 kB / 0.7887 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.468e-05/0.221, allocations: 119.7 kB / 0.7888 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001872/0.2212, allocations: 258.7 kB / 0.789 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005552/0.2217, allocations: 0.7129 MB / 0.7897 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.2218, allocations: 4 kB / 0.7897 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2218, allocations: 4 kB / 0.7897 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.2218, allocations: 0 / 0.7897 GB, free: 6.941 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001131/0.2229, allocations: 0.7878 MB / 0.7905 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.987e-05/0.2229, allocations: 12.03 kB / 0.7905 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.921e-05/0.2231, allocations: 52.38 kB / 0.7906 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000479/0.2235, allocations: 404.2 kB / 0.7909 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.012e-05/0.2236, allocations: 29.38 kB / 0.791 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.794e-05/0.2237, allocations: 48.38 kB / 0.791 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006687/0.2243, allocations: 430.7 kB / 0.7914 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.2244, allocations: 7.922 kB / 0.7914 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.696e-05/0.2244, allocations: 20 kB / 0.7915 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.2244, allocations: 12 kB / 0.7915 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005608/0.225, allocations: 311.8 kB / 0.7918 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001841/0.2268, allocations: 1.42 MB / 0.7932 GB, free: 3.258 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005716/0.2274, allocations: 265.6 kB / 0.7934 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002145/0.2276, allocations: 120.8 kB / 0.7935 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.2277, allocations: 4 kB / 0.7935 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003939/0.2281, allocations: 205.9 kB / 0.7937 GB, free: 2.645 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=26): time 1.493e-06/0.2281, allocations: 3.938 kB / 0.7937 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of matching and sorting (n=26): time 0.000685/0.2288, allocations: 341 kB / 0.7941 GB, free: 2.301 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.534e-05/0.2289, allocations: 132.5 kB / 0.7942 GB, free: 2.141 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003922/0.2293, allocations: 421.6 kB / 0.7946 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.521e-05/0.2293, allocations: 33.7 kB / 0.7946 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001558/0.2295, allocations: 244 kB / 0.7948 GB, free: 1.438 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.707e-05/0.2295, allocations: 82.81 kB / 0.7949 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/0.2296, allocations: 77.69 kB / 0.795 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.2298, allocations: 346.8 kB / 0.7953 GB, free: 0.9258 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002793/0.2301, allocations: 129.1 kB / 0.7955 GB, free: 0.7969 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002953/0.2304, allocations: 200.3 kB / 0.7956 GB, free: 0.5742 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004654/0.2308, allocations: 284.1 kB / 0.7959 GB, free: 284 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.2308, allocations: 4 kB / 0.7959 GB, free: 280 kB / 0.6075 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007244/0.2316, allocations: 423.8 kB / 0.7963 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.808e-05/0.2316, allocations: 45.62 kB / 0.7964 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.2316, allocations: 3.938 kB / 0.7964 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.2317, allocations: 4 kB / 0.7964 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002416/0.2319, allocations: 55.91 kB / 0.7964 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.2319, allocations: 4 kB / 0.7964 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003518/0.2323, allocations: 79.55 kB / 0.7965 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.271e-05/0.2323, allocations: 15.98 kB / 0.7965 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003236/0.2327, allocations: 240.4 kB / 0.7968 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002534/0.2329, allocations: 192.6 kB / 0.7969 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003787/0.2333, allocations: 273.6 kB / 0.7972 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.292e-06/0.2333, allocations: 3.938 kB / 0.7972 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.000635/0.234, allocations: 410.6 kB / 0.7976 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.766e-05/0.234, allocations: 37.7 kB / 0.7976 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.234, allocations: 3.938 kB / 0.7976 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.137e-06/0.234, allocations: 4 kB / 0.7976 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002097/0.2342, allocations: 51.91 kB / 0.7977 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.2342, allocations: 4 kB / 0.7977 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003475/0.2346, allocations: 67.81 kB / 0.7978 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.645e-05/0.2346, allocations: 12 kB / 0.7978 GB, free: 14.29 MB / 0.6231 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,uEna.y,$PRE.uEna.y,$whenCondition3,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001262/0.2348, allocations: 200.5 kB / 0.798 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.386e-05/0.2348, allocations: 51.39 kB / 0.798 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005783/0.2354, allocations: 301.1 kB / 0.7983 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.2354, allocations: 11.94 kB / 0.7983 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.2354, allocations: 0 / 0.7983 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.752e-06/0.2354, allocations: 3.984 kB / 0.7983 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009012/0.2364, allocations: 0.7753 MB / 0.7991 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.2364, allocations: 0 / 0.7991 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000209/0.2366, allocations: 47.97 kB / 0.7991 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.2366, allocations: 0 / 0.7991 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.936e-05/0.2366, allocations: 12 kB / 0.7991 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2366, allocations: 0 / 0.7991 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.2366, allocations: 4 kB / 0.7991 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007229/0.2374, allocations: 0.4915 MB / 0.7996 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.587e-05/0.2375, allocations: 124.5 kB / 0.7997 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.173e-05/0.2375, allocations: 8.094 kB / 0.7997 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001878/0.2377, allocations: 20.05 kB / 0.7998 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.515e-05/0.2378, allocations: 23.89 kB / 0.7998 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.701e-05/0.2378, allocations: 12 kB / 0.7998 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002803/0.2381, allocations: 291.2 kB / 0.8001 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2381, allocations: 0 / 0.8001 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004888/0.2386, allocations: 155.5 kB / 0.8002 GB, free: 11.69 MB / 0.6231 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 (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.0001553/0.2388, allocations: 119.1 kB / 0.8003 GB, free: 11.56 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0009574/0.2397, allocations: 0.5804 MB / 0.8009 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2397, allocations: 0 / 0.8009 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000213/0.24, allocations: 115.9 kB / 0.801 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000471/0.2404, allocations: 73.95 kB / 0.8011 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.2415, allocations: 0.6803 MB / 0.8017 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/0.2418, allocations: 0.804 MB / 0.8025 GB, free: 9.234 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001761/0.242, allocations: 51.25 kB / 0.8026 GB, free: 9.184 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.196e-05/0.2421, allocations: 35.38 kB / 0.8026 GB, free: 9.148 MB / 0.6231 GB Notification: Performance of SimCode: time 2.2e-07/0.2421, allocations: 0 / 0.8026 GB, free: 9.148 MB / 0.6231 GB Notification: Performance of Templates: time 0.008631/0.2507, allocations: 4.831 MB / 0.8073 GB, free: 4.367 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.makefile (rm -f Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe ; mkfifo Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe >> ../files/Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.sim & ./Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe 2>&1)