Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001309/0.001309, allocations: 117.8 kB / 19.69 MB, free: 2.199 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.00151/0.00151, allocations: 225 kB / 23.01 MB, free: 5.043 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.393/1.393, allocations: 230.6 MB / 256.8 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9317/0.9317, allocations: 150 MB / 463.2 MB, free: 10.55 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.00197/0.00197, allocations: 66.52 kB / 0.6413 GB, free: 10.43 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1742/0.1762, allocations: 89.17 MB / 0.7284 GB, free: 1.336 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002686/0.1789, allocations: 1.282 MB / 0.7296 GB, free: 44 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002651/0.1815, allocations: 1.582 MB / 0.7312 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.448e-05/0.1815, allocations: 0 / 0.7312 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.444e-05/0.1816, allocations: 3.938 kB / 0.7312 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001986/0.1818, allocations: 15.91 kB / 0.7312 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007017/0.1825, allocations: 224.3 kB / 0.7314 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.172e-05/0.1826, allocations: 19.92 kB / 0.7314 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.904e-05/0.1826, allocations: 0 / 0.7314 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000148/0.1827, allocations: 27.86 kB / 0.7314 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.907e-05/0.1828, allocations: 11.98 kB / 0.7314 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.1828, allocations: 4 kB / 0.7315 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003392/0.1832, allocations: 159.9 kB / 0.7316 GB, free: 14 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.543e-05/0.1832, allocations: 15.92 kB / 0.7316 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.77e-05/0.1832, allocations: 15.92 kB / 0.7316 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003003/0.1835, allocations: 147.9 kB / 0.7318 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.1835, allocations: 0 / 0.7318 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.392e-06/0.1835, allocations: 0 / 0.7318 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.184e-05/0.1835, allocations: 4 kB / 0.7318 GB, free: 13.82 MB / 0.5606 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.0003894/0.1839, allocations: 286 kB / 0.7321 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.184, allocations: 12.03 kB / 0.7321 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.885e-05/0.184, allocations: 106 kB / 0.7322 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.948e-05/0.1841, allocations: 80.22 kB / 0.7322 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001683/0.1843, allocations: 201.7 kB / 0.7324 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.582e-05/0.1844, allocations: 150.9 kB / 0.7326 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.648e-05/0.1844, allocations: 158.5 kB / 0.7327 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.208e-05/0.1845, allocations: 104.9 kB / 0.7328 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.318e-05/0.1846, allocations: 75.28 kB / 0.7329 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.004e-05/0.1846, allocations: 154.6 kB / 0.733 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.496e-05/0.1847, allocations: 158.6 kB / 0.7332 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.978e-05/0.1847, allocations: 150.6 kB / 0.7333 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003167/0.1851, allocations: 425 kB / 0.7337 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/0.1852, allocations: 177 kB / 0.7339 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.161e-05/0.1852, allocations: 80.14 kB / 0.734 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.98e-05/0.1852, allocations: 75.28 kB / 0.7341 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.056e-05/0.1853, allocations: 113.8 kB / 0.7342 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.1853, allocations: 0 / 0.7342 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 8.934e-05/0.1854, allocations: 29.69 kB / 0.7342 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.936e-05/0.1855, allocations: 134.6 kB / 0.7343 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.1856, allocations: 105.8 kB / 0.7344 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.1856, allocations: 29.64 kB / 0.7345 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.861e-05/0.1857, allocations: 88.12 kB / 0.7345 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.733e-06/0.1857, allocations: 0 / 0.7345 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.055e-05/0.1857, allocations: 17.72 kB / 0.7346 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.1858, allocations: 314.8 kB / 0.7349 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.715e-05/0.1858, allocations: 7.984 kB / 0.7349 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.016e-05/0.1859, allocations: 26.58 kB / 0.7349 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.613e-05/0.1859, allocations: 26.52 kB / 0.7349 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.1859, allocations: 0 / 0.7349 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001314/0.1861, allocations: 53.56 kB / 0.735 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.1861, allocations: 12.09 kB / 0.735 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.1861, allocations: 3.984 kB / 0.735 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.1861, allocations: 0 / 0.735 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.393e-05/0.1862, allocations: 7.984 kB / 0.735 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.1862, allocations: 4 kB / 0.735 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001446/0.1863, allocations: 4 kB / 0.735 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.1863, allocations: 0 / 0.735 GB, free: 10.3 MB / 0.5606 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.0001259/0.1865, allocations: 201 kB / 0.7352 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.12e-05/0.1865, allocations: 112.9 kB / 0.7353 GB, free: 9.973 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.85e-05/0.1866, allocations: 108.1 kB / 0.7354 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.944e-05/0.1867, allocations: 176.3 kB / 0.7356 GB, free: 9.68 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.38e-05/0.1867, allocations: 180.5 kB / 0.7357 GB, free: 9.496 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.209e-05/0.1868, allocations: 180.2 kB / 0.7359 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002634/0.1871, allocations: 388.2 kB / 0.7363 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.36e-05/0.1871, allocations: 105 kB / 0.7364 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.568e-05/0.1872, allocations: 105 kB / 0.7365 GB, free: 8.664 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.834e-05/0.1872, allocations: 180.2 kB / 0.7367 GB, free: 8.48 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.091e-05/0.1873, allocations: 180.3 kB / 0.7368 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.544e-05/0.1874, allocations: 184.2 kB / 0.737 GB, free: 8.109 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.527e-05/0.1875, allocations: 184.3 kB / 0.7372 GB, free: 7.922 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001578/0.1876, allocations: 311.6 kB / 0.7375 GB, free: 7.594 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.607e-05/0.1877, allocations: 105 kB / 0.7376 GB, free: 7.484 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.441e-05/0.1878, allocations: 180.2 kB / 0.7377 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.729e-05/0.1878, allocations: 109 kB / 0.7379 GB, free: 7.188 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.37e-05/0.1879, allocations: 184.2 kB / 0.738 GB, free: 7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.981e-05/0.188, allocations: 101 kB / 0.7381 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.422e-05/0.188, allocations: 83.28 kB / 0.7382 GB, free: 6.812 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.188, allocations: 0 / 0.7382 GB, free: 6.812 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003206/0.1883, allocations: 55.8 kB / 0.7383 GB, free: 6.758 MB / 0.5606 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.1894, allocations: 0.9803 MB / 0.7392 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001037/0.1895, allocations: 12 kB / 0.7392 GB, free: 5.785 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/0.1895, allocations: 4 kB / 0.7392 GB, free: 5.781 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.493e-06/0.1895, allocations: 0 / 0.7392 GB, free: 5.781 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004006/0.1899, allocations: 461.4 kB / 0.7397 GB, free: 5.328 MB / 0.5606 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.001375/0.1913, allocations: 1.353 MB / 0.741 GB, free: 3.883 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003078/0.1916, allocations: 0.6768 MB / 0.7417 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.941e-05/0.1916, allocations: 4 kB / 0.7417 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.174e-05/0.1917, allocations: 7.438 kB / 0.7417 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of SimCode: time 6.71e-07/0.1917, allocations: 7.938 kB / 0.7417 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4767/0.6683, allocations: 2.721 MB / 0.7443 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.48, allocations: 11.77 kB / 0.7443 GB, free: 0.6016 MB / 0.5606 GB " [Timeout remaining time 645] (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.15412030997686] Failed to read output from testmodel.py, exit status != 0: 15.083577170968056 15.10351979 14.915434049 Calling exit ...