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.599/2.599, allocations: 287.3 MB / 302.3 MB, free: 8.277 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.00163/0.001629, allocations: 178.3 kB / 370.8 MB, free: 10.85 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.116/2.116, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001649/0.001649, allocations: 102.1 kB / 0.7428 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005295/0.0005294, allocations: 12.41 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2358/0.2364, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9351/1.172, allocations: 141.9 MB / 1.117 GB, free: 15.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002606/1.172, allocations: 85 kB / 1.117 GB, free: 15.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02901/1.201, allocations: 7.442 MB / 1.124 GB, free: 30.98 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.234e-06/1.201, allocations: 0 / 1.124 GB, free: 30.98 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.289e-05/1.201, allocations: 15.53 kB / 1.124 GB, free: 30.98 MB / 0.698 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.001794/1.203, allocations: 0.7366 MB / 1.125 GB, free: 30.43 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/1.203, allocations: 15.52 kB / 1.125 GB, free: 30.42 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001629/1.203, allocations: 82.53 kB / 1.125 GB, free: 30.38 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001529/1.203, allocations: 50.59 kB / 1.125 GB, free: 30.36 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008557/1.204, allocations: 393.8 kB / 1.125 GB, free: 30.11 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.439e-05/1.204, allocations: 35.66 kB / 1.125 GB, free: 30.11 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.798e-05/1.204, allocations: 38.53 kB / 1.126 GB, free: 30.11 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/1.205, allocations: 442.2 kB / 1.126 GB, free: 30.04 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.055e-05/1.205, allocations: 3.938 kB / 1.126 GB, free: 30.04 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.064e-05/1.205, allocations: 22.91 kB / 1.126 GB, free: 30.04 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/1.205, allocations: 7.656 kB / 1.126 GB, free: 30.04 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000942/1.206, allocations: 330.5 kB / 1.126 GB, free: 30.03 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002919/1.209, allocations: 1.371 MB / 1.128 GB, free: 29.56 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/1.21, allocations: 306.7 kB / 1.128 GB, free: 29.53 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.397e-05/1.211, allocations: 12.19 kB / 1.128 GB, free: 29.52 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005816/1.211, allocations: 230.3 kB / 1.128 GB, free: 29.43 MB / 0.698 GB Notification: Performance of pre-optimization done (n=30): time 3.447e-06/1.211, allocations: 0 / 1.128 GB, free: 29.43 MB / 0.698 GB Notification: Performance of matching and sorting (n=30): time 0.001293/1.212, allocations: 405.1 kB / 1.129 GB, free: 29.37 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001137/1.213, allocations: 159.8 kB / 1.129 GB, free: 29.18 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005904/1.213, allocations: 370.1 kB / 1.129 GB, free: 29.07 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.434e-05/1.213, allocations: 32.14 kB / 1.129 GB, free: 29.04 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002313/1.214, allocations: 228.9 kB / 1.129 GB, free: 28.92 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.404e-05/1.214, allocations: 98.81 kB / 1.129 GB, free: 28.86 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.466e-05/1.214, allocations: 6.75 kB / 1.129 GB, free: 28.86 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001695/1.214, allocations: 351.6 kB / 1.13 GB, free: 28.55 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004562/1.214, allocations: 128.1 kB / 1.13 GB, free: 28.55 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000484/1.215, allocations: 206.6 kB / 1.13 GB, free: 28.46 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004861/1.215, allocations: 173.5 kB / 1.13 GB, free: 28.43 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/1.215, allocations: 4 kB / 1.13 GB, free: 28.43 MB / 0.698 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001207/1.217, allocations: 423.6 kB / 1.131 GB, free: 28.33 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001807/1.217, allocations: 311.6 kB / 1.131 GB, free: 28.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/1.217, allocations: 0 / 1.131 GB, free: 28.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/1.217, allocations: 3.969 kB / 1.131 GB, free: 28.02 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004947/1.217, allocations: 58.48 kB / 1.131 GB, free: 28.02 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.377e-06/1.217, allocations: 0 / 1.131 GB, free: 28.02 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007232/1.218, allocations: 90.59 kB / 1.131 GB, free: 28 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.234e-05/1.218, allocations: 15.03 kB / 1.131 GB, free: 28 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/1.218, allocations: 3.812 kB / 1.131 GB, free: 28 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009792/1.219, allocations: 363.1 kB / 1.131 GB, free: 27.95 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/1.219, allocations: 3.875 kB / 1.131 GB, free: 27.95 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.545e-06/1.219, allocations: 3.953 kB / 1.131 GB, free: 27.94 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004245/1.22, allocations: 56 kB / 1.131 GB, free: 27.94 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/1.22, allocations: 3.875 kB / 1.131 GB, free: 27.94 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006233/1.22, allocations: 81.33 kB / 1.132 GB, free: 27.91 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.215e-05/1.22, allocations: 13.14 kB / 1.132 GB, free: 27.91 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,$whenCondition3,$PRE.uEna.y,uEna.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * 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.0003968/1.221, allocations: 243.8 kB / 1.132 GB, free: 27.72 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.585e-05/1.221, allocations: 41.69 kB / 1.132 GB, free: 27.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001026/1.222, allocations: 357 kB / 1.132 GB, free: 27.64 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-06/1.222, allocations: 7.922 kB / 1.132 GB, free: 27.64 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/1.222, allocations: 0 / 1.132 GB, free: 27.64 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.315e-06/1.222, allocations: 3 kB / 1.132 GB, free: 27.64 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001635/1.224, allocations: 0.8919 MB / 1.133 GB, free: 27.26 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/1.224, allocations: 3.953 kB / 1.133 GB, free: 27.26 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004665/1.224, allocations: 66.25 kB / 1.133 GB, free: 27.24 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/1.224, allocations: 0 / 1.133 GB, free: 27.24 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.219e-05/1.224, allocations: 10.41 kB / 1.133 GB, free: 27.24 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.624e-06/1.224, allocations: 7.828 kB / 1.133 GB, free: 27.23 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/1.224, allocations: 0 / 1.133 GB, free: 27.23 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001412/1.226, allocations: 0.6035 MB / 1.134 GB, free: 26.96 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001513/1.226, allocations: 130.9 kB / 1.134 GB, free: 26.84 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.016e-05/1.226, allocations: 7.469 kB / 1.134 GB, free: 26.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003723/1.226, allocations: 27 kB / 1.134 GB, free: 26.83 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.034e-05/1.226, allocations: 26.39 kB / 1.134 GB, free: 26.82 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.931e-05/1.226, allocations: 9.75 kB / 1.134 GB, free: 26.82 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004429/1.227, allocations: 287.6 kB / 1.134 GB, free: 26.71 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.8e-07/1.227, allocations: 4 kB / 1.134 GB, free: 26.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007958/1.228, allocations: 164.2 kB / 1.134 GB, free: 26.68 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (33): * Single equations (assignments): 32 * 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.001872/1.23, allocations: 1.384 MB / 1.136 GB, free: 25.66 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001565/1.231, allocations: 0.5956 MB / 1.136 GB, free: 25.47 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/1.231, allocations: 0 / 1.136 GB, free: 25.47 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004293/1.232, allocations: 155.8 kB / 1.136 GB, free: 25.44 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006518/1.232, allocations: 58.97 kB / 1.136 GB, free: 25.43 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002534/1.235, allocations: 1.471 MB / 1.138 GB, free: 24.29 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004662/1.235, allocations: 0.8246 MB / 1.139 GB, free: 23.52 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003529/1.236, allocations: 46.38 kB / 1.139 GB, free: 23.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002979/1.236, allocations: 149.6 kB / 1.139 GB, free: 23.48 MB / 0.698 GB Notification: Performance of SimCode: time 1.533e-06/1.236, allocations: 0 / 1.139 GB, free: 23.48 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03369/1.27, allocations: 8.169 MB / 1.147 GB, free: 19.71 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002311/1.27, allocations: 204.6 kB / 1.147 GB, free: 19.46 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.777/4.047, allocations: 0 / 1.147 GB, free: 19.46 MB / 0.698 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)