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.001595/0.001595, allocations: 113 kB / 18.94 MB, free: 2.934 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.001558/0.001558, allocations: 209 kB / 22.25 MB, free: 5.086 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.415/1.415, allocations: 230.6 MB / 256 MB, free: 8.012 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002493/0.002493, allocations: 293 kB / 312.7 MB, free: 2.797 MB / 238.1 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.195/1.195, allocations: 180.9 MB / 0.5372 GB, free: 12.82 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 2.0.0-master/package.mo)
Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement")
translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") [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.0043/0.0043, allocations: 103.6 kB / 0.7403 GB, free: 28.11 MB / 0.5294 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1724, allocations: 95.39 MB / 0.8335 GB, free: 7.918 MB / 0.5762 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002311/0.1747, allocations: 1.292 MB / 0.8347 GB, free: 6.613 MB / 0.5762 GB
Notification: Performance of NFInst.instExpressions: time 0.002364/0.177, allocations: 1.596 MB / 0.8363 GB, free: 5.012 MB / 0.5762 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.505e-05/0.1771, allocations: 0 / 0.8363 GB, free: 5.012 MB / 0.5762 GB
Notification: Performance of NFTyping.typeComponents: time 1.446e-05/0.1771, allocations: 0 / 0.8363 GB, free: 5.012 MB / 0.5762 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001543/0.1772, allocations: 11.92 kB / 0.8363 GB, free: 5 MB / 0.5762 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0005913/0.1778, allocations: 226.5 kB / 0.8365 GB, free: 4.785 MB / 0.5762 GB
Notification: Performance of NFFlatten.flatten: time 7.229e-05/0.1779, allocations: 23.91 kB / 0.8366 GB, free: 4.762 MB / 0.5762 GB
Notification: Performance of NFFlatten.resolveConnections: time 3.662e-05/0.1779, allocations: 0 / 0.8366 GB, free: 4.762 MB / 0.5762 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001239/0.1781, allocations: 27.86 kB / 0.8366 GB, free: 4.734 MB / 0.5762 GB
Notification: Performance of NFSimplifyModel.simplify: time 7.169e-05/0.1781, allocations: 11.98 kB / 0.8366 GB, free: 4.723 MB / 0.5762 GB
Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.1781, allocations: 4 kB / 0.8366 GB, free: 4.719 MB / 0.5762 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0003066/0.1784, allocations: 171.8 kB / 0.8368 GB, free: 4.551 MB / 0.5762 GB
Notification: Performance of NFScalarize.scalarize: time 1.375e-05/0.1785, allocations: 4 kB / 0.8368 GB, free: 4.547 MB / 0.5762 GB
Notification: Performance of NFVerifyModel.verify: time 2.513e-05/0.1785, allocations: 11.94 kB / 0.8368 GB, free: 4.535 MB / 0.5762 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002536/0.1787, allocations: 147.6 kB / 0.8369 GB, free: 4.391 MB / 0.5762 GB
Notification: Performance of FrontEnd - DAE generated: time 1.743e-05/0.1788, allocations: 4 kB / 0.8369 GB, free: 4.387 MB / 0.5762 GB
Notification: Performance of FrontEnd: time 1.433e-06/0.1788, allocations: 0 / 0.8369 GB, free: 4.387 MB / 0.5762 GB
Notification: Performance of Transformations before backend: time 4.589e-06/0.1788, allocations: 0 / 0.8369 GB, free: 4.387 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.0003753/0.1791, allocations: 290 kB / 0.8372 GB, free: 4.074 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/0.1792, allocations: 8.75 kB / 0.8372 GB, free: 4.066 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.818e-05/0.1792, allocations: 76.22 kB / 0.8373 GB, free: 3.992 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001594/0.1794, allocations: 201.7 kB / 0.8375 GB, free: 3.77 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.548e-05/0.1795, allocations: 150.9 kB / 0.8376 GB, free: 3.621 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.195e-05/0.1795, allocations: 162.6 kB / 0.8378 GB, free: 3.461 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 7.626e-05/0.1796, allocations: 104.9 kB / 0.8379 GB, free: 3.352 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 3.793e-05/0.1797, allocations: 75.28 kB / 0.8379 GB, free: 3.277 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.164e-05/0.1797, allocations: 154.6 kB / 0.8381 GB, free: 3.125 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.193e-05/0.1798, allocations: 154.6 kB / 0.8382 GB, free: 2.973 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 6.718e-05/0.1799, allocations: 154.6 kB / 0.8384 GB, free: 2.82 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003102/0.1802, allocations: 425 kB / 0.8388 GB, free: 2.363 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 9.712e-05/0.1803, allocations: 173.1 kB / 0.8389 GB, free: 2.184 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.169e-05/0.1803, allocations: 84.08 kB / 0.839 GB, free: 2.098 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.558e-05/0.1803, allocations: 79.27 kB / 0.8391 GB, free: 2.02 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.478e-05/0.1804, allocations: 113.8 kB / 0.8392 GB, free: 1.898 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=0): time 8.11e-07/0.1804, allocations: 3.938 kB / 0.8392 GB, free: 1.895 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=0): time 7.333e-05/0.1805, allocations: 25.7 kB / 0.8392 GB, free: 1.863 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.52e-05/0.1806, allocations: 134.6 kB / 0.8394 GB, free: 1.719 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.977e-05/0.1807, allocations: 105.8 kB / 0.8395 GB, free: 1.605 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.1807, allocations: 25.7 kB / 0.8395 GB, free: 1.574 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 5.256e-05/0.1807, allocations: 84.14 kB / 0.8396 GB, free: 1.488 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 1.644e-06/0.1807, allocations: 0 / 0.8396 GB, free: 1.488 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.802e-05/0.1808, allocations: 17.72 kB / 0.8396 GB, free: 1.465 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 0.0001358/0.1809, allocations: 318.8 kB / 0.8399 GB, free: 1.145 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.305e-05/0.1809, allocations: 4 kB / 0.8399 GB, free: 1.141 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 4.435e-05/0.181, allocations: 26.58 kB / 0.8399 GB, free: 1.105 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 4.443e-05/0.181, allocations: 30.5 kB / 0.84 GB, free: 1.066 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.181, allocations: 0 / 0.84 GB, free: 1.066 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001265/0.1811, allocations: 49.58 kB / 0.84 GB, free: 1.012 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.1811, allocations: 12.09 kB / 0.84 GB, free: 1 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.1812, allocations: 3.984 kB / 0.84 GB, free: 0.9961 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.1812, allocations: 0 / 0.84 GB, free: 0.9961 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.72e-05/0.1812, allocations: 4 kB / 0.84 GB, free: 0.9922 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.1812, allocations: 4 kB / 0.84 GB, free: 0.9883 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000141/0.1814, allocations: 8.203 kB / 0.84 GB, free: 0.9805 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.1814, allocations: 7.969 kB / 0.84 GB, free: 0.9727 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.0001056/0.1815, allocations: 185.8 kB / 0.8402 GB, free: 0.7812 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.165e-05/0.1816, allocations: 120.9 kB / 0.8403 GB, free: 0.6562 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.62e-05/0.1816, allocations: 111.9 kB / 0.8404 GB, free: 0.5352 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.058e-05/0.1817, allocations: 180.3 kB / 0.8406 GB, free: 360 kB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.033e-05/0.1818, allocations: 188.1 kB / 0.8408 GB, free: 164 kB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.391e-05/0.1819, allocations: 176.3 kB / 0.841 GB, free: 15.98 MB / 0.5919 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002523/0.1821, allocations: 388.2 kB / 0.8413 GB, free: 15.55 MB / 0.5919 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.187e-05/0.1822, allocations: 101 kB / 0.8414 GB, free: 15.45 MB / 0.5919 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.471e-05/0.1822, allocations: 104.9 kB / 0.8415 GB, free: 15.34 MB / 0.5919 GB
Notification: Performance of postOpt tearingSystem (simulation): time 7.015e-05/0.1823, allocations: 180.3 kB / 0.8417 GB, free: 15.15 MB / 0.5919 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.252e-05/0.1824, allocations: 180.3 kB / 0.8419 GB, free: 14.97 MB / 0.5919 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.164e-05/0.1825, allocations: 180.2 kB / 0.842 GB, free: 14.79 MB / 0.5919 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.405e-05/0.1825, allocations: 188.2 kB / 0.8422 GB, free: 14.59 MB / 0.5919 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001574/0.1827, allocations: 303.7 kB / 0.8425 GB, free: 14.27 MB / 0.5919 GB
Notification: Performance of postOpt removeConstants (simulation): time 4.795e-05/0.1827, allocations: 105 kB / 0.8426 GB, free: 14.16 MB / 0.5919 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.385e-05/0.1828, allocations: 188.2 kB / 0.8428 GB, free: 13.97 MB / 0.5919 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.711e-05/0.1829, allocations: 101 kB / 0.8429 GB, free: 13.87 MB / 0.5919 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.871e-05/0.183, allocations: 188.3 kB / 0.8431 GB, free: 13.68 MB / 0.5919 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.811e-05/0.1831, allocations: 101 kB / 0.8432 GB, free: 13.57 MB / 0.5919 GB
Notification: Performance of sorting global known variables: time 4.985e-05/0.1831, allocations: 87.27 kB / 0.8432 GB, free: 13.48 MB / 0.5919 GB
Notification: Performance of sort global known variables: time 6e-08/0.1831, allocations: 0 / 0.8432 GB, free: 13.48 MB / 0.5919 GB
Notification: Performance of remove unused functions: time 0.0003047/0.1834, allocations: 55.75 kB / 0.8433 GB, free: 13.43 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.0006141/0.184, allocations: 338 kB / 0.8436 GB, free: 13.12 MB / 0.5919 GB
Notification: Performance of simCode: created initialization part: time 8.929e-05/0.1841, allocations: 15.92 kB / 0.8436 GB, free: 13.11 MB / 0.5919 GB
Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1841, allocations: 0 / 0.8436 GB, free: 13.11 MB / 0.5919 GB
Notification: Performance of simCode: created simulation system equations: time 1.283e-06/0.1841, allocations: 4 kB / 0.8436 GB, free: 13.1 MB / 0.5919 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003789/0.1845, allocations: 455.6 kB / 0.8441 GB, free: 12.65 MB / 0.5919 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002401/0.1847, allocations: 180.7 kB / 0.8442 GB, free: 12.45 MB / 0.5919 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003019/0.185, allocations: 0.6729 MB / 0.8449 GB, free: 11.75 MB / 0.5919 GB
Notification: Performance of simCode: alias equations: time 2.088e-05/0.1851, allocations: 4 kB / 0.8449 GB, free: 11.75 MB / 0.5919 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.39e-05/0.1851, allocations: 7.438 kB / 0.8449 GB, free: 11.74 MB / 0.5919 GB
Notification: Performance of SimCode: time 3.41e-07/0.1851, allocations: 3.938 kB / 0.8449 GB, free: 11.74 MB / 0.5919 GB
Notification: Performance of Templates: time 0.004408/0.1895, allocations: 1.617 MB / 0.8465 GB, free: 10.16 MB / 0.5919 GB
"
[Timeout remaining time 660]
make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile [Timeout 660]
(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 & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.88625418394804]
Failed to read output from testmodel.py, exit status != 0:
0.19787959195673466 0.21163399400000002 0.029809980000000003
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fa2604997b0>