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.001463/0.001463, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002067/0.002067, allocations: 191.9 kB / 16.53 MB, free: 6.391 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.342/1.342, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002159/0.002159, allocations: 287 kB / 290.7 MB, free: 1.984 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9287/0.9287, allocations: 169.3 MB / 0.4982 GB, free: 13.86 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001679/0.001679, allocations: 100.8 kB / 0.5952 GB, free: 27.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1387, allocations: 86.99 MB / 0.6802 GB, free: 0.668 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002189/0.1409, allocations: 1.248 MB / 0.6814 GB, free: 15.42 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001846/0.1427, allocations: 1.447 MB / 0.6828 GB, free: 13.97 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.647e-05/0.1428, allocations: 4 kB / 0.6828 GB, free: 13.96 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.3e-05/0.1428, allocations: 0 / 0.6828 GB, free: 13.96 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001651/0.143, allocations: 7.938 kB / 0.6828 GB, free: 13.96 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000559/0.1435, allocations: 230.3 kB / 0.683 GB, free: 13.74 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.838e-05/0.1436, allocations: 15.94 kB / 0.6831 GB, free: 13.72 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.366e-05/0.1436, allocations: 11.97 kB / 0.6831 GB, free: 13.71 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.009e-05/0.1437, allocations: 15.94 kB / 0.6831 GB, free: 13.7 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.889e-05/0.1438, allocations: 15.91 kB / 0.6831 GB, free: 13.68 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.172e-05/0.1438, allocations: 4 kB / 0.6831 GB, free: 13.68 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00023/0.1441, allocations: 143.8 kB / 0.6832 GB, free: 13.54 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.317e-05/0.1441, allocations: 4 kB / 0.6833 GB, free: 13.53 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.68e-05/0.1441, allocations: 19.91 kB / 0.6833 GB, free: 13.51 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002207/0.1444, allocations: 152 kB / 0.6834 GB, free: 13.36 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.1444, allocations: 0 / 0.6834 GB, free: 13.36 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1444, allocations: 0 / 0.6834 GB, free: 13.36 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.1444, allocations: 0 / 0.6834 GB, free: 13.36 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.0003183/0.1447, allocations: 365.1 kB / 0.6838 GB, free: 12.96 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.822e-05/0.1447, allocations: 8.031 kB / 0.6838 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.416e-05/0.1448, allocations: 80.12 kB / 0.6838 GB, free: 12.88 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.145, allocations: 239.7 kB / 0.6841 GB, free: 12.6 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.602e-05/0.145, allocations: 154.9 kB / 0.6842 GB, free: 12.45 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.202e-05/0.1451, allocations: 162.7 kB / 0.6844 GB, free: 12.29 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.177e-05/0.1451, allocations: 108.9 kB / 0.6845 GB, free: 12.18 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.01e-05/0.1452, allocations: 75.28 kB / 0.6846 GB, free: 12.1 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.184e-05/0.1452, allocations: 150.6 kB / 0.6847 GB, free: 11.95 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.8e-05/0.1453, allocations: 150.6 kB / 0.6848 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.096e-05/0.1453, allocations: 158.5 kB / 0.685 GB, free: 11.65 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002723/0.1456, allocations: 457.9 kB / 0.6854 GB, free: 11.15 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.677e-05/0.1457, allocations: 177.1 kB / 0.6856 GB, free: 10.97 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.475e-05/0.1457, allocations: 84.08 kB / 0.6857 GB, free: 10.88 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/0.1458, allocations: 79.28 kB / 0.6858 GB, free: 10.8 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/0.1458, allocations: 105.8 kB / 0.6859 GB, free: 10.69 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.1458, allocations: 0 / 0.6859 GB, free: 10.69 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 7.405e-05/0.1459, allocations: 29.7 kB / 0.6859 GB, free: 10.66 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.1459, allocations: 130.7 kB / 0.686 GB, free: 10.52 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.028e-05/0.146, allocations: 105.8 kB / 0.6861 GB, free: 10.4 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.146, allocations: 29.7 kB / 0.6861 GB, free: 10.37 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.745e-05/0.1461, allocations: 88.12 kB / 0.6862 GB, free: 10.28 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.743e-06/0.1461, allocations: 0 / 0.6862 GB, free: 10.28 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.295e-05/0.1461, allocations: 17.72 kB / 0.6862 GB, free: 10.25 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.1462, allocations: 314.8 kB / 0.6865 GB, free: 9.938 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.352e-05/0.1463, allocations: 4 kB / 0.6865 GB, free: 9.934 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.189e-05/0.1463, allocations: 26.55 kB / 0.6866 GB, free: 9.898 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.915e-05/0.1463, allocations: 30.52 kB / 0.6866 GB, free: 9.859 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.1464, allocations: 4 kB / 0.6866 GB, free: 9.855 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001159/0.1465, allocations: 53.56 kB / 0.6867 GB, free: 9.797 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.1465, allocations: 6.031 kB / 0.6867 GB, free: 9.793 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.1465, allocations: 0 / 0.6867 GB, free: 9.793 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.1465, allocations: 4 kB / 0.6867 GB, free: 9.789 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.575e-05/0.1466, allocations: 12.08 kB / 0.6867 GB, free: 9.777 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/0.1466, allocations: 0 / 0.6867 GB, free: 9.777 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001495/0.1467, allocations: 11.84 kB / 0.6867 GB, free: 9.766 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.1468, allocations: 4 kB / 0.6867 GB, free: 9.762 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.668e-05/0.1469, allocations: 190.4 kB / 0.6869 GB, free: 9.566 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.317e-05/0.1469, allocations: 112.8 kB / 0.687 GB, free: 9.449 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.569e-05/0.147, allocations: 104.1 kB / 0.6871 GB, free: 9.34 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-05/0.147, allocations: 180.3 kB / 0.6872 GB, free: 9.156 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.674e-05/0.1471, allocations: 184.5 kB / 0.6874 GB, free: 8.969 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.845e-05/0.1471, allocations: 180.3 kB / 0.6876 GB, free: 8.785 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002143/0.1474, allocations: 413.1 kB / 0.688 GB, free: 8.324 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.804e-05/0.1474, allocations: 101 kB / 0.6881 GB, free: 8.219 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.176e-05/0.1474, allocations: 116.9 kB / 0.6882 GB, free: 8.098 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.807e-05/0.1475, allocations: 184.2 kB / 0.6884 GB, free: 7.91 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.752e-05/0.1476, allocations: 180.3 kB / 0.6885 GB, free: 7.727 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.688e-05/0.1476, allocations: 180.2 kB / 0.6887 GB, free: 7.543 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-05/0.1477, allocations: 176.3 kB / 0.6889 GB, free: 7.363 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001238/0.1478, allocations: 315.7 kB / 0.6892 GB, free: 7.031 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.514e-05/0.1479, allocations: 178.1 kB / 0.6894 GB, free: 6.832 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.58e-05/0.1479, allocations: 184.2 kB / 0.6895 GB, free: 6.645 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.328e-05/0.148, allocations: 108.9 kB / 0.6896 GB, free: 6.531 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.722e-05/0.1481, allocations: 176.3 kB / 0.6898 GB, free: 6.352 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.51e-05/0.1481, allocations: 112.9 kB / 0.6899 GB, free: 6.234 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.519e-05/0.1482, allocations: 79.28 kB / 0.69 GB, free: 6.156 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1482, allocations: 0 / 0.69 GB, free: 6.156 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002939/0.1485, allocations: 55.98 kB / 0.69 GB, free: 6.102 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.0004871/0.149, allocations: 331.5 kB / 0.6904 GB, free: 5.801 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.728e-05/0.1491, allocations: 11.94 kB / 0.6904 GB, free: 5.789 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1491, allocations: 4.188 kB / 0.6904 GB, free: 5.785 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.272e-06/0.1491, allocations: 0 / 0.6904 GB, free: 5.785 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003236/0.1494, allocations: 466.1 kB / 0.6908 GB, free: 5.328 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002124/0.1496, allocations: 181.4 kB / 0.691 GB, free: 5.125 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002077/0.1498, allocations: 0.6807 MB / 0.6917 GB, free: 4.418 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.8e-05/0.1499, allocations: 0 / 0.6917 GB, free: 4.418 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.254e-05/0.1499, allocations: 7.438 kB / 0.6917 GB, free: 4.41 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1499, allocations: 0 / 0.6917 GB, free: 4.41 MB / 494.1 MB Notification: Performance of Templates: time 0.003632/0.1535, allocations: 1.631 MB / 0.6933 GB, free: 2.82 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)