Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.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.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",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.681/1.681, allocations: 288.2 MB / 303.2 MB, free: 8.059 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.001406/0.001406, allocations: 185 kB / 371.8 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.906/1.906, allocations: 205.4 MB / 0.6305 GB, free: 10.05 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.0009425/0.0009425, allocations: 94.59 kB / 0.7439 GB, free: 5.977 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004241/0.0004242, allocations: 10.59 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2468/0.2472, allocations: 115.3 MB / 0.9795 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7819/1.029, allocations: 138.6 MB / 1.115 GB, free: 16.36 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002103/1.029, allocations: 75.72 kB / 1.115 GB, free: 16.36 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005726/1.035, allocations: 1.861 MB / 1.117 GB, free: 31.94 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.103e-06/1.035, allocations: 0 / 1.117 GB, free: 31.94 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.782e-05/1.035, allocations: 3.844 kB / 1.117 GB, free: 31.94 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008102/1.036, allocations: 444 kB / 1.117 GB, free: 31.54 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.488e-05/1.036, allocations: 9.094 kB / 1.117 GB, free: 31.54 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.304e-05/1.036, allocations: 39.11 kB / 1.117 GB, free: 31.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.576e-05/1.036, allocations: 15.81 kB / 1.117 GB, free: 31.5 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002853/1.037, allocations: 199.2 kB / 1.117 GB, free: 31.29 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/1.037, allocations: 7.656 kB / 1.117 GB, free: 31.29 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.882e-05/1.037, allocations: 3.75 kB / 1.117 GB, free: 31.29 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003294/1.037, allocations: 129.9 kB / 1.118 GB, free: 31.23 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/1.037, allocations: 4 kB / 1.118 GB, free: 31.23 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.691e-05/1.037, allocations: 3.75 kB / 1.118 GB, free: 31.23 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/1.037, allocations: 0 / 1.118 GB, free: 31.23 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003011/1.037, allocations: 113.5 kB / 1.118 GB, free: 31.22 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007809/1.038, allocations: 474 kB / 1.118 GB, free: 30.86 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003539/1.038, allocations: 139.4 kB / 1.118 GB, free: 30.81 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.834e-05/1.039, allocations: 3.812 kB / 1.118 GB, free: 30.81 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/1.039, allocations: 37.27 kB / 1.118 GB, free: 30.77 MB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 1.382e-06/1.039, allocations: 4 kB / 1.118 GB, free: 30.76 MB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0005635/1.039, allocations: 202.6 kB / 1.118 GB, free: 30.72 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/1.039, allocations: 84.8 kB / 1.119 GB, free: 30.62 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/1.039, allocations: 152.1 kB / 1.119 GB, free: 30.53 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/1.039, allocations: 25.7 kB / 1.119 GB, free: 30.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.224e-05/1.039, allocations: 113 kB / 1.119 GB, free: 30.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.148e-05/1.039, allocations: 32.56 kB / 1.119 GB, free: 30.38 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.763e-06/1.039, allocations: 3.938 kB / 1.119 GB, free: 30.38 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001179/1.04, allocations: 327.9 kB / 1.119 GB, free: 30.07 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001373/1.04, allocations: 48.19 kB / 1.119 GB, free: 30.07 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/1.04, allocations: 72.61 kB / 1.119 GB, free: 30.04 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001597/1.04, allocations: 51.53 kB / 1.119 GB, free: 30.04 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/1.04, allocations: 0 / 1.119 GB, free: 30.04 MB / 0.698 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003376/1.04, allocations: 160.8 kB / 1.12 GB, free: 30 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/1.04, allocations: 3.906 kB / 1.12 GB, free: 30 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/1.04, allocations: 4 kB / 1.12 GB, free: 29.99 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/1.04, allocations: 3.812 kB / 1.12 GB, free: 29.99 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001665/1.041, allocations: 24.31 kB / 1.12 GB, free: 29.99 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/1.041, allocations: 3.953 kB / 1.12 GB, free: 29.99 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001356/1.041, allocations: 22.8 kB / 1.12 GB, free: 29.98 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/1.041, allocations: 3.906 kB / 1.12 GB, free: 29.98 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001109/1.041, allocations: 118.8 kB / 1.12 GB, free: 29.87 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.749e-05/1.041, allocations: 15.5 kB / 1.12 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004192/1.041, allocations: 172.8 kB / 1.12 GB, free: 29.81 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/1.041, allocations: 0 / 1.12 GB, free: 29.81 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/1.041, allocations: 3.906 kB / 1.12 GB, free: 29.81 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/1.041, allocations: 5.125 kB / 1.12 GB, free: 29.81 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002779/1.042, allocations: 225 kB / 1.12 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/1.042, allocations: 0 / 1.12 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001521/1.042, allocations: 25.55 kB / 1.12 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/1.042, allocations: 0 / 1.12 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/1.042, allocations: 0 / 1.12 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/1.042, allocations: 3.906 kB / 1.12 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/1.042, allocations: 1.359 kB / 1.12 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004072/1.042, allocations: 341.8 kB / 1.12 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.674e-05/1.042, allocations: 90 kB / 1.121 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.751e-05/1.042, allocations: 7.969 kB / 1.121 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001829/1.043, allocations: 15.22 kB / 1.121 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.326e-05/1.043, allocations: 10.39 kB / 1.121 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/1.043, allocations: 5.344 kB / 1.121 GB, free: 29.27 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001071/1.043, allocations: 126.6 kB / 1.121 GB, free: 29.19 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.41e-07/1.043, allocations: 0 / 1.121 GB, free: 29.19 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002801/1.043, allocations: 23.28 kB / 1.121 GB, free: 29.19 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.0007387/1.044, allocations: 0.9435 MB / 1.122 GB, free: 28.36 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003298/1.044, allocations: 117.8 kB / 1.122 GB, free: 28.35 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/1.044, allocations: 0 / 1.122 GB, free: 28.35 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000145/1.044, allocations: 62.73 kB / 1.122 GB, free: 28.35 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003654/1.045, allocations: 52.59 kB / 1.122 GB, free: 28.33 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00146/1.046, allocations: 0.9852 MB / 1.123 GB, free: 27.75 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002811/1.047, allocations: 0.7104 MB / 1.124 GB, free: 27.05 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 9.32e-05/1.047, allocations: 7.031 kB / 1.124 GB, free: 27.05 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.224e-05/1.047, allocations: 33.75 kB / 1.124 GB, free: 27.05 MB / 0.698 GB Notification: Performance of SimCode: time 3.71e-07/1.047, allocations: 4 kB / 1.124 GB, free: 27.04 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01371/1.06, allocations: 3.206 MB / 1.127 GB, free: 26.81 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001724/1.061, allocations: 216 kB / 1.127 GB, free: 26.57 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.601/2.661, allocations: 0 / 1.127 GB, free: 26.57 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)