Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.462/1.462, allocations: 252 MB / 267 MB, free: 10.97 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001034/0.001034, allocations: 189.4 kB / 326.6 MB, free: 2.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.708/1.708, allocations: 205.4 MB / 0.5777 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009465/0.0009466, allocations: 92.02 kB / 0.6823 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003729/0.0003729, allocations: 12.28 kB / 0.7964 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1835/0.1839, allocations: 106.3 MB / 0.9003 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.001767/0.1857, allocations: 1.503 MB / 0.9018 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003094/0.1861, allocations: 115.6 kB / 0.9019 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.472e-05/0.1862, allocations: 8 kB / 0.9019 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.262e-05/0.1863, allocations: 7.922 kB / 0.9019 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.777e-05/0.1864, allocations: 39.62 kB / 0.9019 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001183/0.1865, allocations: 23.97 kB / 0.902 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001522/0.1867, allocations: 163.1 kB / 0.9021 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.1868, allocations: 17.12 kB / 0.9021 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.028e-05/0.1869, allocations: 51.78 kB / 0.9022 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.583e-05/0.187, allocations: 63.75 kB / 0.9022 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.679e-05/0.187, allocations: 4 kB / 0.9022 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.489e-05/0.187, allocations: 4 kB / 0.9022 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.683e-05/0.1871, allocations: 15.92 kB / 0.9023 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.939e-05/0.1871, allocations: 45.64 kB / 0.9023 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.151e-05/0.1872, allocations: 80.06 kB / 0.9024 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.1872, allocations: 4 kB / 0.9024 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.315e-06/0.1872, allocations: 4 kB / 0.9024 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.1872, allocations: 3.938 kB / 0.9024 GB, free: 61.66 MB / 0.6042 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.0007139/0.1879, allocations: 434.9 kB / 0.9028 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.188, allocations: 16.03 kB / 0.9028 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.946e-05/0.188, allocations: 34.56 kB / 0.9029 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.791e-05/0.1881, allocations: 15.81 kB / 0.9029 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000194/0.1883, allocations: 210.7 kB / 0.9031 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.1883, allocations: 4 kB / 0.9031 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.752e-05/0.1883, allocations: 8 kB / 0.9031 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002765/0.1886, allocations: 127.3 kB / 0.9032 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.1886, allocations: 0 / 0.9032 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.1887, allocations: 7.938 kB / 0.9032 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.1887, allocations: 4 kB / 0.9032 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002874/0.189, allocations: 107.9 kB / 0.9033 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006747/0.1896, allocations: 484.5 kB / 0.9038 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003501/0.19, allocations: 137.2 kB / 0.9039 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001552/0.1902, allocations: 69.77 kB / 0.904 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.483e-05/0.1902, allocations: 4 kB / 0.904 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.666e-05/0.1902, allocations: 30.56 kB / 0.904 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.1902, allocations: 0 / 0.904 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0005553/0.1908, allocations: 205.6 kB / 0.9042 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.107e-05/0.1908, allocations: 77.11 kB / 0.9043 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.191, allocations: 182.9 kB / 0.9045 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.191, allocations: 25.7 kB / 0.9045 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.737e-05/0.191, allocations: 112.2 kB / 0.9046 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.09e-05/0.1911, allocations: 27.56 kB / 0.9046 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.093e-06/0.1911, allocations: 0 / 0.9046 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.332e-05/0.1911, allocations: 322.8 kB / 0.9049 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001438/0.1913, allocations: 55.91 kB / 0.905 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000133/0.1914, allocations: 69.61 kB / 0.905 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/0.1916, allocations: 56.05 kB / 0.9051 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1916, allocations: 0 / 0.9051 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003498/0.192, allocations: 161.4 kB / 0.9052 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.192, allocations: 8 kB / 0.9053 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.192, allocations: 0 / 0.9053 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.192, allocations: 7.953 kB / 0.9053 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/0.1922, allocations: 23.98 kB / 0.9053 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.1922, allocations: 0 / 0.9053 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/0.1923, allocations: 23.92 kB / 0.9053 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.1923, allocations: 4 kB / 0.9053 GB, free: 58.41 MB / 0.6042 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 7.662e-05/0.1924, allocations: 113.8 kB / 0.9054 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.015e-05/0.1925, allocations: 19.81 kB / 0.9054 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003933/0.1929, allocations: 174.5 kB / 0.9056 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.1929, allocations: 0 / 0.9056 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.1929, allocations: 3.953 kB / 0.9056 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.1929, allocations: 4 kB / 0.9056 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002274/0.1931, allocations: 213.7 kB / 0.9058 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1931, allocations: 7.875 kB / 0.9058 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001428/0.1933, allocations: 27.98 kB / 0.9058 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.1933, allocations: 8 kB / 0.9059 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.1933, allocations: 0 / 0.9059 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.1933, allocations: 0 / 0.9059 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.1933, allocations: 4.172 kB / 0.9059 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003719/0.1937, allocations: 334.5 kB / 0.9062 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.367e-05/0.1938, allocations: 88.95 kB / 0.9063 GB, free: 57.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.552e-05/0.1938, allocations: 0 / 0.9063 GB, free: 57.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/0.194, allocations: 19.98 kB / 0.9063 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.359e-05/0.194, allocations: 11.98 kB / 0.9063 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-06/0.1941, allocations: 3.953 kB / 0.9063 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.059e-05/0.1941, allocations: 123.2 kB / 0.9064 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.5e-07/0.1941, allocations: 0 / 0.9064 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002591/0.1944, allocations: 28 kB / 0.9064 GB, free: 57.15 MB / 0.6042 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.0005725/0.195, allocations: 0.8602 MB / 0.9073 GB, free: 56.26 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003327/0.1953, allocations: 115.9 kB / 0.9074 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1954, allocations: 0 / 0.9074 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001484/0.1955, allocations: 64.14 kB / 0.9075 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004973/0.196, allocations: 47.98 kB / 0.9075 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001382/0.1974, allocations: 0.8383 MB / 0.9083 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001665/0.1976, allocations: 0.7048 MB / 0.909 GB, free: 54.41 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001012/0.1977, allocations: 20.58 kB / 0.909 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.013e-05/0.1978, allocations: 27.44 kB / 0.9091 GB, free: 54.36 MB / 0.6042 GB Notification: Performance of SimCode: time 3.8e-07/0.1978, allocations: 0 / 0.9091 GB, free: 54.36 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01338/0.2112, allocations: 3.24 MB / 0.9122 GB, free: 51.34 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001595/0.2114, allocations: 215.3 kB / 0.9124 GB, free: 51.1 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.739/1.951, allocations: 64 / 0.9124 GB, free: 51.1 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)