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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001626/0.001626, allocations: 97.92 kB / 19.73 MB, free: 2.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 219.8 kB / 23.03 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.437/1.437, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002429/0.002429, allocations: 293.5 kB / 313.5 MB, free: 2.703 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.221/1.221, allocations: 180.6 MB / 0.5377 GB, free: 14.48 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002824/0.002824, allocations: 96.72 kB / 0.7402 GB, free: 28.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1771/0.18, allocations: 95.38 MB / 0.8334 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003317/0.1833, allocations: 1.787 MB / 0.8351 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.000369/0.1836, allocations: 115.9 kB / 0.8352 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001108/0.1838, allocations: 7.938 kB / 0.8352 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001171/0.1839, allocations: 15.84 kB / 0.8352 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001171/0.184, allocations: 51.5 kB / 0.8353 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001504/0.1841, allocations: 35.94 kB / 0.8353 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002544/0.1844, allocations: 175.1 kB / 0.8355 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.1845, allocations: 17.03 kB / 0.8355 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/0.1846, allocations: 55.84 kB / 0.8356 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/0.1847, allocations: 75.69 kB / 0.8356 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.256e-05/0.1848, allocations: 8 kB / 0.8356 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 3.041e-05/0.1848, allocations: 8 kB / 0.8356 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.683e-05/0.1848, allocations: 31.84 kB / 0.8357 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.454e-05/0.1849, allocations: 51.8 kB / 0.8357 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001985/0.1851, allocations: 127.5 kB / 0.8358 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.1851, allocations: 0 / 0.8358 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.433e-06/0.1851, allocations: 0 / 0.8358 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.1851, allocations: 0 / 0.8358 GB, free: 5.797 MB / 0.5762 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.0008005/0.1859, allocations: 381.6 kB / 0.8362 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.186, allocations: 13.34 kB / 0.8362 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.942e-05/0.186, allocations: 4.188 kB / 0.8362 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.008e-05/0.186, allocations: 38.75 kB / 0.8363 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.402e-05/0.1861, allocations: 20.78 kB / 0.8363 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002758/0.1864, allocations: 150.2 kB / 0.8364 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.1864, allocations: 8.375 kB / 0.8364 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/0.1864, allocations: 4.375 kB / 0.8364 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003041/0.1867, allocations: 121.8 kB / 0.8366 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.1867, allocations: 0 / 0.8366 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.972e-05/0.1867, allocations: 8 kB / 0.8366 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.1867, allocations: 4 kB / 0.8366 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003235/0.187, allocations: 99.84 kB / 0.8367 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000785/0.1878, allocations: 423.9 kB / 0.8371 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003854/0.1882, allocations: 117.2 kB / 0.8372 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001755/0.1884, allocations: 61.78 kB / 0.8372 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.667e-05/0.1884, allocations: 3.938 kB / 0.8372 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.1885, allocations: 38.56 kB / 0.8373 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=9): time 1.252e-06/0.1885, allocations: 0 / 0.8373 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9): time 0.0005936/0.189, allocations: 173.5 kB / 0.8374 GB, free: 4 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.978e-05/0.1891, allocations: 89.09 kB / 0.8375 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000175/0.1893, allocations: 168.1 kB / 0.8377 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.1893, allocations: 25.7 kB / 0.8377 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.228e-05/0.1894, allocations: 120 kB / 0.8378 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.243e-05/0.1894, allocations: 31.8 kB / 0.8379 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.245e-05/0.1895, allocations: 21.72 kB / 0.8379 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.1896, allocations: 326.8 kB / 0.8382 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/0.1898, allocations: 43.97 kB / 0.8382 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001547/0.1899, allocations: 57.69 kB / 0.8383 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002885/0.1902, allocations: 113.8 kB / 0.8384 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1902, allocations: 0 / 0.8384 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003656/0.1906, allocations: 145.5 kB / 0.8385 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.1906, allocations: 4 kB / 0.8385 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1906, allocations: 0 / 0.8385 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.1906, allocations: 8 kB / 0.8385 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001571/0.1908, allocations: 19.98 kB / 0.8386 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.1908, allocations: 0 / 0.8386 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001263/0.1909, allocations: 23.88 kB / 0.8386 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.1909, allocations: 0 / 0.8386 GB, free: 2.758 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001142/0.191, allocations: 118.7 kB / 0.8387 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.278e-05/0.1911, allocations: 11.94 kB / 0.8387 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004361/0.1915, allocations: 170.5 kB / 0.8389 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.1915, allocations: 0 / 0.8389 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1916, allocations: 4 kB / 0.8389 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.1916, allocations: 4.172 kB / 0.8389 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002923/0.1919, allocations: 176.7 kB / 0.8391 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1919, allocations: 0 / 0.8391 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001531/0.192, allocations: 31.89 kB / 0.8391 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.192, allocations: 0 / 0.8391 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.192, allocations: 4 kB / 0.8391 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.192, allocations: 8.188 kB / 0.8391 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.192, allocations: 4 kB / 0.8391 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004417/0.1925, allocations: 310.6 kB / 0.8394 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.573e-05/0.1925, allocations: 11.95 kB / 0.8394 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.911e-05/0.1925, allocations: 3.984 kB / 0.8394 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001695/0.1927, allocations: 4 kB / 0.8394 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.14e-05/0.1927, allocations: 15.92 kB / 0.8394 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/0.1928, allocations: 4 kB / 0.8394 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001154/0.1929, allocations: 131.2 kB / 0.8396 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.1929, allocations: 0 / 0.8396 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002966/0.1932, allocations: 32 kB / 0.8396 GB, free: 1.656 MB / 0.5762 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 (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.0007699/0.1939, allocations: 0.8327 MB / 0.8404 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003521/0.1943, allocations: 103.9 kB / 0.8405 GB, free: 0.6914 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1943, allocations: 4 kB / 0.8405 GB, free: 0.6875 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001603/0.1945, allocations: 55.91 kB / 0.8406 GB, free: 0.6328 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004378/0.1949, allocations: 50.83 kB / 0.8406 GB, free: 0.5859 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002465/0.1974, allocations: 1.829 MB / 0.8424 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001036/0.1975, allocations: 93.61 kB / 0.8425 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 8.26e-05/0.1975, allocations: 16.64 kB / 0.8425 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.571e-05/0.1976, allocations: 35.42 kB / 0.8425 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of SimCode: time 2.5e-07/0.1976, allocations: 0 / 0.8425 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02518/0.2228, allocations: 4.143 MB / 0.8466 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.44, allocations: 11.97 kB / 0.8466 GB, free: 10.59 MB / 0.5919 GB " [Timeout remaining time 648] (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 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.631927934940904] Failed to read output from testmodel.py, exit status != 0: 11.601644242997281 11.63339076 11.443134864 Calling exit ...