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.001335/0.001335, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001517/0.001517, allocations: 195.3 kB / 16.14 MB, free: 6.703 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.313/1.313, allocations: 205.1 MB / 222 MB, free: 4.762 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.673/1.673, allocations: 292.2 MB / 0.5484 GB, free: 13.67 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.001255/0.001256, allocations: 66.83 kB / 0.6708 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2047/0.2059, allocations: 114.5 MB / 0.7827 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature): time 0.003383/0.2094, allocations: 2.636 MB / 0.7852 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001351/0.2107, allocations: 0.9053 MB / 0.7861 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001641/0.2109, allocations: 7.938 kB / 0.7861 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001846/0.2111, allocations: 43.58 kB / 0.7862 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001388/0.2113, allocations: 51.62 kB / 0.7862 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005535/0.2118, allocations: 290.6 kB / 0.7865 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004016/0.2122, allocations: 0.5321 MB / 0.787 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00036/0.2126, allocations: 275.7 kB / 0.7873 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001799/0.2128, allocations: 175.3 kB / 0.7874 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000184/0.213, allocations: 210.8 kB / 0.7876 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.421e-05/0.213, allocations: 32 kB / 0.7877 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.507e-05/0.2131, allocations: 47.98 kB / 0.7877 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.52e-05/0.2132, allocations: 75.69 kB / 0.7878 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001574/0.2134, allocations: 222.6 kB / 0.788 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004762/0.2139, allocations: 0.6817 MB / 0.7887 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.2139, allocations: 4 kB / 0.7887 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.12e-07/0.2139, allocations: 3.938 kB / 0.7887 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.227e-06/0.2139, allocations: 0 / 0.7887 GB, free: 7.82 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.001087/0.215, allocations: 0.7853 MB / 0.7894 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.215, allocations: 8.031 kB / 0.7895 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.531e-05/0.2151, allocations: 56.36 kB / 0.7895 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004741/0.2156, allocations: 400.2 kB / 0.7899 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.943e-05/0.2157, allocations: 33.38 kB / 0.7899 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.53e-05/0.2157, allocations: 44.38 kB / 0.79 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006513/0.2164, allocations: 442.7 kB / 0.7904 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.2164, allocations: 7.875 kB / 0.7904 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.527e-05/0.2165, allocations: 16 kB / 0.7904 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.799e-06/0.2165, allocations: 12 kB / 0.7904 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005556/0.217, allocations: 311.8 kB / 0.7907 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001806/0.2188, allocations: 1.42 MB / 0.7921 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005611/0.2194, allocations: 254.9 kB / 0.7923 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002129/0.2196, allocations: 120.8 kB / 0.7925 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.818e-05/0.2197, allocations: 4.078 kB / 0.7925 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003787/0.2201, allocations: 210.5 kB / 0.7927 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=26): time 1.633e-06/0.2201, allocations: 0 / 0.7927 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of matching and sorting (n=26): time 0.0006956/0.2208, allocations: 337 kB / 0.793 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.063e-05/0.2208, allocations: 132.5 kB / 0.7931 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004104/0.2213, allocations: 421.6 kB / 0.7935 GB, free: 2.609 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.806e-05/0.2213, allocations: 37.69 kB / 0.7936 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001485/0.2215, allocations: 239.9 kB / 0.7938 GB, free: 2.328 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.7e-05/0.2215, allocations: 86.8 kB / 0.7939 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001209/0.2217, allocations: 73.69 kB / 0.7939 GB, free: 2.164 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.2218, allocations: 350.8 kB / 0.7943 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002693/0.222, allocations: 129.1 kB / 0.7944 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002933/0.2223, allocations: 200.3 kB / 0.7946 GB, free: 1.461 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004568/0.2228, allocations: 288.1 kB / 0.7949 GB, free: 1.16 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.2228, allocations: 7.984 kB / 0.7949 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006872/0.2235, allocations: 419.8 kB / 0.7953 GB, free: 0.7305 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.71e-05/0.2236, allocations: 41.62 kB / 0.7953 GB, free: 0.6836 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.2236, allocations: 4.125 kB / 0.7953 GB, free: 0.6797 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.2236, allocations: 4 kB / 0.7953 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000254/0.2239, allocations: 55.91 kB / 0.7954 GB, free: 0.6211 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.2239, allocations: 4 kB / 0.7954 GB, free: 0.6172 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003496/0.2242, allocations: 71.48 kB / 0.7954 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.321e-05/0.2243, allocations: 15.98 kB / 0.7955 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003132/0.2246, allocations: 244.4 kB / 0.7957 GB, free: 296 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002509/0.2248, allocations: 200.5 kB / 0.7959 GB, free: 68 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003975/0.2253, allocations: 273.6 kB / 0.7961 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.302e-06/0.2253, allocations: 0 / 0.7961 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006036/0.2259, allocations: 406.6 kB / 0.7965 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.637e-05/0.2259, allocations: 34.64 kB / 0.7966 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.2259, allocations: 3.938 kB / 0.7966 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.338e-06/0.2259, allocations: 4 kB / 0.7966 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002218/0.2262, allocations: 63.97 kB / 0.7966 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.2262, allocations: 7.938 kB / 0.7966 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003355/0.2265, allocations: 59.69 kB / 0.7967 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.853e-05/0.2266, allocations: 16 kB / 0.7967 GB, free: 15.18 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.0001226/0.2267, allocations: 200.5 kB / 0.7969 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.866e-05/0.2267, allocations: 43.47 kB / 0.7969 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005566/0.2273, allocations: 301.1 kB / 0.7972 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.2273, allocations: 4 kB / 0.7972 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.2273, allocations: 0 / 0.7972 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.2273, allocations: 3.984 kB / 0.7972 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008629/0.2282, allocations: 0.7844 MB / 0.798 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.2282, allocations: 0 / 0.798 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002141/0.2284, allocations: 43.97 kB / 0.798 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.716e-06/0.2284, allocations: 3.938 kB / 0.798 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.051e-05/0.2285, allocations: 11.94 kB / 0.7981 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.2285, allocations: 0 / 0.7981 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2285, allocations: 0 / 0.7981 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007319/0.2292, allocations: 0.4913 MB / 0.7985 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.355e-05/0.2293, allocations: 124.6 kB / 0.7987 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.855e-05/0.2294, allocations: 11.98 kB / 0.7987 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001907/0.2296, allocations: 15.98 kB / 0.7987 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.098e-05/0.2296, allocations: 19.97 kB / 0.7987 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/0.2297, allocations: 12 kB / 0.7987 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002734/0.2299, allocations: 295.2 kB / 0.799 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2299, allocations: 4.062 kB / 0.799 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004758/0.2304, allocations: 151.5 kB / 0.7991 GB, free: 12.58 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.0001524/0.2306, allocations: 127.1 kB / 0.7993 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0008825/0.2315, allocations: 0.5649 MB / 0.7998 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2315, allocations: 0.5 kB / 0.7998 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002104/0.2317, allocations: 123.8 kB / 0.7999 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004774/0.2322, allocations: 69.39 kB / 0.8 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/0.2333, allocations: 0.8176 MB / 0.8008 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002918/0.2336, allocations: 0.8079 MB / 0.8016 GB, free: 9.988 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001719/0.2338, allocations: 47.2 kB / 0.8016 GB, free: 9.941 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.382e-05/0.2339, allocations: 39.42 kB / 0.8017 GB, free: 9.902 MB / 0.6231 GB Notification: Performance of SimCode: time 2.3e-07/0.2339, allocations: 4 kB / 0.8017 GB, free: 9.898 MB / 0.6231 GB Notification: Performance of Templates: time 0.009197/0.2431, allocations: 4.593 MB / 0.8062 GB, free: 5.355 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)