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.001685/0.001685, allocations: 107.4 kB / 16.27 MB, free: 5.988 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.002043/0.002043, allocations: 192.3 kB / 17.2 MB, free: 5.609 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.392/1.392, allocations: 222.9 MB / 240.9 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002605/0.002605, allocations: 279.4 kB / 291.3 MB, free: 14.59 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.203/1.203, allocations: 178.5 MB / 0.5079 GB, free: 12.67 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002772/0.002772, allocations: 99.83 kB / 0.6071 GB, free: 9.285 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1769, allocations: 89.14 MB / 0.6942 GB, free: 68 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002446/0.1794, allocations: 1.27 MB / 0.6954 GB, free: 14.78 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002294/0.1817, allocations: 1.434 MB / 0.6968 GB, free: 13.34 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.303e-05/0.1817, allocations: 0 / 0.6968 GB, free: 13.34 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.642e-05/0.1818, allocations: 0 / 0.6968 GB, free: 13.34 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001762/0.182, allocations: 11.92 kB / 0.6968 GB, free: 13.32 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006056/0.1826, allocations: 221.4 kB / 0.697 GB, free: 13.11 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.165e-05/0.1826, allocations: 27.91 kB / 0.697 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.238e-05/0.1827, allocations: 7.938 kB / 0.6971 GB, free: 13.08 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.487e-05/0.1828, allocations: 23.86 kB / 0.6971 GB, free: 13.05 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.1829, allocations: 7.984 kB / 0.6971 GB, free: 13.05 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.1829, allocations: 4 kB / 0.6971 GB, free: 13.04 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002648/0.1832, allocations: 151.8 kB / 0.6972 GB, free: 12.89 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.706e-05/0.1832, allocations: 7.984 kB / 0.6972 GB, free: 12.89 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.663e-05/0.1832, allocations: 7.938 kB / 0.6972 GB, free: 12.88 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002472/0.1835, allocations: 147.8 kB / 0.6974 GB, free: 12.73 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1835, allocations: 0 / 0.6974 GB, free: 12.73 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.042e-06/0.1835, allocations: 0 / 0.6974 GB, free: 12.73 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.805e-06/0.1835, allocations: 4 kB / 0.6974 GB, free: 12.73 MB / 0.545 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.0003997/0.1839, allocations: 367.7 kB / 0.6977 GB, free: 12.32 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.184, allocations: 8.031 kB / 0.6978 GB, free: 12.32 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.601e-05/0.184, allocations: 80.12 kB / 0.6978 GB, free: 12.24 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001909/0.1842, allocations: 247.6 kB / 0.6981 GB, free: 11.96 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.805e-05/0.1843, allocations: 150.9 kB / 0.6982 GB, free: 11.81 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001259/0.1844, allocations: 162.7 kB / 0.6984 GB, free: 11.65 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.647e-05/0.1845, allocations: 101 kB / 0.6985 GB, free: 11.54 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.981e-05/0.1845, allocations: 75.28 kB / 0.6985 GB, free: 11.47 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.169e-05/0.1846, allocations: 150.6 kB / 0.6987 GB, free: 11.32 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.821e-05/0.1847, allocations: 154.6 kB / 0.6988 GB, free: 11.17 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.753e-05/0.1848, allocations: 154.6 kB / 0.699 GB, free: 11.02 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000338/0.1851, allocations: 465.9 kB / 0.6994 GB, free: 10.51 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.15e-05/0.1852, allocations: 165.1 kB / 0.6996 GB, free: 10.34 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.682e-05/0.1853, allocations: 84.08 kB / 0.6997 GB, free: 10.25 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.246e-05/0.1853, allocations: 75.28 kB / 0.6997 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.472e-05/0.1854, allocations: 113.8 kB / 0.6998 GB, free: 10.06 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.1854, allocations: 0 / 0.6998 GB, free: 10.06 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 8.398e-05/0.1854, allocations: 33.64 kB / 0.6999 GB, free: 10.02 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.39e-05/0.1855, allocations: 126.7 kB / 0.7 GB, free: 9.883 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.1856, allocations: 105.8 kB / 0.7001 GB, free: 9.77 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.1857, allocations: 25.7 kB / 0.7001 GB, free: 9.738 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.414e-05/0.1857, allocations: 80.14 kB / 0.7002 GB, free: 9.656 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.814e-06/0.1857, allocations: 0 / 0.7002 GB, free: 9.656 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.191e-05/0.1858, allocations: 29.7 kB / 0.7002 GB, free: 9.621 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.1859, allocations: 314.8 kB / 0.7005 GB, free: 9.305 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.329e-05/0.1859, allocations: 4 kB / 0.7005 GB, free: 9.301 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.568e-05/0.186, allocations: 22.56 kB / 0.7005 GB, free: 9.27 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.033e-05/0.186, allocations: 30.52 kB / 0.7006 GB, free: 9.23 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.186, allocations: 4 kB / 0.7006 GB, free: 9.227 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001252/0.1862, allocations: 57.47 kB / 0.7006 GB, free: 9.164 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.1862, allocations: 4 kB / 0.7006 GB, free: 9.16 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/0.1862, allocations: 3.938 kB / 0.7006 GB, free: 9.156 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.1862, allocations: 4 kB / 0.7006 GB, free: 9.152 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.764e-05/0.1863, allocations: 4 kB / 0.7006 GB, free: 9.148 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.1863, allocations: 0 / 0.7006 GB, free: 9.148 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001491/0.1865, allocations: 16.02 kB / 0.7007 GB, free: 9.133 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.1865, allocations: 4 kB / 0.7007 GB, free: 9.129 MB / 0.545 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.0001238/0.1866, allocations: 192.7 kB / 0.7008 GB, free: 8.934 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.786e-05/0.1867, allocations: 112.9 kB / 0.701 GB, free: 8.816 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.462e-05/0.1867, allocations: 111.9 kB / 0.7011 GB, free: 8.703 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.214e-05/0.1868, allocations: 180.2 kB / 0.7012 GB, free: 8.52 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-05/0.1869, allocations: 184.3 kB / 0.7014 GB, free: 8.332 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.355e-05/0.187, allocations: 176.3 kB / 0.7016 GB, free: 8.152 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002657/0.1873, allocations: 417.1 kB / 0.702 GB, free: 7.688 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.934e-05/0.1873, allocations: 101 kB / 0.7021 GB, free: 7.582 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.507e-05/0.1874, allocations: 105.1 kB / 0.7022 GB, free: 7.473 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.088e-05/0.1875, allocations: 180.3 kB / 0.7023 GB, free: 7.289 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001007/0.1876, allocations: 196.2 kB / 0.7025 GB, free: 7.09 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.594e-05/0.1877, allocations: 176.3 kB / 0.7027 GB, free: 6.91 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.896e-05/0.1877, allocations: 180.5 kB / 0.7029 GB, free: 6.727 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001738/0.1879, allocations: 307.7 kB / 0.7032 GB, free: 6.402 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.052e-05/0.188, allocations: 190 kB / 0.7033 GB, free: 6.191 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.606e-05/0.1881, allocations: 184.3 kB / 0.7035 GB, free: 6.004 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.229e-05/0.1882, allocations: 101 kB / 0.7036 GB, free: 5.898 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.023e-05/0.1883, allocations: 180.2 kB / 0.7038 GB, free: 5.715 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.898e-05/0.1884, allocations: 101 kB / 0.7039 GB, free: 5.609 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.949e-05/0.1884, allocations: 87.27 kB / 0.704 GB, free: 5.523 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1884, allocations: 4 kB / 0.704 GB, free: 5.52 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003424/0.1888, allocations: 55.98 kB / 0.704 GB, free: 5.465 MB / 0.545 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.0006233/0.1894, allocations: 332 kB / 0.7043 GB, free: 5.168 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.106e-05/0.1895, allocations: 19.88 kB / 0.7044 GB, free: 5.148 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1895, allocations: 0 / 0.7044 GB, free: 5.148 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.703e-06/0.1895, allocations: 336 / 0.7044 GB, free: 5.148 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003848/0.1899, allocations: 463.8 kB / 0.7048 GB, free: 4.691 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002745/0.1902, allocations: 210.9 kB / 0.705 GB, free: 4.453 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003044/0.1905, allocations: 0.6729 MB / 0.7057 GB, free: 3.754 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.366e-05/0.1905, allocations: 7.438 kB / 0.7057 GB, free: 3.746 MB / 0.545 GB Notification: Performance of SimCode: time 2e-07/0.1905, allocations: 0 / 0.7057 GB, free: 3.746 MB / 0.545 GB Notification: Performance of Templates: time 0.003481/0.194, allocations: 1.607 MB / 0.7072 GB, free: 2.148 MB / 0.545 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)