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 1.483/1.483, allocations: 287.4 MB / 302.5 MB, free: 8.238 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.0009108/0.0009108, allocations: 182.3 kB / 371.1 MB, free: 10.81 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.308/1.308, allocations: 205.4 MB / 0.6298 GB, free: 10.56 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.0007238/0.0007239, allocations: 87.02 kB / 0.7431 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000391/0.000391, allocations: 11.44 kB / 0.8662 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1797/0.1801, allocations: 115.3 MB / 0.9787 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature): time 0.002041/0.1822, allocations: 2.129 MB / 0.9808 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001108/0.1834, allocations: 0.8665 MB / 0.9817 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001817/0.1836, allocations: 4 kB / 0.9817 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001501/0.1837, allocations: 51.45 kB / 0.9817 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001175/0.1838, allocations: 35.66 kB / 0.9817 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000495/0.1843, allocations: 224.9 kB / 0.982 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003286/0.1847, allocations: 0.5126 MB / 0.9825 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003244/0.185, allocations: 271.7 kB / 0.9827 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001373/0.1852, allocations: 139.3 kB / 0.9829 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001439/0.1853, allocations: 155.1 kB / 0.983 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.005e-05/0.1854, allocations: 16 kB / 0.983 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.747e-05/0.1854, allocations: 27.92 kB / 0.983 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.756e-05/0.1855, allocations: 63.69 kB / 0.9831 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.28e-05/0.1856, allocations: 97.45 kB / 0.9832 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003319/0.1859, allocations: 0.5535 MB / 0.9837 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.1859, allocations: 7.984 kB / 0.9837 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.164e-06/0.1859, allocations: 0 / 0.9837 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.1859, allocations: 0 / 0.9837 GB, free: 22.93 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.0009142/0.1869, allocations: 0.6996 MB / 0.9844 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.1869, allocations: 8.031 kB / 0.9844 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.298e-05/0.187, allocations: 82.72 kB / 0.9845 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.258e-05/0.1871, allocations: 56.36 kB / 0.9846 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005/0.1876, allocations: 400.2 kB / 0.9849 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.152e-05/0.1876, allocations: 33.38 kB / 0.985 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.098e-05/0.1877, allocations: 44.38 kB / 0.985 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006007/0.1883, allocations: 438.5 kB / 0.9854 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.1883, allocations: 0 / 0.9854 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.942e-05/0.1883, allocations: 16 kB / 0.9855 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.1884, allocations: 8 kB / 0.9855 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000512/0.1889, allocations: 323.8 kB / 0.9858 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001608/0.1905, allocations: 1.432 MB / 0.9872 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005156/0.191, allocations: 260.5 kB / 0.9874 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001934/0.1912, allocations: 122.8 kB / 0.9875 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.775e-05/0.1913, allocations: 12.05 kB / 0.9875 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003424/0.1916, allocations: 203.9 kB / 0.9877 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=26): time 1.664e-06/0.1916, allocations: 0 / 0.9877 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=26): time 0.000624/0.1923, allocations: 344.9 kB / 0.9881 GB, free: 18.28 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/0.1923, allocations: 140.5 kB / 0.9882 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003392/0.1927, allocations: 417.6 kB / 0.9886 GB, free: 17.69 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.763e-05/0.1927, allocations: 37.7 kB / 0.9886 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.1928, allocations: 236.1 kB / 0.9889 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.282e-05/0.1929, allocations: 82.8 kB / 0.9889 GB, free: 17.33 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.932e-05/0.1929, allocations: 8 kB / 0.989 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.596e-05/0.193, allocations: 346.8 kB / 0.9893 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002329/0.1932, allocations: 124.3 kB / 0.9894 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002486/0.1935, allocations: 192.6 kB / 0.9896 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003961/0.1939, allocations: 290.2 kB / 0.9899 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1939, allocations: 0 / 0.9899 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006013/0.1945, allocations: 431.8 kB / 0.9903 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.54e-05/0.1945, allocations: 154.1 kB / 0.9904 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.1946, allocations: 8.125 kB / 0.9904 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.1946, allocations: 4.031 kB / 0.9904 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000238/0.1948, allocations: 55.91 kB / 0.9905 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.1948, allocations: 4 kB / 0.9905 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003434/0.1952, allocations: 91.48 kB / 0.9906 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.912e-05/0.1952, allocations: 15.98 kB / 0.9906 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.25e-06/0.1952, allocations: 4 kB / 0.9906 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000516/0.1958, allocations: 353.3 kB / 0.9909 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.224e-06/0.1958, allocations: 0 / 0.9909 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.138e-06/0.1958, allocations: 8.062 kB / 0.9909 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002021/0.196, allocations: 59.91 kB / 0.991 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.486e-06/0.196, allocations: 4 kB / 0.991 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002975/0.1963, allocations: 79.55 kB / 0.9911 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.583e-05/0.1963, allocations: 23.92 kB / 0.9911 GB, free: 15.02 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.0001478/0.1965, allocations: 249 kB / 0.9913 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.634e-05/0.1965, allocations: 39.53 kB / 0.9914 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005041/0.197, allocations: 317.5 kB / 0.9917 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.1971, allocations: 4 kB / 0.9917 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1971, allocations: 0 / 0.9917 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.1971, allocations: 0 / 0.9917 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007243/0.1978, allocations: 0.787 MB / 0.9925 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.1978, allocations: 0 / 0.9925 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001995/0.198, allocations: 47.98 kB / 0.9925 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.198, allocations: 0 / 0.9925 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.891e-05/0.1981, allocations: 11.98 kB / 0.9925 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1981, allocations: 0 / 0.9925 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1981, allocations: 0 / 0.9925 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000629/0.1987, allocations: 0.4995 MB / 0.993 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.825e-05/0.1988, allocations: 120.6 kB / 0.9931 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.19e-05/0.1988, allocations: 8 kB / 0.9931 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001844/0.199, allocations: 27.97 kB / 0.9931 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.064e-05/0.1991, allocations: 11.98 kB / 0.9932 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.811e-05/0.1991, allocations: 15.98 kB / 0.9932 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002322/0.1993, allocations: 291.2 kB / 0.9934 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1993, allocations: 4 kB / 0.9935 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004262/0.1998, allocations: 151.6 kB / 0.9936 GB, free: 12.36 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.0008146/0.2006, allocations: 1.04 MB / 0.9946 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007582/0.2014, allocations: 0.5735 MB / 0.9952 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.2014, allocations: 4.125 kB / 0.9952 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001911/0.2016, allocations: 119.8 kB / 0.9953 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004323/0.202, allocations: 65.52 kB / 0.9954 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002883/0.2049, allocations: 2.278 MB / 0.9976 GB, free: 8.164 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001742/0.2051, allocations: 0.804 MB / 0.9984 GB, free: 7.336 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001763/0.2053, allocations: 51.25 kB / 0.9984 GB, free: 7.285 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001619/0.2055, allocations: 151.4 kB / 0.9986 GB, free: 7.137 MB / 0.6198 GB Notification: Performance of SimCode: time 3.2e-07/0.2055, allocations: 0 / 0.9986 GB, free: 7.137 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01753/0.223, allocations: 8.162 MB / 1.007 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002014/0.2232, allocations: 200.2 kB / 1.007 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.393/2.616, allocations: 3.094 kB / 1.007 GB, free: 14.96 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)