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.001534/0.001534, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001549/0.001549, allocations: 212.6 kB / 22.25 MB, free: 4.859 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.511/1.511, allocations: 230.6 MB / 256 MB, free: 7.785 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.002613/0.002613, allocations: 292.1 kB / 312.7 MB, free: 2.688 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.263/1.263, allocations: 180.6 MB / 0.5369 GB, free: 14.49 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: 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.003043/0.003043, allocations: 103.8 kB / 0.74 GB, free: 27.65 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.1564, allocations: 95.39 MB / 0.8331 GB, free: 7.691 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.00227/0.1587, allocations: 1.282 MB / 0.8344 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002379/0.1611, allocations: 1.537 MB / 0.8359 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.053e-05/0.1611, allocations: 0 / 0.8359 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.815e-05/0.1611, allocations: 0 / 0.8359 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001861/0.1613, allocations: 15.92 kB / 0.8359 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000606/0.1619, allocations: 215.6 kB / 0.8361 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.083e-05/0.162, allocations: 27.91 kB / 0.8361 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.092e-05/0.162, allocations: 7.938 kB / 0.8362 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001281/0.1622, allocations: 31.91 kB / 0.8362 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.586e-05/0.1622, allocations: 7.938 kB / 0.8362 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.1623, allocations: 0 / 0.8362 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002872/0.1625, allocations: 155.8 kB / 0.8363 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.123e-05/0.1626, allocations: 7.969 kB / 0.8363 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.246e-05/0.1626, allocations: 7.938 kB / 0.8364 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002451/0.1628, allocations: 139.6 kB / 0.8365 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.1628, allocations: 7.938 kB / 0.8365 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1628, allocations: 0 / 0.8365 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.1628, allocations: 0 / 0.8365 GB, free: 4.242 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.0003678/0.1632, allocations: 286 kB / 0.8368 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.1632, allocations: 16.73 kB / 0.8368 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.418e-05/0.1633, allocations: 76.22 kB / 0.8369 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000149/0.1635, allocations: 181.8 kB / 0.837 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.565e-05/0.1635, allocations: 158.9 kB / 0.8372 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.661e-05/0.1636, allocations: 154.7 kB / 0.8373 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.144e-05/0.1637, allocations: 108.9 kB / 0.8374 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.775e-05/0.1637, allocations: 75.28 kB / 0.8375 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.483e-05/0.1638, allocations: 150.6 kB / 0.8376 GB, free: 2.996 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.46e-05/0.1639, allocations: 154.6 kB / 0.8378 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.442e-05/0.1639, allocations: 150.6 kB / 0.8379 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002982/0.1642, allocations: 417.5 kB / 0.8383 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.1643, allocations: 173.1 kB / 0.8385 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.521e-05/0.1644, allocations: 84.14 kB / 0.8386 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.685e-05/0.1644, allocations: 75.28 kB / 0.8387 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.667e-05/0.1645, allocations: 109.8 kB / 0.8388 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 2.955e-06/0.1645, allocations: 7.922 kB / 0.8388 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 8.291e-05/0.1645, allocations: 33.69 kB / 0.8388 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.972e-05/0.1646, allocations: 134.6 kB / 0.8389 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.1647, allocations: 105.8 kB / 0.839 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.1647, allocations: 25.7 kB / 0.8391 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.72e-05/0.1648, allocations: 84.12 kB / 0.8391 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.164e-06/0.1648, allocations: 4 kB / 0.8391 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.99e-05/0.1648, allocations: 21.72 kB / 0.8392 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.165, allocations: 310.8 kB / 0.8395 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.164e-05/0.165, allocations: 7.984 kB / 0.8395 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.854e-05/0.1651, allocations: 103.7 kB / 0.8396 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.603e-05/0.1651, allocations: 26.52 kB / 0.8396 GB, free: 0.8633 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.1651, allocations: 3.984 kB / 0.8396 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001225/0.1653, allocations: 49.58 kB / 0.8396 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.1653, allocations: 11.94 kB / 0.8396 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-06/0.1653, allocations: 0 / 0.8396 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.1653, allocations: 0 / 0.8396 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.53e-05/0.1654, allocations: 7.984 kB / 0.8397 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.1654, allocations: 4 kB / 0.8397 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000151/0.1655, allocations: 11.95 kB / 0.8397 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.1655, allocations: 0 / 0.8397 GB, free: 0.7695 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.0001127/0.1656, allocations: 189.8 kB / 0.8399 GB, free: 0.5742 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.739e-05/0.1657, allocations: 121 kB / 0.84 GB, free: 460 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.816e-05/0.1658, allocations: 108.1 kB / 0.8401 GB, free: 340 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-05/0.1658, allocations: 176.3 kB / 0.8402 GB, free: 156 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-05/0.1659, allocations: 184.2 kB / 0.8404 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.917e-05/0.166, allocations: 180.2 kB / 0.8406 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002215/0.1662, allocations: 356.8 kB / 0.8409 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.958e-05/0.1663, allocations: 101 kB / 0.841 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.45e-05/0.1663, allocations: 105 kB / 0.8411 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.14e-05/0.1664, allocations: 188.1 kB / 0.8413 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.666e-05/0.1665, allocations: 176.3 kB / 0.8415 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.856e-05/0.1666, allocations: 180.2 kB / 0.8416 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.024e-05/0.1667, allocations: 188.5 kB / 0.8418 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001606/0.1668, allocations: 303.8 kB / 0.8421 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.795e-05/0.1669, allocations: 104.9 kB / 0.8422 GB, free: 14 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.339e-05/0.167, allocations: 196.1 kB / 0.8424 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.452e-05/0.167, allocations: 109 kB / 0.8425 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.739e-05/0.1671, allocations: 184.2 kB / 0.8427 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.625e-05/0.1672, allocations: 101 kB / 0.8428 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.742e-05/0.1672, allocations: 83.28 kB / 0.8429 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1672, allocations: 0 / 0.8429 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003265/0.1675, allocations: 51.8 kB / 0.8429 GB, free: 13.27 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.0006454/0.1682, allocations: 345.5 kB / 0.8432 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 9.882e-05/0.1683, allocations: 11.94 kB / 0.8432 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/0.1683, allocations: 0 / 0.8432 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.332e-06/0.1683, allocations: 0 / 0.8432 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003972/0.1687, allocations: 463.7 kB / 0.8437 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002466/0.1689, allocations: 173.5 kB / 0.8439 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.665e-05/0.169, allocations: 59.34 kB / 0.8439 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 2.12e-05/0.169, allocations: 4.188 kB / 0.8439 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.857e-05/0.169, allocations: 11.44 kB / 0.8439 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of SimCode: time 3.61e-07/0.169, allocations: 0 / 0.8439 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of Templates: time 0.004695/0.1737, allocations: 1.648 MB / 0.8455 GB, free: 10.61 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: 6.144114710390568] Failed to read output from testmodel.py, exit status != 0: 0.18109826557338238 0.196176668 0.030279052 Calling exit ...