Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.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.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.725/2.725, allocations: 287.3 MB / 302.3 MB, free: 8.32 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.00216/0.00216, allocations: 189.9 kB / 370.8 MB, free: 10.8 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.088/2.088, allocations: 205.4 MB / 0.6295 GB, free: 10.55 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.001172/0.001171, allocations: 91.73 kB / 0.7428 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004947/0.0004948, allocations: 16.22 kB / 0.8657 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2185/0.2191, allocations: 115.3 MB / 0.9783 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9081/1.127, allocations: 138.4 MB / 1.113 GB, free: 15.38 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002415/1.128, allocations: 73.22 kB / 1.114 GB, free: 15.38 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007957/1.136, allocations: 1.857 MB / 1.115 GB, free: 30.96 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.814e-06/1.136, allocations: 0 / 1.115 GB, free: 30.96 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.854e-05/1.136, allocations: 3.812 kB / 1.115 GB, free: 30.96 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.0008564/1.136, allocations: 447.2 kB / 1.116 GB, free: 30.56 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/1.137, allocations: 11.64 kB / 1.116 GB, free: 30.56 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.012e-05/1.137, allocations: 38.41 kB / 1.116 GB, free: 30.52 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.195e-05/1.137, allocations: 11.81 kB / 1.116 GB, free: 30.52 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002497/1.137, allocations: 206.9 kB / 1.116 GB, free: 30.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/1.137, allocations: 7.844 kB / 1.116 GB, free: 30.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.481e-05/1.137, allocations: 7.75 kB / 1.116 GB, free: 30.3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003933/1.137, allocations: 129.9 kB / 1.116 GB, free: 30.25 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/1.137, allocations: 0 / 1.116 GB, free: 30.25 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.754e-05/1.137, allocations: 0 / 1.116 GB, free: 30.25 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/1.137, allocations: 3.844 kB / 1.116 GB, free: 30.25 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004902/1.138, allocations: 116.3 kB / 1.116 GB, free: 30.24 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009801/1.139, allocations: 475.5 kB / 1.117 GB, free: 29.88 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005236/1.139, allocations: 133.5 kB / 1.117 GB, free: 29.82 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.304e-05/1.14, allocations: 7.422 kB / 1.117 GB, free: 29.82 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/1.14, allocations: 44.73 kB / 1.117 GB, free: 29.78 MB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 2.224e-06/1.14, allocations: 0 / 1.117 GB, free: 29.78 MB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0009138/1.141, allocations: 200 kB / 1.117 GB, free: 29.73 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.739e-05/1.141, allocations: 80.77 kB / 1.117 GB, free: 29.64 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001827/1.141, allocations: 154.4 kB / 1.117 GB, free: 29.54 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.526e-05/1.141, allocations: 29.7 kB / 1.117 GB, free: 29.51 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.753e-05/1.141, allocations: 110 kB / 1.117 GB, free: 29.41 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.468e-05/1.141, allocations: 29.42 kB / 1.118 GB, free: 29.39 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.378e-05/1.141, allocations: 5.219 kB / 1.118 GB, free: 29.39 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001368/1.141, allocations: 323.4 kB / 1.118 GB, free: 29.08 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002395/1.141, allocations: 48.97 kB / 1.118 GB, free: 29.08 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002437/1.142, allocations: 66.19 kB / 1.118 GB, free: 29.06 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000249/1.142, allocations: 54.02 kB / 1.118 GB, free: 29.06 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/1.142, allocations: 4 kB / 1.118 GB, free: 29.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005914/1.143, allocations: 159 kB / 1.118 GB, free: 29.01 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/1.143, allocations: 7.75 kB / 1.118 GB, free: 29.01 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/1.143, allocations: 4 kB / 1.118 GB, free: 29.01 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.87e-05/1.143, allocations: 3.953 kB / 1.118 GB, free: 29 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003064/1.143, allocations: 36.25 kB / 1.118 GB, free: 29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/1.143, allocations: 0 / 1.118 GB, free: 29 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002154/1.143, allocations: 10.16 kB / 1.118 GB, free: 29 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/1.143, allocations: 3.844 kB / 1.118 GB, free: 29 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.0001366/1.143, allocations: 122.9 kB / 1.118 GB, free: 28.88 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.534e-05/1.143, allocations: 15.5 kB / 1.118 GB, free: 28.88 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000664/1.144, allocations: 172.4 kB / 1.119 GB, free: 28.83 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/1.144, allocations: 0 / 1.119 GB, free: 28.83 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/1.144, allocations: 6.547 kB / 1.119 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/1.144, allocations: 3.844 kB / 1.119 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000367/1.144, allocations: 223 kB / 1.119 GB, free: 28.63 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/1.145, allocations: 3.844 kB / 1.119 GB, free: 28.63 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002517/1.145, allocations: 28.3 kB / 1.119 GB, free: 28.63 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/1.145, allocations: 0 / 1.119 GB, free: 28.63 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/1.145, allocations: 4 kB / 1.119 GB, free: 28.62 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/1.145, allocations: 3.969 kB / 1.119 GB, free: 28.62 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/1.145, allocations: 3.938 kB / 1.119 GB, free: 28.62 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006317/1.145, allocations: 338.2 kB / 1.119 GB, free: 28.39 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.854e-05/1.146, allocations: 88.77 kB / 1.119 GB, free: 28.29 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.986e-05/1.146, allocations: 10.97 kB / 1.119 GB, free: 28.28 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002702/1.146, allocations: 14.67 kB / 1.119 GB, free: 28.28 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.012e-05/1.146, allocations: 10.88 kB / 1.119 GB, free: 28.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/1.146, allocations: 11 kB / 1.119 GB, free: 28.27 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000123/1.146, allocations: 118.8 kB / 1.119 GB, free: 28.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.01e-07/1.146, allocations: 0 / 1.119 GB, free: 28.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003708/1.147, allocations: 29.53 kB / 1.119 GB, free: 28.2 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.000979/1.148, allocations: 0.9311 MB / 1.12 GB, free: 27.37 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005551/1.148, allocations: 118.2 kB / 1.12 GB, free: 27.36 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/1.148, allocations: 0 / 1.12 GB, free: 27.36 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002673/1.148, allocations: 68.41 kB / 1.12 GB, free: 27.36 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004806/1.149, allocations: 46.36 kB / 1.12 GB, free: 27.34 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002105/1.151, allocations: 0.9759 MB / 1.121 GB, free: 26.77 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004073/1.151, allocations: 0.7077 MB / 1.122 GB, free: 26.07 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001692/1.152, allocations: 18.95 kB / 1.122 GB, free: 26.07 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/1.152, allocations: 33.38 kB / 1.122 GB, free: 26.06 MB / 0.698 GB Notification: Performance of SimCode: time 1.051e-06/1.152, allocations: 0 / 1.122 GB, free: 26.06 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02094/1.173, allocations: 3.216 MB / 1.125 GB, free: 25.82 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002725/1.173, allocations: 198.7 kB / 1.126 GB, free: 25.59 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.412/3.585, allocations: 0 / 1.126 GB, free: 25.59 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)