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: "" <> buildModelFMU(Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature,fileNamePrefix="Buildings_8_0_0_Buildings_Examples_VAVReheat_Controls_Examples_SupplyAirTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature,fileNamePrefix="Buildings_8_0_0_Buildings_Examples_VAVReheat_Controls_Examples_SupplyAirTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.553/2.553, allocations: 287.5 MB / 302.4 MB, free: 8.34 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.001326/0.001326, allocations: 174.6 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.062/2.062, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.0009493/0.0009491, allocations: 88.59 kB / 0.743 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004814/0.0004816, allocations: 11.06 kB / 0.8659 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2103/0.2109, allocations: 115.3 MB / 0.9784 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature): time 0.002995/0.2139, allocations: 2.129 MB / 0.9805 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002122/0.2161, allocations: 0.8703 MB / 0.9814 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002657/0.2164, allocations: 7.938 kB / 0.9814 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001919/0.2166, allocations: 43.58 kB / 0.9814 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001738/0.2168, allocations: 43.64 kB / 0.9815 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008227/0.2176, allocations: 222.9 kB / 0.9817 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005896/0.2182, allocations: 0.5165 MB / 0.9822 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004076/0.2186, allocations: 193 kB / 0.9824 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002325/0.2189, allocations: 139.3 kB / 0.9825 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002179/0.2191, allocations: 155 kB / 0.9826 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.267e-05/0.2192, allocations: 16 kB / 0.9827 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001267/0.2193, allocations: 31.97 kB / 0.9827 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.339e-05/0.2194, allocations: 59.7 kB / 0.9828 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.958e-05/0.2195, allocations: 97.45 kB / 0.9828 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005773/0.2201, allocations: 0.5574 MB / 0.9834 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2201, allocations: 0 / 0.9834 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.743e-06/0.2201, allocations: 0 / 0.9834 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.2201, allocations: 0 / 0.9834 GB, free: 23.18 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.001385/0.2215, allocations: 0.7133 MB / 0.9841 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.2216, allocations: 16.02 kB / 0.9841 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001114/0.2217, allocations: 82.52 kB / 0.9842 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000122/0.2218, allocations: 51.44 kB / 0.9842 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007064/0.2225, allocations: 383.1 kB / 0.9846 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.263e-05/0.2226, allocations: 37 kB / 0.9846 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.625e-05/0.2227, allocations: 43.98 kB / 0.9847 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009838/0.2237, allocations: 434.1 kB / 0.9851 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/0.2237, allocations: 0 / 0.9851 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.759e-05/0.2238, allocations: 20 kB / 0.9851 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/0.2238, allocations: 12 kB / 0.9851 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008909/0.2247, allocations: 307.9 kB / 0.9854 GB, free: 21 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002774/0.2275, allocations: 1.452 MB / 0.9868 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008634/0.2284, allocations: 254.8 kB / 0.9871 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003331/0.2288, allocations: 124.8 kB / 0.9872 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.593e-05/0.2288, allocations: 4 kB / 0.9872 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000491/0.2293, allocations: 188.1 kB / 0.9874 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=26): time 3.327e-06/0.2293, allocations: 3.984 kB / 0.9874 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=26): time 0.001116/0.2305, allocations: 356.8 kB / 0.9877 GB, free: 18.53 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.404e-05/0.2305, allocations: 140.5 kB / 0.9878 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005686/0.2311, allocations: 409.7 kB / 0.9882 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.725e-05/0.2312, allocations: 33.7 kB / 0.9883 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001838/0.2314, allocations: 244 kB / 0.9885 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.14e-05/0.2314, allocations: 82.81 kB / 0.9886 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.591e-05/0.2315, allocations: 8 kB / 0.9886 GB, free: 17.58 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.927e-05/0.2316, allocations: 350.8 kB / 0.9889 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004083/0.232, allocations: 120.3 kB / 0.989 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004536/0.2325, allocations: 200.5 kB / 0.9892 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004396/0.2329, allocations: 165.8 kB / 0.9894 GB, free: 16.72 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.233, allocations: 4 kB / 0.9894 GB, free: 16.72 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001119/0.2341, allocations: 419.9 kB / 0.9898 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.974e-05/0.2342, allocations: 158.5 kB / 0.9899 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.2342, allocations: 0 / 0.9899 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.2342, allocations: 4 kB / 0.9899 GB, free: 16.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000453/0.2347, allocations: 55.91 kB / 0.99 GB, free: 16.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.2347, allocations: 0 / 0.99 GB, free: 16.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006302/0.2353, allocations: 91.48 kB / 0.9901 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.974e-05/0.2354, allocations: 15.98 kB / 0.9901 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.446e-06/0.2354, allocations: 6.031 kB / 0.9901 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008786/0.2363, allocations: 365.2 kB / 0.9905 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.2363, allocations: 0 / 0.9905 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.274e-06/0.2364, allocations: 4 kB / 0.9905 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003938/0.2368, allocations: 63.86 kB / 0.9905 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.2368, allocations: 0 / 0.9905 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005602/0.2373, allocations: 88.2 kB / 0.9906 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.175e-05/0.2374, allocations: 16 kB / 0.9906 GB, free: 15.42 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.0002692/0.2377, allocations: 245 kB / 0.9909 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.726e-05/0.2378, allocations: 35.53 kB / 0.9909 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008999/0.2387, allocations: 309.5 kB / 0.9912 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-06/0.2387, allocations: 7.953 kB / 0.9912 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.2387, allocations: 0 / 0.9912 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.2387, allocations: 3.984 kB / 0.9912 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001247/0.24, allocations: 0.7794 MB / 0.992 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.24, allocations: 0 / 0.992 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003847/0.2404, allocations: 51.91 kB / 0.992 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.184e-06/0.2404, allocations: 4 kB / 0.992 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.672e-05/0.2404, allocations: 7.953 kB / 0.992 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.2405, allocations: 4 kB / 0.992 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.2405, allocations: 0 / 0.992 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001083/0.2416, allocations: 0.4917 MB / 0.9925 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.294e-05/0.2417, allocations: 124.6 kB / 0.9926 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.776e-05/0.2417, allocations: 4 kB / 0.9926 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003424/0.2421, allocations: 28.62 kB / 0.9927 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.708e-05/0.2422, allocations: 15.97 kB / 0.9927 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.483e-05/0.2422, allocations: 12 kB / 0.9927 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003949/0.2426, allocations: 291.2 kB / 0.993 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2426, allocations: 0 / 0.993 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006816/0.2433, allocations: 155.5 kB / 0.9931 GB, free: 12.77 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.001325/0.2447, allocations: 1.048 MB / 0.9941 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001401/0.2461, allocations: 0.5815 MB / 0.9947 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.2461, allocations: 0 / 0.9947 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003412/0.2464, allocations: 119.8 kB / 0.9948 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000695/0.2472, allocations: 73.86 kB / 0.9949 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004944/0.2521, allocations: 2.274 MB / 0.9971 GB, free: 8.559 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002742/0.2524, allocations: 0.8118 MB / 0.9979 GB, free: 7.719 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002979/0.2527, allocations: 47.3 kB / 0.9979 GB, free: 7.676 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002728/0.253, allocations: 147.4 kB / 0.9981 GB, free: 7.535 MB / 0.6198 GB Notification: Performance of SimCode: time 1.233e-06/0.253, allocations: 0 / 0.9981 GB, free: 7.535 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04217/0.2952, allocations: 8.154 MB / 1.006 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003312/0.2956, allocations: 211.7 kB / 1.006 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.834/3.13, allocations: 0 / 1.006 GB, free: 15.36 MB / 0.6355 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Examples_VAVReheat_Controls_Examples_SupplyAirTemperature_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Examples_VAVReheat_Controls_Examples_SupplyAirTemperature.fmu > Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe 2>&1)