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.001413/0.001413, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001693/0.001693, allocations: 196.4 kB / 16.14 MB, free: 6.707 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.357/1.357, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002052/0.002053, allocations: 290.3 kB / 290.2 MB, free: 2.203 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.946/0.946, allocations: 169.2 MB / 0.4977 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001601/0.001601, allocations: 87.25 kB / 0.5945 GB, free: 28.43 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1431, allocations: 86.99 MB / 0.6794 GB, free: 1.148 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002279/0.1454, allocations: 1.323 MB / 0.6807 GB, free: 15.82 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002013/0.1474, allocations: 1.431 MB / 0.6821 GB, free: 14.39 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.807e-05/0.1475, allocations: 0 / 0.6821 GB, free: 14.39 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.207e-05/0.1475, allocations: 0.6562 kB / 0.6821 GB, free: 14.39 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001619/0.1477, allocations: 15.92 kB / 0.6822 GB, free: 14.37 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004866/0.1482, allocations: 189.5 kB / 0.6823 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.761e-05/0.1482, allocations: 23.94 kB / 0.6824 GB, free: 14.17 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.074e-05/0.1483, allocations: 7.984 kB / 0.6824 GB, free: 14.16 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.102e-05/0.1484, allocations: 19.86 kB / 0.6824 GB, free: 14.14 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001111/0.1485, allocations: 8 kB / 0.6824 GB, free: 14.14 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.422e-05/0.1485, allocations: 4 kB / 0.6824 GB, free: 14.13 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002127/0.1487, allocations: 143.8 kB / 0.6825 GB, free: 13.99 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.424e-05/0.1488, allocations: 7.984 kB / 0.6825 GB, free: 13.98 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.375e-05/0.1488, allocations: 11.92 kB / 0.6826 GB, free: 13.97 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002236/0.149, allocations: 148 kB / 0.6827 GB, free: 13.83 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.149, allocations: 4 kB / 0.6827 GB, free: 13.82 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.42e-07/0.149, allocations: 4 kB / 0.6827 GB, free: 13.82 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.846e-06/0.149, allocations: 0 / 0.6827 GB, free: 13.82 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.000329/0.1494, allocations: 363.5 kB / 0.683 GB, free: 13.42 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.033e-05/0.1494, allocations: 8.031 kB / 0.6831 GB, free: 13.41 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.221e-05/0.1495, allocations: 84.12 kB / 0.6831 GB, free: 13.33 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.1496, allocations: 235.7 kB / 0.6834 GB, free: 13.06 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.282e-05/0.1497, allocations: 158.9 kB / 0.6835 GB, free: 12.9 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.712e-05/0.1498, allocations: 158.7 kB / 0.6837 GB, free: 12.75 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.127e-05/0.1498, allocations: 108.9 kB / 0.6838 GB, free: 12.63 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.562e-05/0.1499, allocations: 79.28 kB / 0.6838 GB, free: 12.55 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.563e-05/0.1499, allocations: 150.6 kB / 0.684 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.81e-05/0.15, allocations: 150.6 kB / 0.6841 GB, free: 12.26 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.491e-05/0.15, allocations: 150.6 kB / 0.6843 GB, free: 12.11 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002703/0.1503, allocations: 457.9 kB / 0.6847 GB, free: 11.61 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.953e-05/0.1504, allocations: 173 kB / 0.6849 GB, free: 11.43 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.264e-05/0.1504, allocations: 84.08 kB / 0.685 GB, free: 11.35 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.38e-05/0.1505, allocations: 79.28 kB / 0.685 GB, free: 11.27 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.799e-05/0.1505, allocations: 109.8 kB / 0.6851 GB, free: 11.15 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.1505, allocations: 0 / 0.6851 GB, free: 11.15 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 6.995e-05/0.1506, allocations: 25.7 kB / 0.6852 GB, free: 11.12 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.157e-05/0.1507, allocations: 130.7 kB / 0.6853 GB, free: 10.98 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.071e-05/0.1508, allocations: 105.8 kB / 0.6854 GB, free: 10.87 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.1508, allocations: 29.7 kB / 0.6854 GB, free: 10.83 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.846e-05/0.1509, allocations: 88.12 kB / 0.6855 GB, free: 10.74 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.244e-06/0.1509, allocations: 4 kB / 0.6855 GB, free: 10.74 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.811e-05/0.1509, allocations: 21.7 kB / 0.6855 GB, free: 10.71 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.151, allocations: 314.8 kB / 0.6858 GB, free: 10.39 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.242e-05/0.151, allocations: 0 / 0.6858 GB, free: 10.39 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.528e-05/0.1511, allocations: 30.56 kB / 0.6859 GB, free: 10.36 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.833e-05/0.1511, allocations: 26.52 kB / 0.6859 GB, free: 10.32 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1511, allocations: 0 / 0.6859 GB, free: 10.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001226/0.1513, allocations: 53.56 kB / 0.6859 GB, free: 10.26 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.1513, allocations: 8 kB / 0.6859 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1513, allocations: 144 / 0.6859 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.858e-06/0.1513, allocations: 0 / 0.6859 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.081e-05/0.1514, allocations: 8.234 kB / 0.6859 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.1514, allocations: 7.984 kB / 0.6859 GB, free: 10.24 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001521/0.1516, allocations: 23.88 kB / 0.686 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.1516, allocations: 4 kB / 0.686 GB, free: 10.21 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.869e-05/0.1517, allocations: 186.4 kB / 0.6862 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.647e-05/0.1517, allocations: 112.8 kB / 0.6863 GB, free: 9.902 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.678e-05/0.1518, allocations: 108.1 kB / 0.6864 GB, free: 9.789 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.087e-05/0.1518, allocations: 180.3 kB / 0.6865 GB, free: 9.605 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.023e-05/0.1519, allocations: 184.2 kB / 0.6867 GB, free: 9.418 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.736e-05/0.152, allocations: 176.3 kB / 0.6869 GB, free: 9.238 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002098/0.1522, allocations: 413.1 kB / 0.6873 GB, free: 8.777 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.528e-05/0.1522, allocations: 101 kB / 0.6874 GB, free: 8.672 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.099e-05/0.1523, allocations: 113 kB / 0.6875 GB, free: 8.555 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.828e-05/0.1523, allocations: 184.2 kB / 0.6877 GB, free: 8.367 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.875e-05/0.1524, allocations: 176.3 kB / 0.6878 GB, free: 8.188 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.629e-05/0.1524, allocations: 180.2 kB / 0.688 GB, free: 8.004 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.375e-05/0.1525, allocations: 180.5 kB / 0.6882 GB, free: 7.82 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000121/0.1527, allocations: 315.7 kB / 0.6885 GB, free: 7.488 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.513e-05/0.1527, allocations: 182.1 kB / 0.6886 GB, free: 7.285 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.585e-05/0.1528, allocations: 180.2 kB / 0.6888 GB, free: 7.102 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.776e-05/0.1529, allocations: 105 kB / 0.6889 GB, free: 6.992 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.196e-05/0.1529, allocations: 188.2 kB / 0.6891 GB, free: 6.801 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.888e-05/0.153, allocations: 104.9 kB / 0.6892 GB, free: 6.691 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.724e-05/0.153, allocations: 79.28 kB / 0.6893 GB, free: 6.613 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.153, allocations: 4 kB / 0.6893 GB, free: 6.609 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003014/0.1533, allocations: 55.98 kB / 0.6893 GB, free: 6.555 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.0005079/0.1539, allocations: 341.4 kB / 0.6897 GB, free: 6.246 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.286e-05/0.1539, allocations: 11.94 kB / 0.6897 GB, free: 6.234 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1539, allocations: 0 / 0.6897 GB, free: 6.234 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.322e-06/0.154, allocations: 0 / 0.6897 GB, free: 6.234 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003489/0.1543, allocations: 0.5303 MB / 0.6902 GB, free: 5.699 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002145/0.1545, allocations: 171.3 kB / 0.6903 GB, free: 5.504 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002174/0.1548, allocations: 0.6731 MB / 0.691 GB, free: 4.805 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.503e-05/0.1548, allocations: 11.94 kB / 0.691 GB, free: 4.793 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.104e-05/0.1548, allocations: 7.438 kB / 0.691 GB, free: 4.789 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1548, allocations: 0 / 0.691 GB, free: 4.789 MB / 494.1 MB Notification: Performance of Templates: time 0.003717/0.1585, allocations: 1.603 MB / 0.6926 GB, free: 3.227 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)