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.001657/0.001656, allocations: 117.9 kB / 16.37 MB, free: 6.012 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.001899/0.001898, allocations: 190.4 kB / 17.31 MB, free: 5.613 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.309/1.309, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00217/0.00217, allocations: 287.4 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9312/0.9312, allocations: 169.3 MB / 0.4989 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00176/0.00176, allocations: 98.86 kB / 0.5967 GB, free: 14.42 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1489, allocations: 86.96 MB / 0.6816 GB, free: 7.445 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002329/0.1512, allocations: 1.269 MB / 0.6828 GB, free: 6.168 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001926/0.1532, allocations: 1.433 MB / 0.6842 GB, free: 4.727 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.642e-05/0.1532, allocations: 0 / 0.6842 GB, free: 4.727 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.237e-05/0.1532, allocations: 0 / 0.6842 GB, free: 4.727 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001635/0.1534, allocations: 19.91 kB / 0.6843 GB, free: 4.707 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005609/0.154, allocations: 214.8 kB / 0.6845 GB, free: 4.5 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.736e-05/0.1541, allocations: 23.92 kB / 0.6845 GB, free: 4.477 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.369e-05/0.1541, allocations: 8 kB / 0.6845 GB, free: 4.469 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.469e-05/0.1542, allocations: 19.86 kB / 0.6845 GB, free: 4.449 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.895e-05/0.1543, allocations: 11.98 kB / 0.6845 GB, free: 4.438 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.1543, allocations: 4 kB / 0.6845 GB, free: 4.434 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002802/0.1546, allocations: 163.8 kB / 0.6847 GB, free: 4.273 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.544e-05/0.1546, allocations: 7.984 kB / 0.6847 GB, free: 4.266 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.534e-05/0.1546, allocations: 11.92 kB / 0.6847 GB, free: 4.254 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002395/0.1549, allocations: 143.7 kB / 0.6848 GB, free: 4.113 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.1549, allocations: 0 / 0.6848 GB, free: 4.113 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1549, allocations: 4 kB / 0.6849 GB, free: 4.109 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.1549, allocations: 4 kB / 0.6849 GB, free: 4.105 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.0003438/0.1553, allocations: 363.5 kB / 0.6852 GB, free: 3.703 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.1553, allocations: 15.97 kB / 0.6852 GB, free: 3.688 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.915e-05/0.1554, allocations: 80.22 kB / 0.6853 GB, free: 3.609 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.1555, allocations: 247.6 kB / 0.6855 GB, free: 3.328 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.294e-05/0.1556, allocations: 154.9 kB / 0.6857 GB, free: 3.176 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.112e-05/0.1556, allocations: 162.7 kB / 0.6858 GB, free: 3.016 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.671e-05/0.1557, allocations: 101 kB / 0.6859 GB, free: 2.91 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.295e-05/0.1557, allocations: 75.28 kB / 0.686 GB, free: 2.836 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.022e-05/0.1558, allocations: 154.6 kB / 0.6862 GB, free: 2.684 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-05/0.1558, allocations: 150.6 kB / 0.6863 GB, free: 2.535 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.979e-05/0.1559, allocations: 150.6 kB / 0.6864 GB, free: 2.387 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002578/0.1561, allocations: 457.9 kB / 0.6869 GB, free: 1.891 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.405e-05/0.1562, allocations: 173.1 kB / 0.687 GB, free: 1.711 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.847e-05/0.1563, allocations: 84.08 kB / 0.6871 GB, free: 1.625 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/0.1563, allocations: 79.27 kB / 0.6872 GB, free: 1.547 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.607e-05/0.1563, allocations: 113.8 kB / 0.6873 GB, free: 1.426 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 2.485e-06/0.1563, allocations: 3.984 kB / 0.6873 GB, free: 1.422 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 6.884e-05/0.1564, allocations: 33.64 kB / 0.6873 GB, free: 1.383 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.632e-05/0.1565, allocations: 126.7 kB / 0.6875 GB, free: 1.246 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.332e-05/0.1566, allocations: 105.8 kB / 0.6876 GB, free: 1.133 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.1566, allocations: 25.7 kB / 0.6876 GB, free: 1.102 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.003e-05/0.1566, allocations: 80.14 kB / 0.6877 GB, free: 1.02 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.613e-06/0.1566, allocations: 0 / 0.6877 GB, free: 1.02 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.603e-05/0.1567, allocations: 25.72 kB / 0.6877 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.568e-05/0.1568, allocations: 318.8 kB / 0.688 GB, free: 0.668 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.112e-05/0.1568, allocations: 0 / 0.688 GB, free: 0.668 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.828e-05/0.1568, allocations: 22.58 kB / 0.688 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.994e-05/0.1569, allocations: 34.5 kB / 0.688 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1569, allocations: 0 / 0.688 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001223/0.157, allocations: 53.58 kB / 0.6881 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.157, allocations: 4 kB / 0.6881 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.157, allocations: 3.984 kB / 0.6881 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.1571, allocations: 4 kB / 0.6881 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.698e-05/0.1571, allocations: 7.938 kB / 0.6881 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.1571, allocations: 0 / 0.6881 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001471/0.1573, allocations: 15.94 kB / 0.6881 GB, free: 0.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.1573, allocations: 7.984 kB / 0.6881 GB, free: 0.4922 MB / 494.1 MB 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 8.921e-05/0.1574, allocations: 185.1 kB / 0.6883 GB, free: 308 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.641e-05/0.1575, allocations: 112.9 kB / 0.6884 GB, free: 188 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.449e-05/0.1575, allocations: 104.1 kB / 0.6885 GB, free: 76 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.239/0.3965, allocations: 176.9 kB / 0.6887 GB, free: 18.24 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.686e-05/0.3966, allocations: 181.6 kB / 0.6889 GB, free: 18.06 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.101e-05/0.3966, allocations: 180.9 kB / 0.689 GB, free: 17.88 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001508/0.3968, allocations: 418.9 kB / 0.6894 GB, free: 17.44 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.589e-05/0.3968, allocations: 103.1 kB / 0.6895 GB, free: 17.33 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.365e-05/0.3968, allocations: 102.5 kB / 0.6896 GB, free: 17.23 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.357e-05/0.3969, allocations: 180.6 kB / 0.6898 GB, free: 17.05 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.375e-05/0.3969, allocations: 187.3 kB / 0.69 GB, free: 16.87 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.012e-05/0.3969, allocations: 182.5 kB / 0.6902 GB, free: 16.69 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.156e-05/0.3969, allocations: 180 kB / 0.6903 GB, free: 16.51 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.183e-05/0.397, allocations: 304.8 kB / 0.6906 GB, free: 16.2 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.823e-05/0.397, allocations: 185.5 kB / 0.6908 GB, free: 16 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.039e-05/0.3971, allocations: 183.2 kB / 0.691 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.82e-05/0.3971, allocations: 102.2 kB / 0.6911 GB, free: 15.71 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.59e-05/0.3972, allocations: 183.1 kB / 0.6912 GB, free: 15.53 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/0.3972, allocations: 107.3 kB / 0.6913 GB, free: 15.43 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.076e-05/0.3972, allocations: 84.39 kB / 0.6914 GB, free: 15.35 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3972, allocations: 1.062 kB / 0.6914 GB, free: 15.35 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003607/0.3976, allocations: 48.31 kB / 0.6915 GB, free: 15.35 MB / 494.1 MB 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.0005205/0.3981, allocations: 346.8 kB / 0.6918 GB, free: 15.18 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.978e-05/0.3982, allocations: 14.31 kB / 0.6918 GB, free: 15.18 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3982, allocations: 0 / 0.6918 GB, free: 15.18 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.164e-06/0.3983, allocations: 1.031 kB / 0.6918 GB, free: 15.18 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002502/0.3985, allocations: 460.3 kB / 0.6923 GB, free: 14.73 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001944/0.3987, allocations: 180.4 kB / 0.6924 GB, free: 14.56 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.271e-05/0.3988, allocations: 0.6753 MB / 0.6931 GB, free: 13.87 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.367e-05/0.3988, allocations: 2.438 kB / 0.6931 GB, free: 13.87 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.114e-05/0.3989, allocations: 10.41 kB / 0.6931 GB, free: 13.86 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3989, allocations: 0 / 0.6931 GB, free: 13.86 MB / 494.1 MB Notification: Performance of Templates: time 0.004291/0.4032, allocations: 1.611 MB / 0.6947 GB, free: 13.77 MB / 494.1 MB 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)