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.001305/0.001305, allocations: 104 kB / 15.6 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 196.1 kB / 16.53 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.28/1.28, allocations: 222.9 MB / 240.2 MB, free: 4.207 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002067/0.002067, allocations: 295 kB / 290.7 MB, free: 1.812 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9276/0.9276, allocations: 169.3 MB / 0.4982 GB, free: 13.89 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001707/0.001707, allocations: 97.91 kB / 0.5954 GB, free: 27.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1313, allocations: 86.97 MB / 0.6803 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002116/0.1334, allocations: 1.257 MB / 0.6815 GB, free: 15.35 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001809/0.1353, allocations: 1.443 MB / 0.6829 GB, free: 13.9 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.598e-05/0.1353, allocations: 0 / 0.6829 GB, free: 13.9 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.503e-05/0.1353, allocations: 0.6562 kB / 0.6829 GB, free: 13.9 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001502/0.1355, allocations: 19.92 kB / 0.6829 GB, free: 13.88 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005421/0.136, allocations: 210.9 kB / 0.6831 GB, free: 13.68 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.123e-05/0.1361, allocations: 27.92 kB / 0.6832 GB, free: 13.65 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.437e-05/0.1361, allocations: 4 kB / 0.6832 GB, free: 13.65 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.879e-05/0.1362, allocations: 24.59 kB / 0.6832 GB, free: 13.62 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.1363, allocations: 15.94 kB / 0.6832 GB, free: 13.61 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.177e-05/0.1363, allocations: 0.875 kB / 0.6832 GB, free: 13.61 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00023/0.1366, allocations: 147.8 kB / 0.6834 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.396e-05/0.1366, allocations: 8.5 kB / 0.6834 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.401e-05/0.1366, allocations: 12.8 kB / 0.6834 GB, free: 13.45 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002231/0.1369, allocations: 148 kB / 0.6835 GB, free: 13.3 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1369, allocations: 4 kB / 0.6835 GB, free: 13.3 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1369, allocations: 1.188 kB / 0.6835 GB, free: 13.3 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.1369, allocations: 0 / 0.6835 GB, free: 13.3 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.0003401/0.1372, allocations: 367.6 kB / 0.6839 GB, free: 12.89 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.1373, allocations: 8.031 kB / 0.6839 GB, free: 12.88 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.736e-05/0.1373, allocations: 106 kB / 0.684 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.392e-05/0.1374, allocations: 84.12 kB / 0.6841 GB, free: 12.69 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.1375, allocations: 235.7 kB / 0.6843 GB, free: 12.42 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.571e-05/0.1376, allocations: 158.9 kB / 0.6844 GB, free: 12.26 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.902e-05/0.1377, allocations: 158.5 kB / 0.6846 GB, free: 12.11 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.767e-05/0.1377, allocations: 105 kB / 0.6847 GB, free: 12 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.278e-05/0.1377, allocations: 79.22 kB / 0.6848 GB, free: 11.92 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.603e-05/0.1378, allocations: 154.5 kB / 0.6849 GB, free: 11.77 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-05/0.1379, allocations: 154.6 kB / 0.6851 GB, free: 11.61 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.553e-05/0.1379, allocations: 150.6 kB / 0.6852 GB, free: 11.46 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002545/0.1382, allocations: 457.9 kB / 0.6856 GB, free: 10.97 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.018e-05/0.1383, allocations: 177 kB / 0.6858 GB, free: 10.79 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.968e-05/0.1383, allocations: 80.14 kB / 0.6859 GB, free: 10.7 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.894e-05/0.1383, allocations: 75.28 kB / 0.686 GB, free: 10.63 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.809e-05/0.1384, allocations: 117.8 kB / 0.6861 GB, free: 10.5 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 2.104e-06/0.1384, allocations: 3.984 kB / 0.6861 GB, free: 10.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 6.624e-05/0.1385, allocations: 29.64 kB / 0.6861 GB, free: 10.46 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.275e-05/0.1385, allocations: 130.7 kB / 0.6862 GB, free: 10.32 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.26e-05/0.1386, allocations: 105.8 kB / 0.6863 GB, free: 10.21 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.1386, allocations: 25.7 kB / 0.6864 GB, free: 10.18 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.965e-05/0.1387, allocations: 84.14 kB / 0.6864 GB, free: 10.09 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.723e-06/0.1387, allocations: 0 / 0.6864 GB, free: 10.09 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.485e-05/0.1387, allocations: 25.7 kB / 0.6865 GB, free: 10.06 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.016e-05/0.1388, allocations: 310.8 kB / 0.6868 GB, free: 9.75 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.209e-05/0.1388, allocations: 4 kB / 0.6868 GB, free: 9.746 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.164e-05/0.1389, allocations: 30.56 kB / 0.6868 GB, free: 9.707 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.521e-05/0.1389, allocations: 30.52 kB / 0.6868 GB, free: 9.668 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.1389, allocations: 0 / 0.6868 GB, free: 9.668 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001121/0.139, allocations: 53.47 kB / 0.6869 GB, free: 9.609 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.1391, allocations: 9.719 kB / 0.6869 GB, free: 9.602 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.1391, allocations: 0 / 0.6869 GB, free: 9.602 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.789e-06/0.1391, allocations: 0 / 0.6869 GB, free: 9.602 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.356e-05/0.1391, allocations: 4.25 kB / 0.6869 GB, free: 9.598 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.1392, allocations: 0 / 0.6869 GB, free: 9.598 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000147/0.1393, allocations: 20.02 kB / 0.6869 GB, free: 9.578 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.1393, allocations: 8 kB / 0.6869 GB, free: 9.57 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.836e-05/0.1394, allocations: 190.4 kB / 0.6871 GB, free: 9.375 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.437e-05/0.1395, allocations: 104.9 kB / 0.6872 GB, free: 9.266 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.486e-05/0.1395, allocations: 112.1 kB / 0.6873 GB, free: 9.148 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.626e-05/0.1396, allocations: 184.2 kB / 0.6875 GB, free: 8.961 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-05/0.1397, allocations: 180.3 kB / 0.6876 GB, free: 8.777 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.337e-05/0.1397, allocations: 180.2 kB / 0.6878 GB, free: 8.594 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002069/0.1399, allocations: 413.1 kB / 0.6882 GB, free: 8.133 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.894e-05/0.14, allocations: 105 kB / 0.6883 GB, free: 8.023 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.739e-05/0.14, allocations: 104.9 kB / 0.6884 GB, free: 7.914 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.605e-05/0.1401, allocations: 184.2 kB / 0.6886 GB, free: 7.727 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.164e-05/0.1401, allocations: 180.3 kB / 0.6888 GB, free: 7.543 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.426e-05/0.1402, allocations: 180.2 kB / 0.6889 GB, free: 7.359 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.426e-05/0.1402, allocations: 180.3 kB / 0.6891 GB, free: 7.176 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001091/0.1404, allocations: 307.7 kB / 0.6894 GB, free: 6.852 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.023e-05/0.1404, allocations: 186.1 kB / 0.6896 GB, free: 6.645 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.413e-05/0.1405, allocations: 184.2 kB / 0.6897 GB, free: 6.457 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.872e-05/0.1406, allocations: 101 kB / 0.6898 GB, free: 6.352 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.859e-05/0.1406, allocations: 184.2 kB / 0.69 GB, free: 6.164 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.851e-05/0.1407, allocations: 105 kB / 0.6901 GB, free: 6.055 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.538e-05/0.1407, allocations: 83.28 kB / 0.6902 GB, free: 5.973 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1407, allocations: 3.938 kB / 0.6902 GB, free: 5.969 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002904/0.141, allocations: 47.98 kB / 0.6902 GB, free: 5.922 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.0006958/0.1417, allocations: 0.9787 MB / 0.6912 GB, free: 4.953 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.161e-05/0.1418, allocations: 12.05 kB / 0.6912 GB, free: 4.941 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1418, allocations: 0 / 0.6912 GB, free: 4.941 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.096e-06/0.1418, allocations: 4 kB / 0.6912 GB, free: 4.938 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003208/0.1421, allocations: 455.6 kB / 0.6917 GB, free: 4.488 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.0009775/0.1431, allocations: 1.365 MB / 0.693 GB, free: 3.031 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002076/0.1433, allocations: 0.669 MB / 0.6936 GB, free: 2.336 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.999e-05/0.1434, allocations: 4 kB / 0.6936 GB, free: 2.332 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.594e-05/0.1434, allocations: 15.42 kB / 0.6937 GB, free: 2.316 MB / 494.1 MB Notification: Performance of SimCode: time 1.383e-06/0.1434, allocations: 3.938 kB / 0.6937 GB, free: 2.312 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.279/0.4225, allocations: 2.629 MB / 0.6962 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.958/7.381, allocations: 15.47 kB / 0.6962 GB, free: 15.86 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)