Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.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.001257/0.001257, allocations: 110.4 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.001378/0.001378, allocations: 219.2 kB / 22.26 MB, free: 5.125 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.378/1.378, allocations: 230.6 MB / 256 MB, free: 8 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.002534/0.002534, allocations: 274.9 kB / 312.7 MB, free: 2.828 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.191/1.191, allocations: 180.6 MB / 0.5369 GB, free: 13.02 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.GetTimeSpanTMY3LongHeader,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",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.002785/0.002785, allocations: 113.6 kB / 0.7396 GB, free: 28.57 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1841/0.1869, allocations: 95.38 MB / 0.8327 GB, free: 8.664 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002799/0.1897, allocations: 1.268 MB / 0.834 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001238/0.1909, allocations: 0.8083 MB / 0.8348 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.816e-05/0.191, allocations: 0 / 0.8348 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.513e-05/0.191, allocations: 0 / 0.8348 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002233/0.1912, allocations: 15.86 kB / 0.8348 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 8.721e-05/0.1913, allocations: 15.98 kB / 0.8348 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.756e-05/0.1914, allocations: 11.94 kB / 0.8348 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.716e-05/0.1914, allocations: 0 / 0.8348 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.39e-05/0.1914, allocations: 4 kB / 0.8348 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001669/0.1916, allocations: 11.97 kB / 0.8348 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.1916, allocations: 0 / 0.8348 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 4.132e-05/0.1917, allocations: 7.938 kB / 0.8348 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.195e-05/0.1917, allocations: 4 kB / 0.8348 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.964e-05/0.1917, allocations: 7.938 kB / 0.8348 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 9.567e-05/0.1918, allocations: 20.19 kB / 0.8349 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1918, allocations: 0 / 0.8349 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1918, allocations: 0 / 0.8349 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.846e-06/0.1918, allocations: 7.938 kB / 0.8349 GB, free: 6.469 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.0003579/0.1922, allocations: 242.4 kB / 0.8351 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.1923, allocations: 8.75 kB / 0.8351 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.73e-05/0.1923, allocations: 110 kB / 0.8352 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.832e-05/0.1924, allocations: 76.22 kB / 0.8353 GB, free: 6 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001685/0.1926, allocations: 185.8 kB / 0.8355 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.672e-05/0.1926, allocations: 158.9 kB / 0.8356 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.558e-05/0.1927, allocations: 150.9 kB / 0.8358 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.967e-05/0.1928, allocations: 105.5 kB / 0.8359 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.715e-05/0.1928, allocations: 79.22 kB / 0.8359 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.713e-05/0.1929, allocations: 154.6 kB / 0.8361 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.287e-05/0.193, allocations: 154.5 kB / 0.8362 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.788e-05/0.193, allocations: 154.6 kB / 0.8364 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003145/0.1933, allocations: 421 kB / 0.8368 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 9.405e-05/0.1934, allocations: 169.2 kB / 0.8369 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.988e-05/0.1935, allocations: 80.14 kB / 0.837 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.545e-05/0.1935, allocations: 79.28 kB / 0.8371 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.685e-05/0.1936, allocations: 113.8 kB / 0.8372 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 7.62e-07/0.1936, allocations: 3.938 kB / 0.8372 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 7.572e-05/0.1937, allocations: 33.59 kB / 0.8372 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.507e-05/0.1937, allocations: 126.7 kB / 0.8374 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.1938, allocations: 105.8 kB / 0.8375 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.1939, allocations: 29.7 kB / 0.8375 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.485e-05/0.1939, allocations: 84.14 kB / 0.8376 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.104e-06/0.1939, allocations: 0 / 0.8376 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.381e-05/0.1939, allocations: 9.719 kB / 0.8376 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.1941, allocations: 318.8 kB / 0.8379 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.188e-06/0.1941, allocations: 0 / 0.8379 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.063e-05/0.1941, allocations: 0 / 0.8379 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.482e-05/0.1941, allocations: 83.2 kB / 0.838 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.96e-05/0.1941, allocations: 75.28 kB / 0.838 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.989e-05/0.1942, allocations: 33.73 kB / 0.8381 GB, free: 2.988 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.197e-05/0.1942, allocations: 83.22 kB / 0.8381 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.015e-05/0.1943, allocations: 75.28 kB / 0.8382 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.623e-05/0.1943, allocations: 158.5 kB / 0.8384 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.885e-05/0.1944, allocations: 75.28 kB / 0.8384 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.486e-05/0.1944, allocations: 162.4 kB / 0.8386 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001333/0.1946, allocations: 87.27 kB / 0.8387 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.897e-05/0.1946, allocations: 75.28 kB / 0.8387 GB, free: 2.281 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.0001393/0.1947, allocations: 257.1 kB / 0.839 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.907e-05/0.1948, allocations: 113 kB / 0.8391 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.843e-05/0.1949, allocations: 107.9 kB / 0.8392 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.59e-05/0.1949, allocations: 192.2 kB / 0.8394 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.51e-05/0.195, allocations: 184.3 kB / 0.8396 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.227e-05/0.1951, allocations: 176.3 kB / 0.8397 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002448/0.1953, allocations: 380.2 kB / 0.8401 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.177e-05/0.1954, allocations: 105 kB / 0.8402 GB, free: 0.6914 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.33e-05/0.1954, allocations: 104.9 kB / 0.8403 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.865e-05/0.1955, allocations: 184.2 kB / 0.8405 GB, free: 404 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.429e-05/0.1956, allocations: 176.3 kB / 0.8406 GB, free: 220 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.791e-05/0.1957, allocations: 188.2 kB / 0.8408 GB, free: 24 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.162e-05/0.1957, allocations: 176.3 kB / 0.841 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001541/0.1959, allocations: 307.8 kB / 0.8413 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.074e-05/0.196, allocations: 108.9 kB / 0.8414 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.272e-05/0.196, allocations: 196.1 kB / 0.8416 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.796e-05/0.1961, allocations: 101 kB / 0.8417 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.584e-05/0.1962, allocations: 180.2 kB / 0.8418 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.484e-05/0.1963, allocations: 101 kB / 0.8419 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.887e-05/0.1963, allocations: 87.27 kB / 0.842 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.1963, allocations: 0 / 0.842 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002722/0.1966, allocations: 4 kB / 0.842 GB, free: 14.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.0006225/0.1972, allocations: 0.8251 MB / 0.8428 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 4.82e-05/0.1972, allocations: 4 kB / 0.8428 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.1972, allocations: 0 / 0.8428 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 3.216e-06/0.1973, allocations: 4 kB / 0.8428 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003737/0.1976, allocations: 455.7 kB / 0.8433 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001256/0.1989, allocations: 1.564 MB / 0.8448 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/0.1992, allocations: 0.6729 MB / 0.8455 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.861e-05/0.1992, allocations: 3.938 kB / 0.8455 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.093e-05/0.1992, allocations: 15.42 kB / 0.8455 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of SimCode: time 6.01e-07/0.1992, allocations: 0 / 0.8455 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02896/0.2282, allocations: 1.264 MB / 0.8467 GB, free: 9.961 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.21/10.43, allocations: 24.39 kB / 0.8467 GB, free: 9.945 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_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_GetTimeSpanTMY3LongHeader.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.593308155002887] Failed to read output from testmodel.py, exit status != 0: 10.534780291000061 10.558497928 10.36247561 Calling exit ...