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.001203/0.001203, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001459/0.001459, allocations: 190.7 kB / 16.25 MB, free: 6.617 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.313/1.313, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002027/0.002027, allocations: 286.5 kB / 290.3 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.916/0.916, allocations: 169.2 MB / 0.4978 GB, free: 14.06 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001602/0.001602, allocations: 88.78 kB / 0.5948 GB, free: 28.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1218, allocations: 86.97 MB / 0.6797 GB, free: 0.9414 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001995/0.1238, allocations: 1.323 MB / 0.681 GB, free: 15.62 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001669/0.1255, allocations: 1.423 MB / 0.6824 GB, free: 14.19 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.287e-05/0.1255, allocations: 0 / 0.6824 GB, free: 14.19 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.345e-05/0.1255, allocations: 0.7188 kB / 0.6824 GB, free: 14.19 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001512/0.1257, allocations: 11.98 kB / 0.6824 GB, free: 14.18 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005057/0.1262, allocations: 204.9 kB / 0.6826 GB, free: 13.98 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.396e-05/0.1262, allocations: 23.94 kB / 0.6826 GB, free: 13.96 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.238e-05/0.1263, allocations: 7.984 kB / 0.6827 GB, free: 13.95 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.717e-05/0.1264, allocations: 11.98 kB / 0.6827 GB, free: 13.94 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.515e-05/0.1265, allocations: 18.27 kB / 0.6827 GB, free: 13.93 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.052e-05/0.1265, allocations: 4 kB / 0.6827 GB, free: 13.92 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001984/0.1267, allocations: 143.8 kB / 0.6828 GB, free: 13.78 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.024e-05/0.1267, allocations: 4 kB / 0.6828 GB, free: 13.78 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.191e-05/0.1267, allocations: 19.91 kB / 0.6828 GB, free: 13.76 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001998/0.1269, allocations: 144 kB / 0.683 GB, free: 13.62 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.1269, allocations: 3.938 kB / 0.683 GB, free: 13.61 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.041e-06/0.127, allocations: 8 kB / 0.683 GB, free: 13.61 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.127, allocations: 0 / 0.683 GB, free: 13.61 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.0003039/0.1273, allocations: 363.6 kB / 0.6833 GB, free: 13.2 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.883e-05/0.1273, allocations: 12.03 kB / 0.6833 GB, free: 13.19 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.708e-05/0.1273, allocations: 106 kB / 0.6835 GB, free: 13.08 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.839e-05/0.1274, allocations: 80.12 kB / 0.6835 GB, free: 13 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.1275, allocations: 239.7 kB / 0.6838 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.567e-05/0.1276, allocations: 166.9 kB / 0.6839 GB, free: 12.56 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.021e-05/0.1276, allocations: 162.4 kB / 0.6841 GB, free: 12.4 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.468e-05/0.1277, allocations: 101 kB / 0.6842 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.198e-05/0.1277, allocations: 75.28 kB / 0.6842 GB, free: 12.22 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.706e-05/0.1278, allocations: 154.5 kB / 0.6844 GB, free: 12.07 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.065e-05/0.1278, allocations: 150.6 kB / 0.6845 GB, free: 11.92 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.802e-05/0.1279, allocations: 154.6 kB / 0.6847 GB, free: 11.77 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002309/0.1281, allocations: 457.9 kB / 0.6851 GB, free: 11.27 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.825e-05/0.1282, allocations: 169.1 kB / 0.6853 GB, free: 11.1 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.583e-05/0.1282, allocations: 80.14 kB / 0.6854 GB, free: 11.02 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.1282, allocations: 83.22 kB / 0.6854 GB, free: 10.93 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/0.1283, allocations: 105.8 kB / 0.6855 GB, free: 10.82 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.1283, allocations: 0 / 0.6855 GB, free: 10.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 6.448e-05/0.1283, allocations: 33.69 kB / 0.6856 GB, free: 10.78 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.1284, allocations: 126.7 kB / 0.6857 GB, free: 10.64 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.369e-05/0.1284, allocations: 101.9 kB / 0.6858 GB, free: 10.54 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.1285, allocations: 29.7 kB / 0.6858 GB, free: 10.5 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.359e-05/0.1285, allocations: 88.12 kB / 0.6859 GB, free: 10.41 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.373e-06/0.1285, allocations: 0 / 0.6859 GB, free: 10.41 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.27e-05/0.1286, allocations: 21.72 kB / 0.6859 GB, free: 10.38 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.934e-05/0.1286, allocations: 310.8 kB / 0.6862 GB, free: 10.07 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.344e-05/0.1287, allocations: 7.984 kB / 0.6862 GB, free: 10.06 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.762e-05/0.1287, allocations: 26.52 kB / 0.6862 GB, free: 10.03 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.562e-05/0.1287, allocations: 26.58 kB / 0.6863 GB, free: 9.992 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1287, allocations: 0 / 0.6863 GB, free: 9.992 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000105/0.1289, allocations: 57.47 kB / 0.6863 GB, free: 9.93 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.718e-06/0.1289, allocations: 4 kB / 0.6863 GB, free: 9.926 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.1289, allocations: 0 / 0.6863 GB, free: 9.926 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.815e-06/0.1289, allocations: 4 kB / 0.6863 GB, free: 9.922 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.17e-05/0.1289, allocations: 16.02 kB / 0.6863 GB, free: 9.906 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.129, allocations: 0 / 0.6863 GB, free: 9.906 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001466/0.1291, allocations: 7.938 kB / 0.6864 GB, free: 9.898 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.1291, allocations: 8.141 kB / 0.6864 GB, free: 9.891 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 7.901e-05/0.1292, allocations: 194.4 kB / 0.6865 GB, free: 9.691 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.124e-05/0.1293, allocations: 105 kB / 0.6866 GB, free: 9.582 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.596e-05/0.1293, allocations: 108.3 kB / 0.6868 GB, free: 9.469 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.238e-05/0.1294, allocations: 188.2 kB / 0.6869 GB, free: 9.277 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-05/0.1294, allocations: 184.3 kB / 0.6871 GB, free: 9.09 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.341e-05/0.1295, allocations: 184.2 kB / 0.6873 GB, free: 8.902 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001743/0.1297, allocations: 405.2 kB / 0.6877 GB, free: 8.449 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.871e-05/0.1297, allocations: 105 kB / 0.6878 GB, free: 8.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.835e-05/0.1297, allocations: 113 kB / 0.6879 GB, free: 8.223 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.704e-05/0.1298, allocations: 184.3 kB / 0.6881 GB, free: 8.035 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.709e-05/0.1298, allocations: 180.3 kB / 0.6882 GB, free: 7.852 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.452e-05/0.1299, allocations: 180.3 kB / 0.6884 GB, free: 7.668 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.577e-05/0.1299, allocations: 180.2 kB / 0.6886 GB, free: 7.484 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000102/0.13, allocations: 315.7 kB / 0.6889 GB, free: 7.152 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.928e-05/0.1301, allocations: 178.1 kB / 0.689 GB, free: 6.953 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.167e-05/0.1301, allocations: 180.3 kB / 0.6892 GB, free: 6.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.382e-05/0.1302, allocations: 112.9 kB / 0.6893 GB, free: 6.652 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.651e-05/0.1303, allocations: 176.3 kB / 0.6895 GB, free: 6.473 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.65e-05/0.1303, allocations: 108.9 kB / 0.6896 GB, free: 6.359 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.318e-05/0.1303, allocations: 79.28 kB / 0.6897 GB, free: 6.281 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1303, allocations: 0 / 0.6897 GB, free: 6.281 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002845/0.1306, allocations: 51.98 kB / 0.6897 GB, free: 6.23 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.0006529/0.1313, allocations: 0.9801 MB / 0.6907 GB, free: 5.258 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.015e-05/0.1314, allocations: 11.94 kB / 0.6907 GB, free: 5.246 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.1314, allocations: 0 / 0.6907 GB, free: 5.246 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.333e-06/0.1314, allocations: 0 / 0.6907 GB, free: 5.246 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002946/0.1317, allocations: 455.7 kB / 0.6911 GB, free: 4.797 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.0008596/0.1325, allocations: 1.353 MB / 0.6924 GB, free: 3.352 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001746/0.1327, allocations: 0.6728 MB / 0.6931 GB, free: 2.652 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.289e-05/0.1328, allocations: 11.92 kB / 0.6931 GB, free: 2.641 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.92e-05/0.1328, allocations: 15.38 kB / 0.6931 GB, free: 2.629 MB / 494.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1328, allocations: 0 / 0.6931 GB, free: 2.629 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2985/0.4313, allocations: 2.552 MB / 0.6956 GB, free: 316 kB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003405/0.4317, allocations: 297.7 kB / 0.6959 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.602/2.033, allocations: 2.812 kB / 0.6959 GB, free: 15.92 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)