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.0007458/0.0007458, allocations: 97.72 kB / 15.36 MB, free: 0.7305 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.0008207/0.0008207, allocations: 172.9 kB / 16.27 MB, free: 6.656 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.243/1.243, allocations: 223.3 MB / 240.3 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001604/0.001604, allocations: 275 kB / 291.7 MB, free: 1.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8532/0.8532, allocations: 169.5 MB / 0.5004 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003707/0.0003707, allocations: 15.97 kB / 0.5988 GB, free: 27.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1251, allocations: 88.54 MB / 0.6852 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001107/0.1262, allocations: 0.9896 MB / 0.6862 GB, free: 13.99 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001695/0.128, allocations: 1.411 MB / 0.6876 GB, free: 12.58 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.36e-05/0.128, allocations: 1.438 kB / 0.6876 GB, free: 12.58 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.138e-05/0.128, allocations: 0 / 0.6876 GB, free: 12.58 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001279/0.1281, allocations: 11.98 kB / 0.6876 GB, free: 12.57 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004563/0.1286, allocations: 193.8 kB / 0.6878 GB, free: 12.39 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.326e-05/0.1286, allocations: 23.91 kB / 0.6878 GB, free: 12.36 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.193e-05/0.1287, allocations: 4 kB / 0.6878 GB, free: 12.36 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.449e-05/0.1288, allocations: 12 kB / 0.6878 GB, free: 12.35 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.939e-05/0.1289, allocations: 20.41 kB / 0.6878 GB, free: 12.33 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.046e-05/0.1289, allocations: 4 kB / 0.6878 GB, free: 12.32 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002031/0.1291, allocations: 144.3 kB / 0.688 GB, free: 12.18 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.188e-05/0.1291, allocations: 8.531 kB / 0.688 GB, free: 12.18 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.01e-05/0.1291, allocations: 42.27 kB / 0.688 GB, free: 12.13 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002072/0.1294, allocations: 143.9 kB / 0.6882 GB, free: 11.99 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.1294, allocations: 2.031 kB / 0.6882 GB, free: 11.99 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1294, allocations: 0 / 0.6882 GB, free: 11.99 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.845e-06/0.1294, allocations: 0 / 0.6882 GB, free: 11.99 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.0002931/0.1297, allocations: 355.6 kB / 0.6885 GB, free: 11.59 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.1297, allocations: 8.781 kB / 0.6885 GB, free: 11.59 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.872e-05/0.1298, allocations: 110 kB / 0.6886 GB, free: 11.47 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.567e-05/0.1298, allocations: 81.84 kB / 0.6887 GB, free: 11.39 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.13, allocations: 243.7 kB / 0.6889 GB, free: 11.11 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.379e-05/0.13, allocations: 155.6 kB / 0.6891 GB, free: 10.96 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.457e-05/0.1301, allocations: 156.9 kB / 0.6892 GB, free: 10.81 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.583e-05/0.1301, allocations: 108.9 kB / 0.6893 GB, free: 10.7 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.784e-05/0.1302, allocations: 79.27 kB / 0.6894 GB, free: 10.62 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.935e-05/0.1302, allocations: 154.5 kB / 0.6896 GB, free: 10.46 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.225e-05/0.1303, allocations: 152.7 kB / 0.6897 GB, free: 10.32 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.069e-05/0.1303, allocations: 158.5 kB / 0.6898 GB, free: 10.16 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002375/0.1305, allocations: 450.7 kB / 0.6903 GB, free: 9.672 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.047e-05/0.1306, allocations: 170.6 kB / 0.6904 GB, free: 9.496 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.114e-05/0.1307, allocations: 84.67 kB / 0.6905 GB, free: 9.41 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/0.1307, allocations: 80.44 kB / 0.6906 GB, free: 9.332 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/0.1307, allocations: 106.7 kB / 0.6907 GB, free: 9.219 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 8.02e-07/0.1307, allocations: 0 / 0.6907 GB, free: 9.219 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 6.535e-05/0.1308, allocations: 37.69 kB / 0.6907 GB, free: 9.176 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.1309, allocations: 130.7 kB / 0.6909 GB, free: 9.035 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.023e-05/0.1309, allocations: 101.8 kB / 0.691 GB, free: 8.926 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.131, allocations: 29.7 kB / 0.691 GB, free: 8.891 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.243e-05/0.131, allocations: 84.12 kB / 0.6911 GB, free: 8.805 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.493e-06/0.131, allocations: 0 / 0.6911 GB, free: 8.805 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.022e-05/0.131, allocations: 13.72 kB / 0.6911 GB, free: 8.785 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.651e-05/0.1311, allocations: 314.8 kB / 0.6914 GB, free: 8.469 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.68e-05/0.1311, allocations: 4 kB / 0.6914 GB, free: 8.465 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.671e-05/0.1312, allocations: 34.5 kB / 0.6914 GB, free: 8.422 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.019e-05/0.1312, allocations: 18.58 kB / 0.6914 GB, free: 8.395 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1312, allocations: 0 / 0.6914 GB, free: 8.395 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001038/0.1313, allocations: 57.59 kB / 0.6915 GB, free: 8.332 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.1314, allocations: 10.03 kB / 0.6915 GB, free: 8.324 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.1314, allocations: 0 / 0.6915 GB, free: 8.324 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.964e-06/0.1314, allocations: 0 / 0.6915 GB, free: 8.324 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.176e-05/0.1314, allocations: 7.938 kB / 0.6915 GB, free: 8.316 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.1314, allocations: 4 kB / 0.6915 GB, free: 8.312 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001372/0.1316, allocations: 15.83 kB / 0.6915 GB, free: 8.297 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.1316, allocations: 0 / 0.6915 GB, free: 8.297 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.605e-05/0.1317, allocations: 198.4 kB / 0.6917 GB, free: 8.094 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.427e-05/0.1317, allocations: 105 kB / 0.6918 GB, free: 7.984 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.723e-05/0.1318, allocations: 112 kB / 0.6919 GB, free: 7.867 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.092e-05/0.1318, allocations: 176.3 kB / 0.6921 GB, free: 7.688 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-05/0.1319, allocations: 184.1 kB / 0.6923 GB, free: 7.5 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.473e-05/0.132, allocations: 180.3 kB / 0.6924 GB, free: 7.316 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001893/0.1322, allocations: 409.2 kB / 0.6928 GB, free: 6.859 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.475e-05/0.1322, allocations: 104.9 kB / 0.6929 GB, free: 6.75 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.955e-05/0.1322, allocations: 113.3 kB / 0.693 GB, free: 6.633 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.192e-05/0.1323, allocations: 184.2 kB / 0.6932 GB, free: 6.445 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.233e-05/0.1323, allocations: 180.3 kB / 0.6934 GB, free: 6.262 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.314e-05/0.1324, allocations: 176.3 kB / 0.6935 GB, free: 6.082 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.394e-05/0.1324, allocations: 188.4 kB / 0.6937 GB, free: 5.891 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001106/0.1326, allocations: 311.7 kB / 0.694 GB, free: 5.562 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.408e-05/0.1326, allocations: 182.1 kB / 0.6942 GB, free: 5.359 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.809e-05/0.1327, allocations: 180.2 kB / 0.6944 GB, free: 5.176 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.063e-05/0.1328, allocations: 108.9 kB / 0.6945 GB, free: 5.062 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.034e-05/0.1328, allocations: 188.2 kB / 0.6947 GB, free: 4.871 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-05/0.1329, allocations: 104.9 kB / 0.6948 GB, free: 4.762 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.334e-05/0.1329, allocations: 79.28 kB / 0.6948 GB, free: 4.684 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1329, allocations: 0 / 0.6948 GB, free: 4.684 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002696/0.1332, allocations: 55.98 kB / 0.6949 GB, free: 4.629 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.0006576/0.1338, allocations: 0.9702 MB / 0.6958 GB, free: 3.668 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.939e-05/0.1339, allocations: 15.94 kB / 0.6958 GB, free: 3.652 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.1339, allocations: 0 / 0.6958 GB, free: 3.652 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.182e-06/0.1339, allocations: 0 / 0.6958 GB, free: 3.652 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003269/0.1343, allocations: 0.5187 MB / 0.6964 GB, free: 3.129 MB / 494.1 MB 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.0008907/0.1352, allocations: 1.362 MB / 0.6977 GB, free: 1.672 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001989/0.1354, allocations: 0.6809 MB / 0.6983 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.102e-05/0.1354, allocations: 3.938 kB / 0.6984 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.109e-05/0.1354, allocations: 11.44 kB / 0.6984 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1354, allocations: 0 / 0.6984 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.327/4.462, allocations: 2.402 MB / 0.7007 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003912/4.463, allocations: 301.2 kB / 0.701 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.698/6.161, allocations: 64 / 0.701 GB, free: 14.38 MB / 0.4981 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)