Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.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.001314/0.001314, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001529/0.001529, allocations: 212.5 kB / 22.24 MB, free: 5.242 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.461/1.461, allocations: 230.6 MB / 256 MB, free: 7.809 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.002696/0.002696, allocations: 285.6 kB / 312.7 MB, free: 2.625 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.238/1.238, allocations: 180.6 MB / 0.5369 GB, free: 14.56 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.GetAltitudeTMY3,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",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.002944/0.002944, allocations: 104.1 kB / 0.7395 GB, free: 28.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1797/0.1826, allocations: 95.39 MB / 0.8326 GB, free: 8.348 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.003093/0.1857, allocations: 1.262 MB / 0.8339 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001699/0.1874, allocations: 1.089 MB / 0.8349 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.641e-05/0.1874, allocations: 0 / 0.8349 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.537e-05/0.1874, allocations: 0 / 0.8349 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000478/0.1879, allocations: 115.5 kB / 0.8351 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 3.446e-06/0.1879, allocations: 0 / 0.8351 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 3.695e-05/0.188, allocations: 0 / 0.8351 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.09e-05/0.188, allocations: 4 kB / 0.8351 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.516e-05/0.188, allocations: 0 / 0.8351 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.549e-05/0.1881, allocations: 4 kB / 0.8351 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.782e-06/0.1881, allocations: 3.938 kB / 0.8351 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002137/0.1883, allocations: 103.9 kB / 0.8352 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.442e-06/0.1883, allocations: 4 kB / 0.8352 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.125e-05/0.1883, allocations: 0 / 0.8352 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002286/0.1885, allocations: 112 kB / 0.8353 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.1886, allocations: 0 / 0.8353 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.994e-06/0.1886, allocations: 0 / 0.8353 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.023e-05/0.1886, allocations: 3.938 kB / 0.8353 GB, free: 5.633 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.0003659/0.1889, allocations: 282 kB / 0.8355 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.189, allocations: 13.34 kB / 0.8356 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.872e-05/0.1891, allocations: 106 kB / 0.8357 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.619e-05/0.1891, allocations: 76.22 kB / 0.8357 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001685/0.1893, allocations: 185.8 kB / 0.8359 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.807e-05/0.1894, allocations: 150.9 kB / 0.8361 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.006e-05/0.1894, allocations: 150.9 kB / 0.8362 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.619e-05/0.1895, allocations: 116.9 kB / 0.8363 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.645e-05/0.1896, allocations: 79.28 kB / 0.8364 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.359e-05/0.1896, allocations: 154.5 kB / 0.8365 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-05/0.1897, allocations: 150.6 kB / 0.8367 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.517e-05/0.1898, allocations: 150.6 kB / 0.8368 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003083/0.1901, allocations: 425 kB / 0.8372 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.1902, allocations: 169.1 kB / 0.8374 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.104e-05/0.1902, allocations: 84.08 kB / 0.8375 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 5.713e-05/0.1903, allocations: 79.22 kB / 0.8375 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.335e-05/0.1903, allocations: 105.8 kB / 0.8376 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 8.51e-07/0.1903, allocations: 0 / 0.8376 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 7.672e-05/0.1904, allocations: 33.69 kB / 0.8377 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.042e-05/0.1905, allocations: 126.7 kB / 0.8378 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.948e-05/0.1906, allocations: 101.8 kB / 0.8379 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.1906, allocations: 25.83 kB / 0.8379 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.826e-05/0.1907, allocations: 84.14 kB / 0.838 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.362e-06/0.1907, allocations: 0 / 0.838 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.208e-05/0.1907, allocations: 9.719 kB / 0.838 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.1908, allocations: 314.8 kB / 0.8383 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.488e-06/0.1908, allocations: 0 / 0.8383 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.514e-06/0.1908, allocations: 3.938 kB / 0.8383 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.524e-05/0.1909, allocations: 79.27 kB / 0.8384 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.071e-05/0.1909, allocations: 75.28 kB / 0.8385 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.82e-05/0.191, allocations: 33.64 kB / 0.8385 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.51e-05/0.191, allocations: 83.28 kB / 0.8386 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.356e-05/0.1911, allocations: 79.28 kB / 0.8386 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.906e-05/0.1911, allocations: 158.5 kB / 0.8388 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.932e-05/0.1912, allocations: 75.41 kB / 0.8389 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.466e-05/0.1912, allocations: 158.5 kB / 0.839 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.369e-05/0.1913, allocations: 79.28 kB / 0.8391 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.626e-05/0.1914, allocations: 79.27 kB / 0.8392 GB, free: 1.434 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 0.000148/0.1915, allocations: 269 kB / 0.8394 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.31e-05/0.1916, allocations: 104.9 kB / 0.8395 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.946e-05/0.1916, allocations: 108 kB / 0.8396 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-05/0.1917, allocations: 192.2 kB / 0.8398 GB, free: 0.7383 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-05/0.1918, allocations: 184.2 kB / 0.84 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.806e-05/0.1919, allocations: 180.2 kB / 0.8402 GB, free: 376 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002672/0.1922, allocations: 372.3 kB / 0.8405 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.606e-05/0.1922, allocations: 108.9 kB / 0.8406 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.687e-05/0.1923, allocations: 112.9 kB / 0.8407 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.044e-05/0.1923, allocations: 176.3 kB / 0.8409 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.194e-05/0.1924, allocations: 180.2 kB / 0.8411 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.164e-05/0.1925, allocations: 184.3 kB / 0.8412 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.243e-05/0.1926, allocations: 176.3 kB / 0.8414 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001867/0.1928, allocations: 303.8 kB / 0.8417 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.396e-05/0.1929, allocations: 116.9 kB / 0.8418 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.682e-05/0.1929, allocations: 180.3 kB / 0.842 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.612e-05/0.193, allocations: 105 kB / 0.8421 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.985e-05/0.1931, allocations: 188.2 kB / 0.8423 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.272e-05/0.1932, allocations: 104.9 kB / 0.8424 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.644e-05/0.1932, allocations: 83.28 kB / 0.8424 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.1932, allocations: 0 / 0.8424 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003244/0.1936, allocations: 39.8 kB / 0.8425 GB, free: 13.84 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.0009548/0.1945, allocations: 0.959 MB / 0.8434 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 4.134e-05/0.1945, allocations: 8 kB / 0.8434 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1946, allocations: 0 / 0.8434 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.453e-06/0.1946, allocations: 0 / 0.8434 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004128/0.195, allocations: 462.3 kB / 0.8439 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.1963, allocations: 1.552 MB / 0.8454 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.341e-05/0.1964, allocations: 55.36 kB / 0.8454 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 9.167e-06/0.1964, allocations: 0 / 0.8454 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.668e-05/0.1964, allocations: 7.438 kB / 0.8454 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of SimCode: time 7.12e-07/0.1964, allocations: 128 / 0.8454 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03224/0.2287, allocations: 2.395 MB / 0.8478 GB, free: 8.5 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.48, allocations: 15.28 kB / 0.8478 GB, free: 8.492 MB / 0.5919 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_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_GetAltitudeTMY3.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.838158601894975] Failed to read output from testmodel.py, exit status != 0: 11.636594434734434 11.66488025 11.470790415 Calling exit ...