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.00181/0.00181, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002331/0.002331, allocations: 212.3 kB / 22.24 MB, free: 5.262 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.459/1.459, allocations: 230.6 MB / 256 MB, free: 7.793 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.002473/0.002473, allocations: 283.7 kB / 312.7 MB, free: 2.695 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.215/1.215, allocations: 180.6 MB / 0.5369 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.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.002891/0.002891, allocations: 105.8 kB / 0.7395 GB, free: 27.82 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1722, allocations: 95.38 MB / 0.8327 GB, free: 8.289 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002412/0.1746, allocations: 1.3 MB / 0.8339 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002471/0.1771, allocations: 1.521 MB / 0.8354 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.929e-05/0.1771, allocations: 0 / 0.8354 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.752e-05/0.1771, allocations: 8 kB / 0.8354 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001932/0.1773, allocations: 19.92 kB / 0.8354 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006296/0.178, allocations: 210 kB / 0.8356 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.913e-05/0.178, allocations: 31.84 kB / 0.8357 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.697e-05/0.1781, allocations: 4 kB / 0.8357 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001279/0.1782, allocations: 19.92 kB / 0.8357 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.298e-05/0.1783, allocations: 10.56 kB / 0.8357 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.434e-05/0.1783, allocations: 4 kB / 0.8357 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002896/0.1786, allocations: 151.8 kB / 0.8358 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.434e-05/0.1786, allocations: 7.938 kB / 0.8359 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.461e-05/0.1786, allocations: 15.97 kB / 0.8359 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002555/0.1789, allocations: 135.9 kB / 0.836 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1789, allocations: 4 kB / 0.836 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.313e-06/0.1789, allocations: 0 / 0.836 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.1789, allocations: 4 kB / 0.836 GB, free: 4.84 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.0003714/0.1792, allocations: 289.9 kB / 0.8363 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.1793, allocations: 13.34 kB / 0.8363 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.901e-05/0.1793, allocations: 106 kB / 0.8364 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.334e-05/0.1794, allocations: 80.2 kB / 0.8365 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001667/0.1796, allocations: 185.8 kB / 0.8367 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.299e-05/0.1797, allocations: 158.9 kB / 0.8368 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.245e-05/0.1797, allocations: 154.5 kB / 0.8369 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.626e-05/0.1798, allocations: 113 kB / 0.8371 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.494e-05/0.1799, allocations: 75.28 kB / 0.8371 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.496e-05/0.1799, allocations: 154.6 kB / 0.8373 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.217e-05/0.18, allocations: 150.6 kB / 0.8374 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.652e-05/0.1801, allocations: 154.5 kB / 0.8376 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003507/0.1804, allocations: 432.9 kB / 0.838 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.1805, allocations: 169.1 kB / 0.8381 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.32e-05/0.1806, allocations: 84.14 kB / 0.8382 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.304e-05/0.1806, allocations: 79.28 kB / 0.8383 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.802e-05/0.1807, allocations: 105.8 kB / 0.8384 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.1807, allocations: 0 / 0.8384 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 8.44e-05/0.1808, allocations: 41.62 kB / 0.8384 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.334e-05/0.1808, allocations: 126.7 kB / 0.8386 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.1809, allocations: 105.8 kB / 0.8387 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.181, allocations: 25.7 kB / 0.8387 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.096e-05/0.181, allocations: 92.06 kB / 0.8388 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-06/0.181, allocations: 0 / 0.8388 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.704e-05/0.1811, allocations: 17.72 kB / 0.8388 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.1812, allocations: 314.8 kB / 0.8391 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.525e-05/0.1812, allocations: 7.984 kB / 0.8391 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.093e-05/0.1813, allocations: 99.69 kB / 0.8392 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.322e-05/0.1814, allocations: 34.5 kB / 0.8392 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1814, allocations: 0 / 0.8392 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001283/0.1815, allocations: 49.58 kB / 0.8393 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.1815, allocations: 10.03 kB / 0.8393 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.1815, allocations: 0 / 0.8393 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.1815, allocations: 0 / 0.8393 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.8e-05/0.1816, allocations: 7.984 kB / 0.8393 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.1816, allocations: 8.031 kB / 0.8393 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001407/0.1817, allocations: 12.2 kB / 0.8393 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.1818, allocations: 4 kB / 0.8393 GB, free: 1.215 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.0001316/0.1819, allocations: 201.8 kB / 0.8395 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.37e-05/0.182, allocations: 108.9 kB / 0.8396 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.059e-05/0.182, allocations: 107.9 kB / 0.8397 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.595e-05/0.1821, allocations: 180.2 kB / 0.8399 GB, free: 0.5938 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.289e-05/0.1822, allocations: 184.2 kB / 0.8401 GB, free: 416 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.843e-05/0.1823, allocations: 176.3 kB / 0.8402 GB, free: 232 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002854/0.1826, allocations: 380.2 kB / 0.8406 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.192e-05/0.1826, allocations: 109 kB / 0.8407 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.633e-05/0.1827, allocations: 104.9 kB / 0.8408 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.865e-05/0.1828, allocations: 184.3 kB / 0.841 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.824e-05/0.1828, allocations: 176.3 kB / 0.8411 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.792e-05/0.1829, allocations: 180.2 kB / 0.8413 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.543e-05/0.183, allocations: 180.3 kB / 0.8415 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001705/0.1832, allocations: 311.7 kB / 0.8418 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.772e-05/0.1832, allocations: 101 kB / 0.8419 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.526e-05/0.1833, allocations: 188.2 kB / 0.8421 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.89e-05/0.1834, allocations: 105 kB / 0.8422 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.1835, allocations: 184.2 kB / 0.8423 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.097e-05/0.1836, allocations: 109 kB / 0.8424 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.183e-05/0.1836, allocations: 79.28 kB / 0.8425 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.1836, allocations: 0 / 0.8425 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003492/0.184, allocations: 55.8 kB / 0.8426 GB, free: 13.68 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.001098/0.1851, allocations: 0.9814 MB / 0.8435 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 8.782e-05/0.1852, allocations: 8 kB / 0.8435 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1852, allocations: 0 / 0.8435 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 8.246e-06/0.1852, allocations: 12.12 kB / 0.8435 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000514/0.1857, allocations: 451.7 kB / 0.844 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/0.1869, allocations: 1.353 MB / 0.8453 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.156e-05/0.187, allocations: 59.34 kB / 0.8454 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 2.784e-05/0.187, allocations: 7.969 kB / 0.8454 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.258e-05/0.187, allocations: 11.44 kB / 0.8454 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of SimCode: time 9.52e-07/0.187, allocations: 0 / 0.8454 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03616/0.2232, allocations: 3.147 MB / 0.8484 GB, free: 7.742 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.46, allocations: 11.05 kB / 0.8485 GB, free: 7.734 MB / 0.5919 GB " [Timeout remaining time 648] (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: 15.718274713959545] Failed to read output from testmodel.py, exit status != 0: 11.609617681708187 11.635812841 11.452252382 Calling exit ...