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.00129/0.00129, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.001415/0.001415, allocations: 216.4 kB / 22.25 MB, free: 5.129 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.415/1.415, allocations: 230.6 MB / 256 MB, free: 7.961 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.002462/0.002462, allocations: 273 kB / 312.7 MB, free: 2.777 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.262/1.262, allocations: 180.6 MB / 0.5369 GB, free: 12.87 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.002789/0.002789, allocations: 109.7 kB / 0.7396 GB, free: 28.46 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1804/0.1832, allocations: 95.39 MB / 0.8327 GB, free: 8.598 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002616/0.1858, allocations: 1.286 MB / 0.834 GB, free: 7.301 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002708/0.1885, allocations: 1.595 MB / 0.8356 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.533e-05/0.1885, allocations: 0 / 0.8356 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.746e-05/0.1886, allocations: 3.938 kB / 0.8356 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001994/0.1888, allocations: 11.94 kB / 0.8356 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007157/0.1895, allocations: 219.9 kB / 0.8358 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.294e-05/0.1896, allocations: 27.92 kB / 0.8358 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.865e-05/0.1896, allocations: 4 kB / 0.8358 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001499/0.1898, allocations: 23.97 kB / 0.8358 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 8.629e-05/0.1899, allocations: 15.86 kB / 0.8359 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.1899, allocations: 0 / 0.8359 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00034/0.1902, allocations: 163.9 kB / 0.836 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.65e-05/0.1902, allocations: 11.92 kB / 0.836 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.532e-05/0.1903, allocations: 11.92 kB / 0.836 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000298/0.1906, allocations: 151.9 kB / 0.8362 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1906, allocations: 0 / 0.8362 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.233e-06/0.1906, allocations: 4 kB / 0.8362 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.1906, allocations: 0 / 0.8362 GB, free: 5.066 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.0004058/0.191, allocations: 290 kB / 0.8365 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.191, allocations: 9.938 kB / 0.8365 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.693e-05/0.1911, allocations: 106 kB / 0.8366 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.204e-05/0.1912, allocations: 80.22 kB / 0.8366 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001695/0.1913, allocations: 189.7 kB / 0.8368 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.497e-05/0.1914, allocations: 154.9 kB / 0.837 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.826e-05/0.1915, allocations: 162.5 kB / 0.8371 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.712e-05/0.1916, allocations: 104.9 kB / 0.8372 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.96e-05/0.1916, allocations: 75.28 kB / 0.8373 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.042e-05/0.1917, allocations: 158.5 kB / 0.8374 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.368e-05/0.1917, allocations: 150.6 kB / 0.8376 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.427e-05/0.1918, allocations: 154.6 kB / 0.8377 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003305/0.1921, allocations: 429 kB / 0.8381 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/0.1922, allocations: 181 kB / 0.8383 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.066e-05/0.1923, allocations: 80.14 kB / 0.8384 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.469e-05/0.1923, allocations: 79.28 kB / 0.8385 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.441e-05/0.1924, allocations: 105.8 kB / 0.8386 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 1.172e-06/0.1924, allocations: 0 / 0.8386 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 9.867e-05/0.1925, allocations: 29.7 kB / 0.8386 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.025e-05/0.1925, allocations: 126.7 kB / 0.8387 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.1927, allocations: 109.8 kB / 0.8388 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.1927, allocations: 25.7 kB / 0.8389 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.936e-05/0.1927, allocations: 88.14 kB / 0.8389 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.094e-06/0.1927, allocations: 0 / 0.8389 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.514e-05/0.1928, allocations: 25.7 kB / 0.839 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.1929, allocations: 310.8 kB / 0.8393 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.333e-05/0.1929, allocations: 0 / 0.8393 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.834e-05/0.193, allocations: 30.56 kB / 0.8393 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.49e-05/0.193, allocations: 26.56 kB / 0.8393 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.193, allocations: 4 kB / 0.8393 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001423/0.1932, allocations: 53.56 kB / 0.8394 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.1932, allocations: 4 kB / 0.8394 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1932, allocations: 0 / 0.8394 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.1932, allocations: 4 kB / 0.8394 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.699e-05/0.1933, allocations: 4.094 kB / 0.8394 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.1933, allocations: 4 kB / 0.8394 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001521/0.1934, allocations: 11.94 kB / 0.8394 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.1934, allocations: 4 kB / 0.8394 GB, free: 1.547 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.0001203/0.1936, allocations: 193.7 kB / 0.8396 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.609e-05/0.1936, allocations: 109.1 kB / 0.8397 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.143e-05/0.1937, allocations: 115.9 kB / 0.8398 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.74e-05/0.1938, allocations: 180.5 kB / 0.84 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-05/0.1939, allocations: 188.2 kB / 0.8401 GB, free: 0.7344 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.156e-05/0.1939, allocations: 180.3 kB / 0.8403 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002599/0.1942, allocations: 384.1 kB / 0.8407 GB, free: 128 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.642e-05/0.1942, allocations: 105 kB / 0.8408 GB, free: 16 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.438e-05/0.1943, allocations: 105 kB / 0.8409 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.89e-05/0.1944, allocations: 180.2 kB / 0.8411 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.134e-05/0.1945, allocations: 184.2 kB / 0.8412 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.238e-05/0.1945, allocations: 180.2 kB / 0.8414 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.573e-05/0.1946, allocations: 176.3 kB / 0.8416 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000181/0.1948, allocations: 315.7 kB / 0.8419 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.522e-05/0.1948, allocations: 101 kB / 0.842 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.422e-05/0.1949, allocations: 188.2 kB / 0.8422 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.581e-05/0.195, allocations: 104.9 kB / 0.8423 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.257e-05/0.1951, allocations: 180.3 kB / 0.8424 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.865e-05/0.1952, allocations: 116.9 kB / 0.8425 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.766e-05/0.1952, allocations: 79.28 kB / 0.8426 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.1952, allocations: 0 / 0.8426 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003495/0.1956, allocations: 51.8 kB / 0.8427 GB, free: 14 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.001013/0.1966, allocations: 0.9729 MB / 0.8436 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000111/0.1967, allocations: 19.92 kB / 0.8436 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1967, allocations: 0 / 0.8436 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.894e-06/0.1967, allocations: 0 / 0.8436 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000396/0.1971, allocations: 451.7 kB / 0.8441 GB, free: 12.57 MB / 0.5919 GB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001436/0.1985, allocations: 1.365 MB / 0.8454 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/0.1988, allocations: 0.669 MB / 0.846 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.602e-05/0.1989, allocations: 7.938 kB / 0.8461 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.639e-05/0.1989, allocations: 15.42 kB / 0.8461 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of SimCode: time 9.42e-07/0.1989, allocations: 4 kB / 0.8461 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5718/0.7707, allocations: 2.736 MB / 0.8487 GB, free: 7.848 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.37/11.14, allocations: 4.484 kB / 0.8487 GB, free: 7.844 MB / 0.5919 GB " [Timeout remaining time 642] (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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: 24.348692341998685] Failed to read output from testmodel.py, exit status != 0: 18.31350451199978 18.333158856 18.137725071 Calling exit ...