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.001096/0.001096, 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.001151/0.001151, allocations: 191.1 kB / 16.25 MB, free: 6.637 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.288/1.288, allocations: 205.1 MB / 222.1 MB, free: 4.688 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.636/1.636, allocations: 292.3 MB / 0.5485 GB, free: 13.59 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.001344/0.001344, allocations: 69.55 kB / 0.671 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1994/0.2007, allocations: 114.5 MB / 0.7828 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature): time 0.004148/0.2049, allocations: 2.629 MB / 0.7854 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001824/0.2068, allocations: 0.8936 MB / 0.7863 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003373/0.2071, allocations: 11.94 kB / 0.7863 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002453/0.2074, allocations: 51.58 kB / 0.7863 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002255/0.2076, allocations: 39.66 kB / 0.7864 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007371/0.2084, allocations: 282.7 kB / 0.7867 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007275/0.2091, allocations: 0.6024 MB / 0.7872 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004903/0.2096, allocations: 283.7 kB / 0.7875 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003399/0.21, allocations: 223.2 kB / 0.7877 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002856/0.2103, allocations: 230.9 kB / 0.7879 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001135/0.2104, allocations: 68 kB / 0.788 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001371/0.2105, allocations: 79.98 kB / 0.7881 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.747e-05/0.2106, allocations: 127.6 kB / 0.7882 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000222/0.2109, allocations: 246.8 kB / 0.7884 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000661/0.2115, allocations: 0.7207 MB / 0.7892 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.2116, allocations: 4 kB / 0.7892 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.183e-06/0.2116, allocations: 0 / 0.7892 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.835e-05/0.2116, allocations: 0 / 0.7892 GB, free: 7.395 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.001418/0.213, allocations: 0.7892 MB / 0.7899 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.213, allocations: 15.91 kB / 0.7899 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001169/0.2132, allocations: 52.38 kB / 0.79 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005593/0.2137, allocations: 396.3 kB / 0.7904 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.604e-05/0.2138, allocations: 37.31 kB / 0.7904 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.285e-05/0.2139, allocations: 44.36 kB / 0.7904 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000731/0.2146, allocations: 434.7 kB / 0.7909 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.2146, allocations: 11.94 kB / 0.7909 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.914e-05/0.2147, allocations: 16 kB / 0.7909 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.2147, allocations: 8 kB / 0.7909 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005999/0.2153, allocations: 307.9 kB / 0.7912 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002056/0.2174, allocations: 1.432 MB / 0.7926 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006043/0.218, allocations: 261.8 kB / 0.7928 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002342/0.2182, allocations: 116.8 kB / 0.7929 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.164e-05/0.2183, allocations: 4 kB / 0.793 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004008/0.2187, allocations: 202.2 kB / 0.7931 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=26): time 2.004e-06/0.2187, allocations: 4 kB / 0.7931 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of matching and sorting (n=26): time 0.0007284/0.2194, allocations: 336.9 kB / 0.7935 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.383e-05/0.2195, allocations: 136.5 kB / 0.7936 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004384/0.22, allocations: 417.6 kB / 0.794 GB, free: 2.18 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.916e-05/0.22, allocations: 33.7 kB / 0.794 GB, free: 2.141 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001699/0.2202, allocations: 248 kB / 0.7943 GB, free: 1.895 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.997e-05/0.2203, allocations: 82.81 kB / 0.7943 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001305/0.2204, allocations: 73.67 kB / 0.7944 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.2205, allocations: 354.8 kB / 0.7948 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002682/0.2208, allocations: 125.1 kB / 0.7949 GB, free: 1.254 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003126/0.2211, allocations: 192.4 kB / 0.7951 GB, free: 1.039 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004853/0.2216, allocations: 292.1 kB / 0.7953 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.2216, allocations: 4 kB / 0.7953 GB, free: 0.7305 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007367/0.2224, allocations: 423.8 kB / 0.7957 GB, free: 312 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.035e-05/0.2224, allocations: 41.64 kB / 0.7958 GB, free: 264 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.2224, allocations: 0 / 0.7958 GB, free: 264 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.2225, allocations: 4 kB / 0.7958 GB, free: 260 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002582/0.2227, allocations: 55.91 kB / 0.7958 GB, free: 204 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.844e-06/0.2228, allocations: 4.125 kB / 0.7958 GB, free: 200 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000376/0.2231, allocations: 79.47 kB / 0.7959 GB, free: 120 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.389e-05/0.2232, allocations: 12 kB / 0.7959 GB, free: 108 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003549/0.2235, allocations: 244.4 kB / 0.7962 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002654/0.2238, allocations: 196.5 kB / 0.7964 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003927/0.2242, allocations: 273.6 kB / 0.7966 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.392e-06/0.2242, allocations: 0 / 0.7966 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.000661/0.2249, allocations: 410.6 kB / 0.797 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.027e-05/0.2249, allocations: 41.62 kB / 0.797 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.2249, allocations: 3.938 kB / 0.797 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.049e-06/0.225, allocations: 4 kB / 0.7971 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002206/0.2252, allocations: 51.92 kB / 0.7971 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.2252, allocations: 11.97 kB / 0.7971 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003592/0.2256, allocations: 63.83 kB / 0.7972 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.267e-05/0.2256, allocations: 15.98 kB / 0.7972 GB, free: 14.75 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.0001501/0.2258, allocations: 202.8 kB / 0.7974 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.648e-05/0.2258, allocations: 43.45 kB / 0.7974 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006173/0.2265, allocations: 309.1 kB / 0.7977 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.2265, allocations: 4 kB / 0.7977 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.2265, allocations: 3.938 kB / 0.7977 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.2265, allocations: 0 / 0.7977 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000973/0.2275, allocations: 0.7727 MB / 0.7985 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.2275, allocations: 3.984 kB / 0.7985 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002167/0.2277, allocations: 43.92 kB / 0.7985 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.2277, allocations: 4 kB / 0.7985 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.254e-05/0.2277, allocations: 11.98 kB / 0.7985 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.2278, allocations: 0 / 0.7985 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.2278, allocations: 4 kB / 0.7985 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007456/0.2285, allocations: 495.2 kB / 0.799 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.719e-05/0.2286, allocations: 128.5 kB / 0.7991 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.67e-05/0.2287, allocations: 12 kB / 0.7992 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001925/0.2289, allocations: 15.98 kB / 0.7992 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.855e-05/0.2289, allocations: 23.91 kB / 0.7992 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.149e-05/0.229, allocations: 12 kB / 0.7992 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002969/0.2293, allocations: 295.2 kB / 0.7995 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.71e-07/0.2293, allocations: 0 / 0.7995 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005053/0.2298, allocations: 155.5 kB / 0.7996 GB, free: 12.14 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.0001499/0.23, allocations: 115.2 kB / 0.7997 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0009657/0.2309, allocations: 0.5804 MB / 0.8003 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2309, allocations: 0 / 0.8003 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002138/0.2312, allocations: 119.8 kB / 0.8004 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004705/0.2316, allocations: 73.89 kB / 0.8005 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/0.2328, allocations: 0.8215 MB / 0.8013 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003403/0.2331, allocations: 0.8079 MB / 0.8021 GB, free: 9.547 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001792/0.2333, allocations: 47.27 kB / 0.8021 GB, free: 9.5 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.07e-05/0.2334, allocations: 35.42 kB / 0.8022 GB, free: 9.465 MB / 0.6231 GB Notification: Performance of SimCode: time 2.41e-07/0.2334, allocations: 0 / 0.8022 GB, free: 9.465 MB / 0.6231 GB Notification: Performance of Templates: time 0.008454/0.2418, allocations: 4.806 MB / 0.8069 GB, free: 4.711 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)