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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001346/0.001347, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 193.8 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.004311/0.004311, allocations: 298.2 kB / 290.4 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.083/1.083, allocations: 178.6 MB / 0.507 GB, free: 4.754 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002746/0.002746, allocations: 102 kB / 0.6059 GB, free: 25.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.1649, allocations: 89.15 MB / 0.693 GB, free: 4.703 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002379/0.1674, allocations: 1.321 MB / 0.6943 GB, free: 3.379 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002083/0.1695, allocations: 1.421 MB / 0.6957 GB, free: 1.953 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.726e-05/0.1695, allocations: 0 / 0.6957 GB, free: 1.953 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.432e-05/0.1695, allocations: 0 / 0.6957 GB, free: 1.953 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001665/0.1697, allocations: 15.94 kB / 0.6957 GB, free: 1.938 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005571/0.1703, allocations: 192.3 kB / 0.6959 GB, free: 1.754 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.645e-05/0.1703, allocations: 35.91 kB / 0.6959 GB, free: 1.719 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.123e-05/0.1704, allocations: 4 kB / 0.6959 GB, free: 1.715 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.251e-05/0.1704, allocations: 12 kB / 0.6959 GB, free: 1.703 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.675e-05/0.1705, allocations: 15.91 kB / 0.6959 GB, free: 1.688 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.568e-06/0.1706, allocations: 0 / 0.6959 GB, free: 1.688 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002409/0.1708, allocations: 147.8 kB / 0.6961 GB, free: 1.543 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.351e-05/0.1708, allocations: 7.984 kB / 0.6961 GB, free: 1.535 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.363e-05/0.1709, allocations: 11.92 kB / 0.6961 GB, free: 1.523 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002298/0.1711, allocations: 143.7 kB / 0.6962 GB, free: 1.383 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1711, allocations: 0 / 0.6962 GB, free: 1.383 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1711, allocations: 0 / 0.6962 GB, free: 1.383 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.688e-06/0.1711, allocations: 4 kB / 0.6962 GB, free: 1.379 MB / 494.1 MB 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.0003904/0.1715, allocations: 375.7 kB / 0.6966 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.1716, allocations: 12.03 kB / 0.6966 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.299e-05/0.1716, allocations: 80.22 kB / 0.6967 GB, free: 0.875 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001849/0.1718, allocations: 239.7 kB / 0.6969 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.778e-05/0.1719, allocations: 154.9 kB / 0.6971 GB, free: 460 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.864e-05/0.172, allocations: 158.7 kB / 0.6972 GB, free: 300 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.622e-05/0.172, allocations: 105 kB / 0.6973 GB, free: 188 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.412e-05/0.1721, allocations: 79.22 kB / 0.6974 GB, free: 108 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.465e-05/0.1722, allocations: 158.5 kB / 0.6975 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.524e-05/0.1723, allocations: 158.5 kB / 0.6977 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.71e-05/0.1723, allocations: 150.6 kB / 0.6978 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003456/0.1727, allocations: 453.9 kB / 0.6983 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.72e-05/0.1728, allocations: 169.1 kB / 0.6984 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.639e-05/0.1728, allocations: 88.02 kB / 0.6985 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.887e-05/0.1729, allocations: 79.27 kB / 0.6986 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.29e-05/0.1729, allocations: 113.8 kB / 0.6987 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.173, allocations: 0 / 0.6987 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 9.032e-05/0.173, allocations: 29.7 kB / 0.6987 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.446e-05/0.1731, allocations: 126.7 kB / 0.6988 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.1732, allocations: 101.8 kB / 0.6989 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.1733, allocations: 29.7 kB / 0.699 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.903e-05/0.1733, allocations: 84.05 kB / 0.699 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.814e-06/0.1733, allocations: 4 kB / 0.699 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.772e-05/0.1734, allocations: 21.72 kB / 0.6991 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.1735, allocations: 318.8 kB / 0.6994 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.078e-05/0.1735, allocations: 3.938 kB / 0.6994 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.223e-05/0.1736, allocations: 22.58 kB / 0.6994 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.576e-05/0.1736, allocations: 30.56 kB / 0.6994 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1736, allocations: 0 / 0.6994 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001192/0.1738, allocations: 53.58 kB / 0.6995 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.1738, allocations: 4 kB / 0.6995 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.1738, allocations: 3.984 kB / 0.6995 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.1738, allocations: 3.938 kB / 0.6995 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.752e-05/0.1739, allocations: 8 kB / 0.6995 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.1739, allocations: 0 / 0.6995 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001481/0.174, allocations: 8.094 kB / 0.6995 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.1741, allocations: 7.984 kB / 0.6995 GB, free: 13.77 MB / 0.4981 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.0001147/0.1742, allocations: 189.1 kB / 0.6997 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.607e-05/0.1743, allocations: 108.9 kB / 0.6998 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.967e-05/0.1743, allocations: 108 kB / 0.6999 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.619e-05/0.1744, allocations: 176.3 kB / 0.7001 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.066e-05/0.1745, allocations: 188.2 kB / 0.7002 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.43e-05/0.1746, allocations: 180.3 kB / 0.7004 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000271/0.1748, allocations: 409.3 kB / 0.7008 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.106e-05/0.1749, allocations: 108.9 kB / 0.7009 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.269e-05/0.1749, allocations: 109 kB / 0.701 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.029e-05/0.175, allocations: 184.2 kB / 0.7012 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.896e-05/0.1751, allocations: 180.4 kB / 0.7014 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.858e-05/0.1752, allocations: 180.3 kB / 0.7015 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.338e-05/0.1753, allocations: 188.2 kB / 0.7017 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001593/0.1754, allocations: 311.7 kB / 0.702 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.951e-05/0.1755, allocations: 185.9 kB / 0.7022 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.99e-05/0.1756, allocations: 180.2 kB / 0.7024 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.855e-05/0.1757, allocations: 108.9 kB / 0.7025 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.091e-05/0.1758, allocations: 176.3 kB / 0.7026 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-05/0.1759, allocations: 104.9 kB / 0.7027 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.033e-05/0.1759, allocations: 87.27 kB / 0.7028 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1759, allocations: 4 kB / 0.7028 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003051/0.1762, allocations: 48 kB / 0.7029 GB, free: 10.11 MB / 0.4981 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.0006217/0.1769, allocations: 340.3 kB / 0.7032 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.926e-05/0.1769, allocations: 15.98 kB / 0.7032 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.177, allocations: 0 / 0.7032 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.637e-06/0.177, allocations: 3.938 kB / 0.7032 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003881/0.1774, allocations: 468.7 kB / 0.7037 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002268/0.1776, allocations: 169.5 kB / 0.7038 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/0.1779, allocations: 0.6729 MB / 0.7045 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.888e-05/0.1779, allocations: 0 / 0.7045 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.485e-05/0.1779, allocations: 15.44 kB / 0.7045 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.1779, allocations: 0 / 0.7045 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of Templates: time 0.00436/0.1823, allocations: 1.623 MB / 0.7061 GB, free: 6.828 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile (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)