Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 96.62 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006654/0.006654, allocations: 169.8 kB / 16.27 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001669/0.001669, allocations: 278.8 kB / 291.7 MB, free: 1.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9777/0.9777, allocations: 169.5 MB / 0.5004 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005115/0.0005117, allocations: 13.19 kB / 0.5988 GB, free: 28.13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1817/0.1823, allocations: 88.54 MB / 0.6852 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.001992/0.1843, allocations: 1.532 MB / 0.6867 GB, free: 13.45 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002712/0.1846, allocations: 121.1 kB / 0.6868 GB, free: 13.33 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.797e-05/0.1847, allocations: 4.531 kB / 0.6868 GB, free: 13.32 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001012/0.1848, allocations: 7.922 kB / 0.6868 GB, free: 13.32 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001065/0.1849, allocations: 50.22 kB / 0.6869 GB, free: 13.27 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001232/0.1851, allocations: 27.97 kB / 0.6869 GB, free: 13.24 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001972/0.1853, allocations: 167.2 kB / 0.6871 GB, free: 13.08 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.1854, allocations: 21.89 kB / 0.6871 GB, free: 13.06 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.527e-05/0.1855, allocations: 55.78 kB / 0.6872 GB, free: 13.01 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.1856, allocations: 59.7 kB / 0.6872 GB, free: 12.95 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.486e-05/0.1856, allocations: 4 kB / 0.6872 GB, free: 12.95 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.239e-05/0.1857, allocations: 4 kB / 0.6872 GB, free: 12.94 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.787e-05/0.1857, allocations: 19.91 kB / 0.6872 GB, free: 12.92 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.443e-05/0.1858, allocations: 85.38 kB / 0.6873 GB, free: 12.83 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001421/0.1859, allocations: 127.4 kB / 0.6874 GB, free: 12.71 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.186, allocations: 0.9375 kB / 0.6874 GB, free: 12.71 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.186, allocations: 0 / 0.6874 GB, free: 12.71 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.186, allocations: 0.6562 kB / 0.6874 GB, free: 12.71 MB / 494.1 MB 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.0007175/0.1867, allocations: 446.8 kB / 0.6879 GB, free: 12.22 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.741e-05/0.1868, allocations: 8.031 kB / 0.6879 GB, free: 12.21 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.901e-05/0.1868, allocations: 35.38 kB / 0.6879 GB, free: 12.17 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.333e-05/0.1869, allocations: 12.84 kB / 0.6879 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002226/0.1871, allocations: 208 kB / 0.6881 GB, free: 11.92 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.1871, allocations: 4.375 kB / 0.6881 GB, free: 11.92 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.088e-05/0.1871, allocations: 12.36 kB / 0.6881 GB, free: 11.91 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002945/0.1874, allocations: 126.1 kB / 0.6883 GB, free: 11.77 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.1875, allocations: 7.922 kB / 0.6883 GB, free: 11.77 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.1875, allocations: 4 kB / 0.6883 GB, free: 11.76 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.1875, allocations: 0 / 0.6883 GB, free: 11.76 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003186/0.1878, allocations: 115.9 kB / 0.6884 GB, free: 11.65 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006895/0.1885, allocations: 476.8 kB / 0.6888 GB, free: 11.13 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003671/0.1889, allocations: 133.1 kB / 0.689 GB, free: 10.98 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001781/0.1891, allocations: 73.78 kB / 0.689 GB, free: 10.9 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.946e-05/0.1891, allocations: 4 kB / 0.689 GB, free: 10.9 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.1892, allocations: 34.5 kB / 0.6891 GB, free: 10.86 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.1892, allocations: 0 / 0.6891 GB, free: 10.86 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.000605/0.1898, allocations: 205.5 kB / 0.6893 GB, free: 10.65 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/0.1898, allocations: 81.09 kB / 0.6893 GB, free: 10.55 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/0.19, allocations: 168.6 kB / 0.6895 GB, free: 10.38 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.19, allocations: 29.7 kB / 0.6895 GB, free: 10.34 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.004e-05/0.1901, allocations: 108 kB / 0.6896 GB, free: 10.23 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.697e-05/0.1901, allocations: 31.55 kB / 0.6897 GB, free: 10.2 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.017e-05/0.1902, allocations: 13.72 kB / 0.6897 GB, free: 10.18 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.1903, allocations: 326.8 kB / 0.69 GB, free: 9.855 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/0.1904, allocations: 51.97 kB / 0.69 GB, free: 9.805 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001531/0.1906, allocations: 65.69 kB / 0.6901 GB, free: 9.734 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003058/0.1909, allocations: 121.6 kB / 0.6902 GB, free: 9.609 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1909, allocations: 0 / 0.6902 GB, free: 9.609 MB / 494.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003553/0.1913, allocations: 161.8 kB / 0.6904 GB, free: 9.445 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.1913, allocations: 4.188 kB / 0.6904 GB, free: 9.441 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.1913, allocations: 3.938 kB / 0.6904 GB, free: 9.438 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.1913, allocations: 8 kB / 0.6904 GB, free: 9.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000157/0.1915, allocations: 35.92 kB / 0.6904 GB, free: 9.395 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.1915, allocations: 0 / 0.6904 GB, free: 9.395 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001215/0.1916, allocations: 15.92 kB / 0.6904 GB, free: 9.379 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.1917, allocations: 4 kB / 0.6904 GB, free: 9.375 MB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.558e-05/0.1918, allocations: 118.5 kB / 0.6906 GB, free: 9.25 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.324e-05/0.1918, allocations: 15.81 kB / 0.6906 GB, free: 9.234 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004478/0.1923, allocations: 178.5 kB / 0.6907 GB, free: 9.055 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.1923, allocations: 0 / 0.6907 GB, free: 9.055 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.1923, allocations: 8 kB / 0.6907 GB, free: 9.047 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1923, allocations: 3.938 kB / 0.6907 GB, free: 9.043 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002816/0.1926, allocations: 217.7 kB / 0.691 GB, free: 8.781 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1926, allocations: 0 / 0.691 GB, free: 8.781 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001393/0.1927, allocations: 31.91 kB / 0.691 GB, free: 8.75 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.1928, allocations: 4 kB / 0.691 GB, free: 8.746 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.1928, allocations: 0 / 0.691 GB, free: 8.746 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1928, allocations: 0 / 0.691 GB, free: 8.746 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1928, allocations: 0 / 0.691 GB, free: 8.746 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004121/0.1932, allocations: 330.5 kB / 0.6913 GB, free: 8.406 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.686e-05/0.1933, allocations: 93.23 kB / 0.6914 GB, free: 8.297 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.654e-05/0.1933, allocations: 8 kB / 0.6914 GB, free: 8.289 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001732/0.1935, allocations: 15.89 kB / 0.6914 GB, free: 8.273 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.229e-05/0.1936, allocations: 11.92 kB / 0.6914 GB, free: 8.262 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/0.1936, allocations: 0 / 0.6914 GB, free: 8.262 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001064/0.1937, allocations: 136.7 kB / 0.6916 GB, free: 8.129 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1937, allocations: 0 / 0.6916 GB, free: 8.129 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002848/0.194, allocations: 32 kB / 0.6916 GB, free: 8.098 MB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006785/0.1947, allocations: 0.8483 MB / 0.6924 GB, free: 7.219 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003655/0.195, allocations: 128 kB / 0.6925 GB, free: 7.094 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.195, allocations: 0 / 0.6925 GB, free: 7.094 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001608/0.1952, allocations: 60.22 kB / 0.6926 GB, free: 7.035 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004913/0.1957, allocations: 44.66 kB / 0.6926 GB, free: 6.992 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002195/0.1979, allocations: 1.889 MB / 0.6945 GB, free: 5.012 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002511/0.1982, allocations: 0.7087 MB / 0.6952 GB, free: 4.277 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 9.263e-05/0.1983, allocations: 12.66 kB / 0.6952 GB, free: 4.262 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.613e-05/0.1984, allocations: 39.36 kB / 0.6952 GB, free: 4.223 MB / 494.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1984, allocations: 0 / 0.6952 GB, free: 4.223 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01412/0.2125, allocations: 3.244 MB / 0.6984 GB, free: 1.203 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001962/0.2127, allocations: 235.5 kB / 0.6986 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.706/1.918, allocations: 0 / 0.6986 GB, free: 0.9414 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)