Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_VAVReheat_Controls_Examples_SupplyAirTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.748/1.748, allocations: 288.4 MB / 303.3 MB, free: 8.203 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.0009529/0.0009529, allocations: 176.5 kB / 372 MB, free: 10.29 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.549/1.549, allocations: 205.4 MB / 0.6307 GB, free: 9.93 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.0008503/0.0008504, allocations: 91.81 kB / 0.744 GB, free: 5.852 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004233/0.0004234, allocations: 14.38 kB / 0.867 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.2298, allocations: 115.3 MB / 0.9796 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature): time 0.00245/0.2323, allocations: 2.121 MB / 0.9817 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001354/0.2337, allocations: 0.8705 MB / 0.9826 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001933/0.2339, allocations: 7.938 kB / 0.9826 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001583/0.2341, allocations: 43.58 kB / 0.9826 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001191/0.2342, allocations: 39.64 kB / 0.9827 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005446/0.2348, allocations: 231.4 kB / 0.9829 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003478/0.2351, allocations: 0.5009 MB / 0.9834 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002788/0.2354, allocations: 201 kB / 0.9836 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001572/0.2356, allocations: 135.3 kB / 0.9837 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000152/0.2357, allocations: 159 kB / 0.9838 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.102e-05/0.2358, allocations: 16 kB / 0.9839 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.011e-05/0.2359, allocations: 27.98 kB / 0.9839 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.593e-05/0.2359, allocations: 59.7 kB / 0.9839 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.152e-05/0.236, allocations: 97.45 kB / 0.984 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000377/0.2364, allocations: 0.5613 MB / 0.9846 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2364, allocations: 0 / 0.9846 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.434e-06/0.2364, allocations: 0 / 0.9846 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.426e-06/0.2364, allocations: 0 / 0.9846 GB, free: 22.5 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.000989/0.2374, allocations: 0.7111 MB / 0.9853 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.2375, allocations: 12.03 kB / 0.9853 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.111e-05/0.2375, allocations: 78.52 kB / 0.9854 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.002e-05/0.2376, allocations: 51.44 kB / 0.9854 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004612/0.2381, allocations: 387.1 kB / 0.9858 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.144e-05/0.2381, allocations: 37 kB / 0.9858 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.779e-05/0.2382, allocations: 40 kB / 0.9859 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006384/0.2388, allocations: 438.1 kB / 0.9863 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.2389, allocations: 0 / 0.9863 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.515e-05/0.2389, allocations: 16 kB / 0.9863 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.948e-06/0.2389, allocations: 12 kB / 0.9863 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005229/0.2395, allocations: 311.9 kB / 0.9866 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001722/0.2412, allocations: 1.448 MB / 0.988 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005453/0.2417, allocations: 254.8 kB / 0.9882 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002014/0.242, allocations: 123.8 kB / 0.9884 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.74e-05/0.242, allocations: 7.984 kB / 0.9884 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003402/0.2423, allocations: 200.5 kB / 0.9886 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=26): time 1.363e-06/0.2424, allocations: 0 / 0.9886 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=26): time 0.0006466/0.243, allocations: 348.8 kB / 0.9889 GB, free: 17.85 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.471e-05/0.2431, allocations: 136.5 kB / 0.989 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003477/0.2434, allocations: 417.7 kB / 0.9894 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.213e-05/0.2435, allocations: 33.7 kB / 0.9895 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/0.2436, allocations: 244 kB / 0.9897 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.781e-05/0.2437, allocations: 82.8 kB / 0.9898 GB, free: 16.9 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.084e-05/0.2437, allocations: 8 kB / 0.9898 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.694e-05/0.2438, allocations: 346.8 kB / 0.9901 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002356/0.244, allocations: 132 kB / 0.9902 GB, free: 16.42 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002522/0.2443, allocations: 192.5 kB / 0.9904 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002846/0.2446, allocations: 158 kB / 0.9906 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.2446, allocations: 4 kB / 0.9906 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006267/0.2452, allocations: 423.9 kB / 0.991 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.698e-05/0.2453, allocations: 158.3 kB / 0.9911 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.2453, allocations: 4 kB / 0.9911 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.2453, allocations: 4 kB / 0.9911 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002425/0.2456, allocations: 63.98 kB / 0.9912 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.2456, allocations: 0 / 0.9912 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003605/0.246, allocations: 91.12 kB / 0.9913 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.264e-05/0.246, allocations: 23.98 kB / 0.9913 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.973e-06/0.246, allocations: 4 kB / 0.9913 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000534/0.2466, allocations: 353.3 kB / 0.9916 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.404e-06/0.2466, allocations: 0 / 0.9916 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.436e-06/0.2466, allocations: 4 kB / 0.9917 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002019/0.2468, allocations: 51.92 kB / 0.9917 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.2468, allocations: 20 kB / 0.9917 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003044/0.2471, allocations: 79.55 kB / 0.9918 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.54e-05/0.2471, allocations: 16 kB / 0.9918 GB, free: 14.73 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.0001705/0.2473, allocations: 245.1 kB / 0.992 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.925e-05/0.2474, allocations: 39.53 kB / 0.9921 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005252/0.2479, allocations: 309.5 kB / 0.9924 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.2479, allocations: 4 kB / 0.9924 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.2479, allocations: 7.953 kB / 0.9924 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.2479, allocations: 0 / 0.9924 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008035/0.2487, allocations: 0.7755 MB / 0.9931 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.2488, allocations: 0 / 0.9931 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002023/0.249, allocations: 47.91 kB / 0.9932 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.249, allocations: 7.938 kB / 0.9932 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.752e-05/0.249, allocations: 8 kB / 0.9932 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.249, allocations: 3.953 kB / 0.9932 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.249, allocations: 4 kB / 0.9932 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006495/0.2497, allocations: 0.4917 MB / 0.9937 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.085e-05/0.2497, allocations: 124.6 kB / 0.9938 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.082e-05/0.2498, allocations: 4 kB / 0.9938 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000186/0.25, allocations: 19.98 kB / 0.9938 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.554e-05/0.25, allocations: 23.92 kB / 0.9939 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.2501, allocations: 8 kB / 0.9939 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000241/0.2503, allocations: 295.2 kB / 0.9941 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2503, allocations: 64 / 0.9941 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004335/0.2508, allocations: 155.5 kB / 0.9943 GB, free: 12.07 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.0008521/0.2516, allocations: 1.044 MB / 0.9953 GB, free: 11 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008343/0.2525, allocations: 0.5737 MB / 0.9959 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.2525, allocations: 0 / 0.9959 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001975/0.2527, allocations: 128.4 kB / 0.996 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004514/0.2531, allocations: 62.23 kB / 0.9961 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003038/0.2562, allocations: 2.278 MB / 0.9983 GB, free: 7.879 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002349/0.2564, allocations: 0.804 MB / 0.9991 GB, free: 7.043 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001877/0.2566, allocations: 55.23 kB / 0.9991 GB, free: 6.992 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000173/0.2568, allocations: 143.4 kB / 0.9993 GB, free: 6.855 MB / 0.6198 GB Notification: Performance of SimCode: time 5.21e-07/0.2568, allocations: 0 / 0.9993 GB, free: 6.855 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02014/0.277, allocations: 8.188 MB / 1.007 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002386/0.2772, allocations: 210.7 kB / 1.007 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.228/2.506, allocations: 2.344 kB / 1.007 GB, free: 14.66 MB / 0.6355 GB (rm -f Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Examples_VAVReheat_Controls_Examples_SupplyAirTemperature_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Examples_VAVReheat_Controls_Examples_SupplyAirTemperature.fmu > Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe 2>&1)