Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.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.001331/0.001331, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00177/0.00177, allocations: 214.3 kB / 22.24 MB, free: 5.262 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.446/1.446, allocations: 230.6 MB / 256 MB, free: 7.789 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.002507/0.002507, allocations: 292.5 kB / 312.7 MB, free: 2.598 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.212/1.212, allocations: 180.6 MB / 0.5369 GB, free: 14.5 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.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",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.002885/0.002885, allocations: 107.1 kB / 0.7395 GB, free: 28.44 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1762/0.1791, allocations: 95.38 MB / 0.8327 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002612/0.1817, allocations: 1.298 MB / 0.8339 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002611/0.1843, allocations: 1.521 MB / 0.8354 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.346e-05/0.1844, allocations: 0 / 0.8354 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.199e-05/0.1844, allocations: 4 kB / 0.8354 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002213/0.1846, allocations: 15.92 kB / 0.8354 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006405/0.1853, allocations: 216.8 kB / 0.8356 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.313e-05/0.1853, allocations: 31.84 kB / 0.8357 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.137e-05/0.1854, allocations: 7.938 kB / 0.8357 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001294/0.1855, allocations: 19.94 kB / 0.8357 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.81e-05/0.1856, allocations: 11.97 kB / 0.8357 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.1856, allocations: 0 / 0.8357 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003037/0.1859, allocations: 155.8 kB / 0.8358 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.639e-05/0.1859, allocations: 7.922 kB / 0.8359 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.048e-05/0.186, allocations: 4 kB / 0.8359 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002678/0.1862, allocations: 147.9 kB / 0.836 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1862, allocations: 4 kB / 0.836 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.644e-06/0.1862, allocations: 0 / 0.836 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.1862, allocations: 0 / 0.836 GB, free: 4.879 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005178/0.1867, allocations: 293.9 kB / 0.8363 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.1868, allocations: 9.344 kB / 0.8363 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.798e-05/0.1869, allocations: 106 kB / 0.8364 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001613/0.187, allocations: 80.22 kB / 0.8365 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001855/0.1872, allocations: 185.8 kB / 0.8367 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.271e-05/0.1873, allocations: 154.9 kB / 0.8368 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.839e-05/0.1874, allocations: 162.4 kB / 0.837 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.745e-05/0.1875, allocations: 109 kB / 0.8371 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.433e-05/0.1875, allocations: 75.28 kB / 0.8371 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.056e-05/0.1876, allocations: 150.6 kB / 0.8373 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.737e-05/0.1877, allocations: 150.6 kB / 0.8374 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.189e-05/0.1877, allocations: 158.5 kB / 0.8376 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003594/0.1881, allocations: 429 kB / 0.838 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000121/0.1882, allocations: 177 kB / 0.8381 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.26e-05/0.1883, allocations: 80.14 kB / 0.8382 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.12e-05/0.1883, allocations: 75.28 kB / 0.8383 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.437e-05/0.1884, allocations: 105.8 kB / 0.8384 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 8.12e-07/0.1884, allocations: 0 / 0.8384 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 9.232e-05/0.1885, allocations: 41.64 kB / 0.8384 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.328e-05/0.1885, allocations: 126.7 kB / 0.8386 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.1887, allocations: 109.8 kB / 0.8387 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.891e-05/0.1887, allocations: 25.7 kB / 0.8387 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.397e-05/0.1887, allocations: 84.14 kB / 0.8388 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.615e-06/0.1887, allocations: 0 / 0.8388 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.157e-05/0.1888, allocations: 21.7 kB / 0.8388 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.1889, allocations: 310.8 kB / 0.8391 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.511e-05/0.189, allocations: 8 kB / 0.8391 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001037/0.1891, allocations: 103.7 kB / 0.8392 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.221e-05/0.1891, allocations: 30.52 kB / 0.8392 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1891, allocations: 0 / 0.8392 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001397/0.1892, allocations: 57.5 kB / 0.8393 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.1893, allocations: 6.188 kB / 0.8393 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.1893, allocations: 0 / 0.8393 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.1893, allocations: 3.938 kB / 0.8393 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.143e-05/0.1894, allocations: 12 kB / 0.8393 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.1894, allocations: 4.094 kB / 0.8393 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001554/0.1895, allocations: 11.94 kB / 0.8393 GB, free: 1.258 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.1895, allocations: 4 kB / 0.8393 GB, free: 1.254 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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.0001223/0.1896, allocations: 189.8 kB / 0.8395 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.876e-05/0.1897, allocations: 116.9 kB / 0.8396 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.587e-05/0.1898, allocations: 107.9 kB / 0.8397 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.152e-05/0.1899, allocations: 180.5 kB / 0.8399 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.483e-05/0.19, allocations: 180.3 kB / 0.8401 GB, free: 464 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001066/0.1901, allocations: 180.3 kB / 0.8402 GB, free: 276 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002915/0.1904, allocations: 384.2 kB / 0.8406 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-05/0.1904, allocations: 105 kB / 0.8407 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.346e-05/0.1905, allocations: 108.9 kB / 0.8408 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001355/0.1906, allocations: 180.2 kB / 0.841 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.33e-05/0.1907, allocations: 176.3 kB / 0.8411 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.459e-05/0.1908, allocations: 188.2 kB / 0.8413 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.617e-05/0.1909, allocations: 176.3 kB / 0.8415 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001896/0.1911, allocations: 307.7 kB / 0.8418 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.968e-05/0.1911, allocations: 109 kB / 0.8419 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/0.1913, allocations: 184.2 kB / 0.8421 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.238e-05/0.1913, allocations: 101 kB / 0.8422 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.1914, allocations: 188.2 kB / 0.8423 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.473e-05/0.1915, allocations: 105 kB / 0.8424 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.354e-05/0.1916, allocations: 83.28 kB / 0.8425 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.1916, allocations: 0 / 0.8425 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003617/0.1919, allocations: 55.8 kB / 0.8426 GB, free: 13.72 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.001074/0.193, allocations: 0.982 MB / 0.8435 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 9.307e-05/0.1931, allocations: 11.98 kB / 0.8435 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1931, allocations: 0 / 0.8435 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.453e-06/0.1931, allocations: 4.188 kB / 0.8435 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000432/0.1935, allocations: 463.6 kB / 0.844 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001278/0.1948, allocations: 1.349 MB / 0.8453 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.458e-05/0.1949, allocations: 55.36 kB / 0.8453 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.574e-05/0.1949, allocations: 4.031 kB / 0.8454 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.152e-05/0.1949, allocations: 15.42 kB / 0.8454 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of SimCode: time 6.01e-07/0.1949, allocations: 0 / 0.8454 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03827/0.2332, allocations: 3.15 MB / 0.8484 GB, free: 7.777 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.36, allocations: 12.11 kB / 0.8485 GB, free: 7.77 MB / 0.5919 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.53826978430152] Failed to read output from testmodel.py, exit status != 0: 11.513971045147628 11.541395006 11.35012596 Calling exit ...