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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 101.7 kB / 19.59 MB, free: 2.324 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001632/0.001632, allocations: 194.8 kB / 22.85 MB, free: 5.652 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 225.6 MB / 251.5 MB, free: 13.05 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.002436/0.002436, allocations: 291.9 kB / 307 MB, free: 8.359 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.136/1.136, allocations: 180.8 MB / 0.5304 GB, free: 14.43 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.0027/0.0027, allocations: 104 kB / 0.7311 GB, free: 38.92 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1553, allocations: 94.2 MB / 0.8231 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002505/0.1578, allocations: 1.28 MB / 0.8243 GB, free: 0.6211 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002556/0.1604, allocations: 1.545 MB / 0.8258 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.151e-05/0.1604, allocations: 0 / 0.8258 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.984e-05/0.1604, allocations: 0 / 0.8258 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001806/0.1606, allocations: 11.92 kB / 0.8258 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005991/0.1612, allocations: 217.5 kB / 0.8261 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.587e-05/0.1613, allocations: 31.84 kB / 0.8261 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.913e-05/0.1613, allocations: 4 kB / 0.8261 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 7.747e-05/0.1614, allocations: 15.92 kB / 0.8261 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.1615, allocations: 11.98 kB / 0.8261 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.044e-05/0.1615, allocations: 0 / 0.8261 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002886/0.1618, allocations: 167.8 kB / 0.8263 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.643e-05/0.1618, allocations: 7.922 kB / 0.8263 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.204e-05/0.1619, allocations: 7.984 kB / 0.8263 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002522/0.1621, allocations: 147.6 kB / 0.8264 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1621, allocations: 0 / 0.8264 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.215e-06/0.1621, allocations: 0 / 0.8264 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.1621, allocations: 0 / 0.8264 GB, free: 14.46 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.0003871/0.1625, allocations: 293.9 kB / 0.8267 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.1625, allocations: 8.625 kB / 0.8267 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.799e-05/0.1626, allocations: 88.2 kB / 0.8268 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001675/0.1628, allocations: 185.8 kB / 0.827 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.103e-05/0.1629, allocations: 154.9 kB / 0.8271 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.588e-05/0.163, allocations: 154.7 kB / 0.8273 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.449e-05/0.163, allocations: 104.9 kB / 0.8274 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.069e-05/0.1631, allocations: 79.28 kB / 0.8275 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.271e-05/0.1631, allocations: 154.6 kB / 0.8276 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.787e-05/0.1632, allocations: 150.6 kB / 0.8277 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.427e-05/0.1633, allocations: 150.6 kB / 0.8279 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003111/0.1636, allocations: 425 kB / 0.8283 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001026/0.1637, allocations: 173.1 kB / 0.8285 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.523e-05/0.1638, allocations: 96.06 kB / 0.8286 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.196e-05/0.1638, allocations: 75.28 kB / 0.8286 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.287e-05/0.1638, allocations: 105.8 kB / 0.8287 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.1638, allocations: 3.938 kB / 0.8287 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 7.874e-05/0.1639, allocations: 29.7 kB / 0.8288 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.632e-05/0.164, allocations: 134.7 kB / 0.8289 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.1641, allocations: 105.8 kB / 0.829 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.1641, allocations: 29.7 kB / 0.829 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.37e-05/0.1642, allocations: 80.14 kB / 0.8291 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.335e-06/0.1642, allocations: 7.875 kB / 0.8291 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.212e-05/0.1642, allocations: 17.72 kB / 0.8291 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.1644, allocations: 318.8 kB / 0.8294 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.486e-05/0.1644, allocations: 4.25 kB / 0.8294 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.1645, allocations: 30.56 kB / 0.8295 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.676e-05/0.1645, allocations: 26.58 kB / 0.8295 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.1645, allocations: 0 / 0.8295 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001277/0.1647, allocations: 53.58 kB / 0.8295 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.1647, allocations: 11.98 kB / 0.8295 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.1647, allocations: 0 / 0.8295 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.1647, allocations: 0 / 0.8295 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.194e-05/0.1648, allocations: 8 kB / 0.8295 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.1648, allocations: 0 / 0.8295 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001425/0.1649, allocations: 8 kB / 0.8296 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.1649, allocations: 3.984 kB / 0.8296 GB, free: 11.05 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.0001145/0.165, allocations: 185.8 kB / 0.8297 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.992e-05/0.1651, allocations: 108.9 kB / 0.8298 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.042e-05/0.1652, allocations: 116.1 kB / 0.83 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.723e-05/0.1652, allocations: 184.3 kB / 0.8301 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.357e-05/0.1653, allocations: 180.2 kB / 0.8303 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.68e-05/0.1654, allocations: 180.3 kB / 0.8305 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002427/0.1656, allocations: 380.2 kB / 0.8308 GB, free: 9.641 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.327e-05/0.1657, allocations: 108.9 kB / 0.8309 GB, free: 9.527 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-05/0.1657, allocations: 101 kB / 0.831 GB, free: 9.422 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.828e-05/0.1658, allocations: 180.3 kB / 0.8312 GB, free: 9.238 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.383e-05/0.1659, allocations: 176.3 kB / 0.8314 GB, free: 9.059 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.13e-05/0.166, allocations: 188.2 kB / 0.8316 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.846e-05/0.1661, allocations: 188.2 kB / 0.8317 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001556/0.1662, allocations: 307.7 kB / 0.832 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.792e-05/0.1663, allocations: 105 kB / 0.8321 GB, free: 8.242 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.651e-05/0.1664, allocations: 184.2 kB / 0.8323 GB, free: 8.055 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.691e-05/0.1664, allocations: 109 kB / 0.8324 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.186e-05/0.1665, allocations: 176.3 kB / 0.8326 GB, free: 7.762 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.201e-05/0.1666, allocations: 108.9 kB / 0.8327 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 9.076e-05/0.1666, allocations: 87.27 kB / 0.8328 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1666, allocations: 0 / 0.8328 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000296/0.1669, allocations: 59.69 kB / 0.8328 GB, free: 7.504 MB / 0.5762 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.0005824/0.1675, allocations: 342.8 kB / 0.8331 GB, free: 7.195 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 8.756e-05/0.1676, allocations: 15.92 kB / 0.8332 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.1676, allocations: 4 kB / 0.8332 GB, free: 7.176 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/0.1676, allocations: 0 / 0.8332 GB, free: 7.176 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003796/0.168, allocations: 458.1 kB / 0.8336 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00024/0.1682, allocations: 177.8 kB / 0.8338 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003548/0.1686, allocations: 0.6729 MB / 0.8344 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.215e-05/0.1686, allocations: 3.906 kB / 0.8344 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.433e-05/0.1686, allocations: 7.438 kB / 0.8344 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of SimCode: time 3.21e-07/0.1686, allocations: 7.938 kB / 0.8344 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of Templates: time 0.004303/0.1729, allocations: 1.614 MB / 0.836 GB, free: 4.238 MB / 0.5762 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.679376576001232] Failed to read output from testmodel.py, exit status != 0: 0.18008968299545813 0.19473879100000002 0.02971818 Calling exit ...