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.00481/0.00481, allocations: 96.53 kB / 15.73 MB, free: 6.043 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.001201/0.001201, allocations: 196.6 kB / 16.67 MB, free: 5.969 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.209/1.209, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001927/0.001927, allocations: 279.1 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8706/0.8706, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001596/0.001596, allocations: 95.55 kB / 0.681 GB, free: 15.97 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1306, allocations: 86.96 MB / 0.7659 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001956/0.1326, allocations: 1.274 MB / 0.7672 GB, free: 7.645 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00169/0.1343, allocations: 1.453 MB / 0.7686 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.511e-05/0.1343, allocations: 0 / 0.7686 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.54e-05/0.1343, allocations: 0 / 0.7686 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001453/0.1345, allocations: 7.938 kB / 0.7686 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005103/0.135, allocations: 214.9 kB / 0.7688 GB, free: 5.969 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.886e-05/0.1351, allocations: 19.92 kB / 0.7688 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.093e-05/0.1351, allocations: 8 kB / 0.7688 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.892e-05/0.1352, allocations: 19.91 kB / 0.7688 GB, free: 5.922 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.357e-05/0.1353, allocations: 7.938 kB / 0.7688 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.388e-06/0.1353, allocations: 0 / 0.7688 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002374/0.1355, allocations: 171.8 kB / 0.769 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.15e-05/0.1355, allocations: 4 kB / 0.769 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.193e-05/0.1356, allocations: 23.84 kB / 0.769 GB, free: 5.719 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002053/0.1358, allocations: 143.9 kB / 0.7692 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.1358, allocations: 3.938 kB / 0.7692 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.022e-06/0.1358, allocations: 0 / 0.7692 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.1358, allocations: 0 / 0.7692 GB, free: 5.574 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.0002959/0.1361, allocations: 367.1 kB / 0.7695 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.011e-05/0.1361, allocations: 8.031 kB / 0.7695 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.131e-05/0.1362, allocations: 110 kB / 0.7696 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.119e-05/0.1362, allocations: 76.22 kB / 0.7697 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.1364, allocations: 255.6 kB / 0.77 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.648e-05/0.1364, allocations: 158.9 kB / 0.7701 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.464e-05/0.1365, allocations: 154.5 kB / 0.7703 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.898e-05/0.1365, allocations: 109 kB / 0.7704 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.107e-05/0.1366, allocations: 75.28 kB / 0.7704 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.101e-05/0.1366, allocations: 154.6 kB / 0.7706 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.492e-05/0.1366, allocations: 150.6 kB / 0.7707 GB, free: 3.883 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.153e-05/0.1367, allocations: 154.6 kB / 0.7709 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002293/0.1369, allocations: 453.9 kB / 0.7713 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.439e-05/0.137, allocations: 173.1 kB / 0.7715 GB, free: 3.059 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.441e-05/0.137, allocations: 88.08 kB / 0.7715 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.1371, allocations: 75.28 kB / 0.7716 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.562e-05/0.1371, allocations: 105.8 kB / 0.7717 GB, free: 2.781 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.1371, allocations: 0 / 0.7717 GB, free: 2.781 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 7.091e-05/0.1372, allocations: 37.64 kB / 0.7718 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.751e-05/0.1372, allocations: 130.7 kB / 0.7719 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.455e-05/0.1373, allocations: 105.8 kB / 0.772 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.1373, allocations: 29.7 kB / 0.772 GB, free: 2.449 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.385e-05/0.1374, allocations: 80.14 kB / 0.7721 GB, free: 2.367 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.613e-06/0.1374, allocations: 0 / 0.7721 GB, free: 2.367 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.245e-05/0.1374, allocations: 25.7 kB / 0.7721 GB, free: 2.336 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.892e-05/0.1375, allocations: 310.8 kB / 0.7724 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.199e-05/0.1375, allocations: 4 kB / 0.7724 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.759e-05/0.1375, allocations: 30.56 kB / 0.7724 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.358e-05/0.1376, allocations: 26.52 kB / 0.7725 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1376, allocations: 0 / 0.7725 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001087/0.1377, allocations: 53.56 kB / 0.7725 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.528e-06/0.1377, allocations: 4 kB / 0.7725 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.1377, allocations: 4.094 kB / 0.7725 GB, free: 1.879 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.428e-06/0.1377, allocations: 0 / 0.7725 GB, free: 1.879 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.235e-05/0.1378, allocations: 8 kB / 0.7725 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.1378, allocations: 3.984 kB / 0.7725 GB, free: 1.867 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001398/0.138, allocations: 8 kB / 0.7725 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.327e-06/0.138, allocations: 7.938 kB / 0.7725 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 7.474e-05/0.1381, allocations: 185.7 kB / 0.7727 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.265e-05/0.1381, allocations: 116.9 kB / 0.7728 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.246e-05/0.1381, allocations: 108.1 kB / 0.7729 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.465e-05/0.1382, allocations: 180.2 kB / 0.7731 GB, free: 1.246 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.742e-05/0.1382, allocations: 180.3 kB / 0.7733 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.577e-05/0.1383, allocations: 180.3 kB / 0.7735 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001802/0.1385, allocations: 409.1 kB / 0.7738 GB, free: 432 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.709e-05/0.1385, allocations: 109 kB / 0.774 GB, free: 316 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.008e-05/0.1386, allocations: 108.9 kB / 0.7741 GB, free: 200 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.231e-05/0.1386, allocations: 176.5 kB / 0.7742 GB, free: 16 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.2648/0.4034, allocations: 176.3 kB / 0.7744 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.58e-05/0.4034, allocations: 181.3 kB / 0.7746 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.831e-05/0.4034, allocations: 182.8 kB / 0.7747 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.276e-05/0.4035, allocations: 310.3 kB / 0.775 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.711e-05/0.4035, allocations: 183.5 kB / 0.7752 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.898e-05/0.4036, allocations: 180.5 kB / 0.7754 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.465e-05/0.4036, allocations: 104.6 kB / 0.7755 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.215e-05/0.4037, allocations: 183.2 kB / 0.7757 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.4037, allocations: 106.5 kB / 0.7758 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.696e-05/0.4037, allocations: 85.09 kB / 0.7758 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4037, allocations: 1.422 kB / 0.7758 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003815/0.4041, allocations: 55.28 kB / 0.7759 GB, free: 13.59 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.00057/0.4047, allocations: 0.9852 MB / 0.7769 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.86e-05/0.4048, allocations: 12.94 kB / 0.7769 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4048, allocations: 4.594 kB / 0.7769 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.074e-06/0.4048, allocations: 0.8125 kB / 0.7769 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000233/0.405, allocations: 458 kB / 0.7773 GB, free: 12.33 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.0007478/0.4058, allocations: 1.355 MB / 0.7786 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.247e-05/0.4059, allocations: 0.6748 MB / 0.7793 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.225e-05/0.4059, allocations: 2.578 kB / 0.7793 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.176e-05/0.4059, allocations: 10.69 kB / 0.7793 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of SimCode: time 3.1e-07/0.4059, allocations: 1.5 kB / 0.7793 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2841/0.69, allocations: 2.652 MB / 0.7819 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.548/7.238, allocations: 13.34 kB / 0.7819 GB, free: 9.914 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 & 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)