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.001318/0.001318, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001617/0.001617, allocations: 220.4 kB / 23.03 MB, free: 4.945 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.5/1.5, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.002506/0.002506, allocations: 280.5 kB / 313.5 MB, free: 2.613 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.226/1.226, allocations: 180.6 MB / 0.5377 GB, free: 14.51 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",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.002787/0.002787, allocations: 101.6 kB / 0.7403 GB, free: 28.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.169, allocations: 95.38 MB / 0.8334 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002334/0.1713, allocations: 1.302 MB / 0.8347 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002278/0.1736, allocations: 1.517 MB / 0.8362 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.056e-05/0.1736, allocations: 0 / 0.8362 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.854e-05/0.1737, allocations: 0 / 0.8362 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001988/0.1738, allocations: 11.92 kB / 0.8362 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000604/0.1745, allocations: 228.2 kB / 0.8364 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.198e-05/0.1745, allocations: 23.88 kB / 0.8364 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.694e-05/0.1746, allocations: 4 kB / 0.8364 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000125/0.1747, allocations: 19.97 kB / 0.8364 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.574e-05/0.1748, allocations: 15.92 kB / 0.8365 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.184e-05/0.1748, allocations: 0 / 0.8365 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002813/0.175, allocations: 159.8 kB / 0.8366 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.646e-05/0.1751, allocations: 7.922 kB / 0.8366 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.547e-05/0.1751, allocations: 12 kB / 0.8366 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002508/0.1753, allocations: 139.9 kB / 0.8368 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1753, allocations: 0 / 0.8368 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1753, allocations: 0 / 0.8368 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.618e-06/0.1753, allocations: 7.938 kB / 0.8368 GB, free: 4.867 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.0003568/0.1757, allocations: 293.9 kB / 0.837 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.1757, allocations: 13.94 kB / 0.8371 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.563e-05/0.1758, allocations: 79.47 kB / 0.8371 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.661e-05/0.1758, allocations: 106 kB / 0.8372 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.455e-05/0.1759, allocations: 76.22 kB / 0.8373 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/0.1761, allocations: 181.8 kB / 0.8375 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.09e-05/0.1761, allocations: 158.7 kB / 0.8376 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.1e-05/0.1762, allocations: 154.6 kB / 0.8378 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.772e-05/0.1763, allocations: 109 kB / 0.8379 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.738e-05/0.1763, allocations: 79.27 kB / 0.838 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.446e-05/0.1764, allocations: 158.5 kB / 0.8381 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-05/0.1765, allocations: 150.6 kB / 0.8383 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.37e-05/0.1765, allocations: 150.6 kB / 0.8384 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003023/0.1768, allocations: 429 kB / 0.8388 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 9.502e-05/0.1769, allocations: 173.1 kB / 0.839 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.706e-05/0.177, allocations: 80.14 kB / 0.839 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.396e-05/0.177, allocations: 83.22 kB / 0.8391 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.409e-05/0.177, allocations: 109.8 kB / 0.8392 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.177, allocations: 0 / 0.8392 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 7.443e-05/0.1771, allocations: 29.7 kB / 0.8393 GB, free: 2.16 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.559e-05/0.1772, allocations: 130.7 kB / 0.8394 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.1773, allocations: 109.8 kB / 0.8395 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.1773, allocations: 25.7 kB / 0.8395 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.549e-05/0.1774, allocations: 88.12 kB / 0.8396 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.543e-06/0.1774, allocations: 0 / 0.8396 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.496e-05/0.1774, allocations: 25.7 kB / 0.8396 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.1775, allocations: 310.8 kB / 0.8399 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.392e-05/0.1775, allocations: 4 kB / 0.8399 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.645e-05/0.1776, allocations: 107.6 kB / 0.84 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.646e-05/0.1777, allocations: 26.62 kB / 0.8401 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.1777, allocations: 3.938 kB / 0.8401 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001233/0.1778, allocations: 49.62 kB / 0.8401 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.1778, allocations: 11.94 kB / 0.8401 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1778, allocations: 0 / 0.8401 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.1778, allocations: 144 / 0.8401 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.216e-05/0.1779, allocations: 11.88 kB / 0.8401 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.1779, allocations: 4 kB / 0.8401 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001514/0.1781, allocations: 20.03 kB / 0.8401 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.1781, allocations: 3.984 kB / 0.8402 GB, free: 1.156 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.0001158/0.1782, allocations: 193.7 kB / 0.8403 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.372e-05/0.1782, allocations: 101 kB / 0.8404 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.711e-05/0.1783, allocations: 119.8 kB / 0.8405 GB, free: 0.7227 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-05/0.1784, allocations: 176.3 kB / 0.8407 GB, free: 0.543 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-05/0.1785, allocations: 184.2 kB / 0.8409 GB, free: 364 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.115e-05/0.1785, allocations: 180.3 kB / 0.8411 GB, free: 176 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002459/0.1788, allocations: 376.2 kB / 0.8414 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-05/0.1788, allocations: 108.9 kB / 0.8415 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.374e-05/0.1789, allocations: 105 kB / 0.8416 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.773e-05/0.1789, allocations: 184.2 kB / 0.8418 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.159e-05/0.179, allocations: 176.3 kB / 0.842 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.581e-05/0.1791, allocations: 180.2 kB / 0.8421 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.39e-05/0.1792, allocations: 184.2 kB / 0.8423 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001504/0.1793, allocations: 307.7 kB / 0.8426 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.899e-05/0.1794, allocations: 105 kB / 0.8427 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.547e-05/0.1794, allocations: 184.5 kB / 0.8429 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.331e-05/0.1795, allocations: 104.9 kB / 0.843 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.078e-05/0.1796, allocations: 188.3 kB / 0.8432 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.23e-05/0.1796, allocations: 104.9 kB / 0.8433 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.031e-05/0.1797, allocations: 87.27 kB / 0.8434 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of sort global known variables: time 5e-08/0.1797, allocations: 0 / 0.8434 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003089/0.18, allocations: 51.8 kB / 0.8434 GB, free: 13.62 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.0009579/0.181, allocations: 0.9771 MB / 0.8444 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 8.67e-05/0.1811, allocations: 11.94 kB / 0.8444 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1811, allocations: 0 / 0.8444 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.142e-06/0.1811, allocations: 0 / 0.8444 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003887/0.1814, allocations: 461.7 kB / 0.8448 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/0.1826, allocations: 1.35 MB / 0.8461 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.476e-05/0.1827, allocations: 67.22 kB / 0.8462 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 2.782e-05/0.1827, allocations: 0 / 0.8462 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.351e-05/0.1828, allocations: 15.44 kB / 0.8462 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of SimCode: time 2.7e-07/0.1828, allocations: 0 / 0.8462 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02483/0.2076, allocations: 2.805 MB / 0.8489 GB, free: 8.059 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.34, allocations: 14.22 kB / 0.849 GB, free: 8.047 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.689091289998032] Failed to read output from testmodel.py, exit status != 0: 11.541594075970352 11.557392091 11.378992925 Calling exit ...