Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.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.RoomVAV,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_VAVReheat_Controls_Examples_RoomVAV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_VAVReheat_Controls_Examples_RoomVAV",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.558/1.558, allocations: 288.4 MB / 303.6 MB, free: 8.164 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.0009837/0.0009836, allocations: 176.5 kB / 372.2 MB, free: 10.11 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.421/1.421, allocations: 205.4 MB / 0.631 GB, free: 9.875 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.0008603/0.0008603, allocations: 100.7 kB / 0.7444 GB, free: 5.762 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003778/0.0003778, allocations: 11.22 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1866/0.187, allocations: 115.3 MB / 0.9802 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV): time 0.002654/0.1897, allocations: 2.669 MB / 0.9828 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001476/0.1912, allocations: 0.7765 MB / 0.9836 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000398/0.1916, allocations: 12 kB / 0.9836 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000196/0.1918, allocations: 67.31 kB / 0.9836 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001547/0.192, allocations: 55.52 kB / 0.9837 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003292/0.1923, allocations: 147.8 kB / 0.9838 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000408/0.1927, allocations: 0.6378 MB / 0.9844 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004214/0.1932, allocations: 397.7 kB / 0.9848 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000171/0.1933, allocations: 167 kB / 0.985 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001513/0.1935, allocations: 198.7 kB / 0.9852 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.172e-05/0.1936, allocations: 16 kB / 0.9852 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 3.709e-05/0.1936, allocations: 19.94 kB / 0.9852 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.221e-05/0.1937, allocations: 79.55 kB / 0.9853 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001199/0.1938, allocations: 248.2 kB / 0.9855 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003967/0.1942, allocations: 0.7443 MB / 0.9862 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1942, allocations: 0 / 0.9862 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1942, allocations: 0 / 0.9862 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.1942, allocations: 0 / 0.9862 GB, free: 20.98 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001106/0.1953, allocations: 0.873 MB / 0.9871 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.1954, allocations: 8.031 kB / 0.9871 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.165e-05/0.1955, allocations: 94.7 kB / 0.9872 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.367e-05/0.1956, allocations: 72.09 kB / 0.9873 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004863/0.196, allocations: 487.1 kB / 0.9877 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.983e-05/0.1961, allocations: 45.69 kB / 0.9878 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.64e-05/0.1961, allocations: 52.38 kB / 0.9878 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008252/0.197, allocations: 0.5696 MB / 0.9884 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.197, allocations: 4 kB / 0.9884 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.85e-05/0.197, allocations: 20 kB / 0.9884 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/0.1971, allocations: 16 kB / 0.9884 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000776/0.1978, allocations: 447.7 kB / 0.9888 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001988/0.1998, allocations: 1.88 MB / 0.9907 GB, free: 16.24 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/0.201, allocations: 0.5553 MB / 0.9912 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000337/0.2014, allocations: 212.8 kB / 0.9914 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.985e-05/0.2014, allocations: 11.98 kB / 0.9914 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.2014, allocations: 42.5 kB / 0.9915 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=32): time 1.502e-06/0.2014, allocations: 0 / 0.9915 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=32): time 0.0009747/0.2024, allocations: 0.5242 MB / 0.992 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.278e-05/0.2025, allocations: 110.8 kB / 0.9921 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004393/0.2029, allocations: 0.5069 MB / 0.9926 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/0.2029, allocations: 33.64 kB / 0.9926 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001408/0.2031, allocations: 316 kB / 0.9929 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.374e-05/0.2031, allocations: 110.4 kB / 0.993 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.593e-05/0.2032, allocations: 11.94 kB / 0.993 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.746e-05/0.2032, allocations: 362.8 kB / 0.9934 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002983/0.2035, allocations: 160.7 kB / 0.9935 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003265/0.2039, allocations: 268.1 kB / 0.9938 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005808/0.2045, allocations: 382.4 kB / 0.9942 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2045, allocations: 0 / 0.9942 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007273/0.2052, allocations: 480.2 kB / 0.9946 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.632e-05/0.2053, allocations: 150.9 kB / 0.9948 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.2053, allocations: 0 / 0.9948 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.2053, allocations: 4 kB / 0.9948 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003149/0.2056, allocations: 95.88 kB / 0.9949 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.2056, allocations: 4 kB / 0.9949 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002779/0.2059, allocations: 87.48 kB / 0.9949 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.301e-05/0.2059, allocations: 12 kB / 0.995 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.761e-06/0.206, allocations: 4 kB / 0.995 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005083/0.2065, allocations: 339.4 kB / 0.9953 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.284e-06/0.2065, allocations: 4 kB / 0.9953 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.727e-06/0.2065, allocations: 4.219 kB / 0.9953 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002517/0.2067, allocations: 91.72 kB / 0.9954 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.2068, allocations: 4 kB / 0.9954 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002306/0.207, allocations: 71.56 kB / 0.9954 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.874e-05/0.207, allocations: 16 kB / 0.9955 GB, free: 11.15 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 5 (vavBoxCon.conCoo.con1.y,vavBoxCon.conHea.con1.y,$PRE.vavBoxCon.hysWitHol.y,vavBoxCon.hysWitHol.y,vavBoxCon.greThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * 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.0001835/0.2072, allocations: 269 kB / 0.9957 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.979e-05/0.2073, allocations: 51.34 kB / 0.9958 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007172/0.208, allocations: 433.3 kB / 0.9962 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.261e-06/0.208, allocations: 11.98 kB / 0.9962 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.208, allocations: 0 / 0.9962 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.208, allocations: 0 / 0.9962 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004776/0.2085, allocations: 0.5596 MB / 0.9967 GB, free: 9.781 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.2085, allocations: 0 / 0.9967 GB, free: 9.781 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002883/0.2088, allocations: 71.89 kB / 0.9968 GB, free: 9.711 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.2088, allocations: 4 kB / 0.9968 GB, free: 9.707 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.307e-05/0.2089, allocations: 15.92 kB / 0.9968 GB, free: 9.691 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.2089, allocations: 7.938 kB / 0.9968 GB, free: 9.684 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.2089, allocations: 0 / 0.9968 GB, free: 9.684 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009822/0.2099, allocations: 0.6822 MB / 0.9975 GB, free: 8.984 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.246e-05/0.2099, allocations: 136.3 kB / 0.9976 GB, free: 8.832 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.876e-05/0.21, allocations: 15.92 kB / 0.9976 GB, free: 8.816 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002469/0.2103, allocations: 44.03 kB / 0.9977 GB, free: 8.773 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.39e-05/0.2103, allocations: 27.95 kB / 0.9977 GB, free: 8.746 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.096e-05/0.2104, allocations: 12 kB / 0.9977 GB, free: 8.734 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002968/0.2107, allocations: 358.9 kB / 0.9981 GB, free: 8.387 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2107, allocations: 0 / 0.9981 GB, free: 8.387 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004766/0.2111, allocations: 179.3 kB / 0.9982 GB, free: 8.211 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (vavBoxCon.conHea.I.y,vavBoxCon.conCoo.I.y) * Number of discrete variables: 1 (vavBoxCon.hysWitHol.y) * Number of discrete states: 1 (vavBoxCon.hysWitHol.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001185/0.2123, allocations: 1.243 MB / 0.9995 GB, free: 6.938 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009234/0.2133, allocations: 0.5634 MB / 1 GB, free: 6.375 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.2133, allocations: 192 / 1 GB, free: 6.375 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003037/0.2136, allocations: 187.7 kB / 1 GB, free: 6.191 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005912/0.2142, allocations: 96.25 kB / 1 GB, free: 6.102 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004165/0.2184, allocations: 3.096 MB / 1.003 GB, free: 2.934 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002248/0.2186, allocations: 0.8588 MB / 1.004 GB, free: 2.043 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002396/0.2189, allocations: 68.2 kB / 1.004 GB, free: 1.977 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002307/0.2191, allocations: 203.4 kB / 1.004 GB, free: 1.777 MB / 0.6198 GB Notification: Performance of SimCode: time 1.362e-06/0.2191, allocations: 0 / 1.004 GB, free: 1.777 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6239/0.843, allocations: 9.606 MB / 1.014 GB, free: 8.371 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002232/0.8433, allocations: 200.2 kB / 1.014 GB, free: 8.129 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.249/3.092, allocations: 2.812 kB / 1.014 GB, free: 8.129 MB / 0.6355 GB (rm -f Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Examples_VAVReheat_Controls_Examples_RoomVAV_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Examples_VAVReheat_Controls_Examples_RoomVAV.fmu > Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe 2>&1)