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: "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005521/0.005526, allocations: 104.6 kB / 15.74 MB, free: 6.492 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.00114/0.00114, allocations: 190 kB / 16.67 MB, free: 6.379 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.312/1.312, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002116/0.002116, allocations: 278.5 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9173/0.9173, allocations: 169.2 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001674/0.001674, allocations: 96.38 kB / 0.681 GB, free: 15.99 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1801/0.1818, allocations: 86.98 MB / 0.7659 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.00233/0.1842, allocations: 1.272 MB / 0.7672 GB, free: 7.648 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002129/0.1864, allocations: 1.445 MB / 0.7686 GB, free: 6.195 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.793e-05/0.1864, allocations: 0 / 0.7686 GB, free: 6.195 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.955e-05/0.1864, allocations: 0 / 0.7686 GB, free: 6.195 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001978/0.1867, allocations: 11.94 kB / 0.7686 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006279/0.1873, allocations: 214.9 kB / 0.7688 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.548e-05/0.1874, allocations: 27.91 kB / 0.7688 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.074e-05/0.1875, allocations: 8 kB / 0.7688 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.058e-05/0.1875, allocations: 11.94 kB / 0.7688 GB, free: 5.93 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/0.1877, allocations: 23.84 kB / 0.7689 GB, free: 5.906 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.073e-05/0.1877, allocations: 0 / 0.7689 GB, free: 5.906 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003249/0.188, allocations: 167.8 kB / 0.769 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.454e-05/0.188, allocations: 3.984 kB / 0.769 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.6e-05/0.1881, allocations: 7.938 kB / 0.769 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002594/0.1883, allocations: 151.7 kB / 0.7692 GB, free: 5.582 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.1883, allocations: 0 / 0.7692 GB, free: 5.582 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.703e-06/0.1884, allocations: 0 / 0.7692 GB, free: 5.582 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.1884, allocations: 4 kB / 0.7692 GB, free: 5.578 MB / 0.5606 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.0003498/0.1887, allocations: 363.5 kB / 0.7695 GB, free: 5.176 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.1888, allocations: 8.031 kB / 0.7695 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.835e-05/0.1888, allocations: 114 kB / 0.7696 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.791e-05/0.1889, allocations: 76.22 kB / 0.7697 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.1891, allocations: 247.6 kB / 0.7699 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.541e-05/0.1891, allocations: 154.9 kB / 0.7701 GB, free: 4.539 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.331e-05/0.1892, allocations: 158.5 kB / 0.7702 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.523e-05/0.1893, allocations: 105 kB / 0.7703 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.986e-05/0.1893, allocations: 79.28 kB / 0.7704 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.379e-05/0.1893, allocations: 150.6 kB / 0.7706 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.843e-05/0.1894, allocations: 150.6 kB / 0.7707 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.853e-05/0.1895, allocations: 158.5 kB / 0.7709 GB, free: 3.742 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002725/0.1897, allocations: 453.9 kB / 0.7713 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.01e-05/0.1898, allocations: 169.1 kB / 0.7715 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.644e-05/0.1899, allocations: 88.14 kB / 0.7715 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.56e-05/0.1899, allocations: 83.27 kB / 0.7716 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.88e-05/0.1899, allocations: 105.8 kB / 0.7717 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.1899, allocations: 0 / 0.7717 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 8.607e-05/0.19, allocations: 37.55 kB / 0.7718 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.237e-05/0.1901, allocations: 126.7 kB / 0.7719 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.448e-05/0.1902, allocations: 105.8 kB / 0.772 GB, free: 2.496 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.1902, allocations: 29.7 kB / 0.772 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.002e-05/0.1903, allocations: 88.14 kB / 0.7721 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.983e-06/0.1903, allocations: 0 / 0.7721 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.581e-05/0.1903, allocations: 17.72 kB / 0.7721 GB, free: 2.348 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.438e-05/0.1904, allocations: 318.8 kB / 0.7724 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.161e-05/0.1904, allocations: 0 / 0.7724 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.59e-05/0.1905, allocations: 26.56 kB / 0.7724 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.208e-05/0.1905, allocations: 34.5 kB / 0.7725 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.1905, allocations: 0 / 0.7725 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001279/0.1907, allocations: 53.58 kB / 0.7725 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.1907, allocations: 7.984 kB / 0.7725 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.1907, allocations: 256 / 0.7725 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.1907, allocations: 3.938 kB / 0.7725 GB, free: 1.879 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.725e-05/0.1908, allocations: 12 kB / 0.7725 GB, free: 1.867 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.1908, allocations: 4.094 kB / 0.7725 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001423/0.1909, allocations: 4 kB / 0.7725 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.389e-05/0.191, allocations: 7.984 kB / 0.7726 GB, free: 1.852 MB / 0.5606 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 9.614e-05/0.1911, allocations: 193.7 kB / 0.7727 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.025e-05/0.1911, allocations: 105 kB / 0.7728 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.7e-05/0.1912, allocations: 104.1 kB / 0.7729 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.902e-05/0.1912, allocations: 184.2 kB / 0.7731 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.758e-05/0.1913, allocations: 184.3 kB / 0.7733 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.156e-05/0.1914, allocations: 184.2 kB / 0.7735 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002177/0.1916, allocations: 405.2 kB / 0.7739 GB, free: 432 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.339e-05/0.1916, allocations: 101 kB / 0.7739 GB, free: 324 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.338e-05/0.1917, allocations: 108.9 kB / 0.7741 GB, free: 208 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.477e-05/0.1917, allocations: 188.2 kB / 0.7742 GB, free: 12 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.3627/0.5545, allocations: 178.2 kB / 0.7744 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.61e-05/0.5545, allocations: 179.6 kB / 0.7746 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-05/0.5546, allocations: 178.5 kB / 0.7747 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.919e-05/0.5547, allocations: 306.7 kB / 0.775 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.589e-05/0.5547, allocations: 184 kB / 0.7752 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.676e-05/0.5548, allocations: 185.6 kB / 0.7754 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.56e-05/0.5548, allocations: 109.7 kB / 0.7755 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.883e-05/0.5549, allocations: 177.7 kB / 0.7757 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/0.5549, allocations: 102.6 kB / 0.7758 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.987e-05/0.5549, allocations: 85.12 kB / 0.7758 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/0.555, allocations: 0.6562 kB / 0.7758 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004213/0.5554, allocations: 51.42 kB / 0.7759 GB, free: 13.62 MB / 0.5606 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.0006932/0.5561, allocations: 0.9814 MB / 0.7769 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 9.724e-05/0.5562, allocations: 13.73 kB / 0.7769 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.5562, allocations: 0 / 0.7769 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.254e-06/0.5562, allocations: 0.625 kB / 0.7769 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002621/0.5565, allocations: 458.8 kB / 0.7773 GB, free: 12.36 MB / 0.5606 GB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008906/0.5574, allocations: 1.357 MB / 0.7786 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.288e-05/0.5575, allocations: 0.6733 MB / 0.7793 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.694e-05/0.5575, allocations: 4.672 kB / 0.7793 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.292e-05/0.5575, allocations: 13.91 kB / 0.7793 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of SimCode: time 2.81e-07/0.5575, allocations: 0 / 0.7793 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3103/0.8678, allocations: 2.655 MB / 0.7819 GB, free: 9.965 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.274/8.142, allocations: 17.64 kB / 0.7819 GB, free: 9.953 MB / 0.5606 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)