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.00134/0.00134, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001474/0.001474, allocations: 215.2 kB / 23.03 MB, free: 4.926 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.474/1.474, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.002647/0.002647, allocations: 288.2 kB / 313.5 MB, free: 2.637 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.246/1.246, allocations: 180.6 MB / 0.5377 GB, free: 14.61 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",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.002771/0.002771, allocations: 99.25 kB / 0.7403 GB, free: 27.83 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.1814, allocations: 95.38 MB / 0.8334 GB, free: 8.223 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002793/0.1842, allocations: 1.274 MB / 0.8347 GB, free: 6.934 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001441/0.1856, allocations: 0.7967 MB / 0.8354 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.734e-05/0.1856, allocations: 0 / 0.8354 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.65e-05/0.1857, allocations: 3.984 kB / 0.8354 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002923/0.186, allocations: 23.92 kB / 0.8355 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 8.381e-05/0.1861, allocations: 3.938 kB / 0.8355 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.857e-05/0.1861, allocations: 11.98 kB / 0.8355 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.955e-05/0.1862, allocations: 4 kB / 0.8355 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.604e-05/0.1862, allocations: 0 / 0.8355 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004359/0.1866, allocations: 7.984 kB / 0.8355 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.1866, allocations: 0 / 0.8355 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 5.164e-05/0.1867, allocations: 4 kB / 0.8355 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.689e-05/0.1868, allocations: 19.86 kB / 0.8355 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.658e-05/0.1868, allocations: 3.984 kB / 0.8355 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001047/0.1869, allocations: 8.219 kB / 0.8355 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.1869, allocations: 4 kB / 0.8355 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.994e-06/0.1869, allocations: 0 / 0.8355 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.1869, allocations: 4 kB / 0.8355 GB, free: 6.039 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.0004305/0.1873, allocations: 246.4 kB / 0.8358 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/0.1874, allocations: 12.75 kB / 0.8358 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.532e-05/0.1874, allocations: 75.47 kB / 0.8358 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.461e-05/0.1875, allocations: 110 kB / 0.836 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.189e-05/0.1876, allocations: 80.22 kB / 0.836 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000206/0.1878, allocations: 177.8 kB / 0.8362 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.557e-05/0.1879, allocations: 154.9 kB / 0.8363 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.81e-05/0.188, allocations: 154.9 kB / 0.8365 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001016/0.1881, allocations: 109.2 kB / 0.8366 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.099e-05/0.1882, allocations: 83.22 kB / 0.8367 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.718e-05/0.1882, allocations: 154.6 kB / 0.8368 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-05/0.1883, allocations: 154.5 kB / 0.837 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.617e-05/0.1884, allocations: 154.5 kB / 0.8371 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004115/0.1888, allocations: 421 kB / 0.8375 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/0.1889, allocations: 177 kB / 0.8377 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.523e-05/0.189, allocations: 84.14 kB / 0.8378 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.5e-05/0.189, allocations: 75.28 kB / 0.8378 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001061/0.1891, allocations: 109.8 kB / 0.8379 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.1892, allocations: 0 / 0.8379 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 0.0001132/0.1893, allocations: 45.64 kB / 0.838 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.789e-05/0.1894, allocations: 126.7 kB / 0.8381 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.1895, allocations: 93.86 kB / 0.8382 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.1895, allocations: 25.7 kB / 0.8382 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.369e-05/0.1896, allocations: 88.14 kB / 0.8383 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.056e-06/0.1896, allocations: 0 / 0.8383 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.556e-05/0.1896, allocations: 13.66 kB / 0.8383 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001684/0.1898, allocations: 318.8 kB / 0.8386 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.65e-06/0.1898, allocations: 0 / 0.8386 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.686e-05/0.1898, allocations: 25.7 kB / 0.8387 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.39e-05/0.1899, allocations: 75.28 kB / 0.8387 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-05/0.1899, allocations: 79.31 kB / 0.8388 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.605e-05/0.19, allocations: 29.7 kB / 0.8388 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.393e-05/0.1901, allocations: 83.22 kB / 0.8389 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.51e-05/0.1901, allocations: 83.22 kB / 0.839 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000102/0.1902, allocations: 158.5 kB / 0.8391 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.854e-05/0.1902, allocations: 75.28 kB / 0.8392 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-05/0.1903, allocations: 158.5 kB / 0.8394 GB, free: 1.895 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001587/0.1905, allocations: 75.28 kB / 0.8394 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.973e-05/0.1905, allocations: 79.22 kB / 0.8395 GB, free: 1.742 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.0001839/0.1907, allocations: 261.1 kB / 0.8398 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.39e-05/0.1908, allocations: 117.1 kB / 0.8399 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.478e-05/0.1909, allocations: 111.9 kB / 0.84 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001018/0.191, allocations: 184.2 kB / 0.8401 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.609e-05/0.1911, allocations: 180.3 kB / 0.8403 GB, free: 0.8633 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.181e-05/0.1912, allocations: 180.2 kB / 0.8405 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002953/0.1915, allocations: 384.3 kB / 0.8409 GB, free: 260 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.662e-05/0.1915, allocations: 101 kB / 0.841 GB, free: 152 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.655e-05/0.1916, allocations: 104.9 kB / 0.8411 GB, free: 40 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.851e-05/0.1917, allocations: 184.2 kB / 0.8412 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.349e-05/0.1918, allocations: 184.2 kB / 0.8414 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.771e-05/0.1919, allocations: 180.3 kB / 0.8416 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.315e-05/0.192, allocations: 188.2 kB / 0.8418 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001689/0.1921, allocations: 299.8 kB / 0.842 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.163e-05/0.1922, allocations: 112.9 kB / 0.8422 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.661e-05/0.1923, allocations: 180.3 kB / 0.8423 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.1924, allocations: 104.9 kB / 0.8424 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.693e-05/0.1925, allocations: 188.2 kB / 0.8426 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.873e-05/0.1925, allocations: 105 kB / 0.8427 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.735e-05/0.1926, allocations: 83.28 kB / 0.8428 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1926, allocations: 0 / 0.8428 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002969/0.1929, allocations: 0 / 0.8428 GB, free: 14.18 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.000742/0.1936, allocations: 0.8273 MB / 0.8436 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 5.479e-05/0.1937, allocations: 8 kB / 0.8436 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1937, allocations: 0 / 0.8436 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.763e-06/0.1937, allocations: 0 / 0.8436 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004404/0.1941, allocations: 459.6 kB / 0.844 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001668/0.1958, allocations: 1.564 MB / 0.8456 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.56e-05/0.1959, allocations: 63.44 kB / 0.8456 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 2.065e-05/0.1959, allocations: 0 / 0.8456 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.266e-05/0.1959, allocations: 11.44 kB / 0.8456 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of SimCode: time 4.61e-07/0.1959, allocations: 0 / 0.8456 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02385/0.2198, allocations: 1.341 MB / 0.8469 GB, free: 9.984 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.32, allocations: 6.125 kB / 0.847 GB, free: 9.98 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 15.618814087007195] Failed to read output from testmodel.py, exit status != 0: 11.481994802947156 11.510930774 11.318437652 Calling exit ...