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.001872/0.001872, allocations: 108 kB / 15.61 MB, free: 152 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.001278/0.001278, allocations: 192.7 kB / 16.53 MB, free: 6.664 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.405/1.405, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002496/0.002496, allocations: 294.6 kB / 290.7 MB, free: 2.016 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.089/1.089, allocations: 178.6 MB / 0.5073 GB, free: 4.617 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002803/0.002803, allocations: 106.1 kB / 0.6065 GB, free: 24.71 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.148, allocations: 89.14 MB / 0.6936 GB, free: 4.246 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002392/0.1504, allocations: 1.254 MB / 0.6948 GB, free: 2.988 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002151/0.1526, allocations: 1.44 MB / 0.6962 GB, free: 1.543 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.641e-05/0.1526, allocations: 0 / 0.6962 GB, free: 1.543 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.878e-05/0.1527, allocations: 4.875 kB / 0.6962 GB, free: 1.539 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001607/0.1528, allocations: 19.92 kB / 0.6963 GB, free: 1.52 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005891/0.1534, allocations: 215.7 kB / 0.6965 GB, free: 1.316 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.178e-05/0.1535, allocations: 27.91 kB / 0.6965 GB, free: 1.289 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.297e-05/0.1535, allocations: 12.81 kB / 0.6965 GB, free: 1.277 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.732e-05/0.1536, allocations: 8 kB / 0.6965 GB, free: 1.27 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001281/0.1538, allocations: 24.5 kB / 0.6965 GB, free: 1.246 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.392e-05/0.1538, allocations: 4 kB / 0.6965 GB, free: 1.242 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002584/0.154, allocations: 136.6 kB / 0.6967 GB, free: 1.109 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.476e-05/0.1541, allocations: 15.97 kB / 0.6967 GB, free: 1.094 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.325e-05/0.1541, allocations: 12.94 kB / 0.6967 GB, free: 1.082 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002596/0.1544, allocations: 136 kB / 0.6968 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1544, allocations: 4 kB / 0.6968 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1544, allocations: 4 kB / 0.6968 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.1544, allocations: 0 / 0.6968 GB, free: 0.9414 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.0004309/0.1548, allocations: 378 kB / 0.6972 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.1549, allocations: 11.97 kB / 0.6972 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.686e-05/0.155, allocations: 106 kB / 0.6973 GB, free: 412 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.298e-05/0.155, allocations: 76.22 kB / 0.6974 GB, free: 336 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001741/0.1552, allocations: 243.7 kB / 0.6976 GB, free: 52 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.021e-05/0.1553, allocations: 158.9 kB / 0.6978 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.699e-05/0.1554, allocations: 162.5 kB / 0.6979 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.311e-05/0.1555, allocations: 108.9 kB / 0.698 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.639e-05/0.1555, allocations: 75.28 kB / 0.6981 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.845e-05/0.1556, allocations: 150.6 kB / 0.6982 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.016e-05/0.1557, allocations: 150.6 kB / 0.6984 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.219e-05/0.1557, allocations: 158.6 kB / 0.6985 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003335/0.1561, allocations: 453.9 kB / 0.699 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001037/0.1562, allocations: 181 kB / 0.6991 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.904e-05/0.1562, allocations: 80.14 kB / 0.6992 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.441e-05/0.1563, allocations: 79.28 kB / 0.6993 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.031e-05/0.1563, allocations: 105.8 kB / 0.6994 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.1563, allocations: 0 / 0.6994 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 7.852e-05/0.1564, allocations: 29.7 kB / 0.6994 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.82e-05/0.1565, allocations: 126.7 kB / 0.6995 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.944e-05/0.1566, allocations: 113.8 kB / 0.6996 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.1566, allocations: 29.7 kB / 0.6997 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.413e-05/0.1567, allocations: 88.03 kB / 0.6998 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.593e-06/0.1567, allocations: 0 / 0.6998 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.953e-05/0.1568, allocations: 25.7 kB / 0.6998 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.1569, allocations: 310.8 kB / 0.7001 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.449e-05/0.1569, allocations: 4 kB / 0.7001 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.768e-05/0.157, allocations: 26.56 kB / 0.7001 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.66e-05/0.157, allocations: 30.52 kB / 0.7001 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.157, allocations: 0 / 0.7001 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000134/0.1572, allocations: 53.56 kB / 0.7002 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.1572, allocations: 4 kB / 0.7002 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.1572, allocations: 4 kB / 0.7002 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.1572, allocations: 0 / 0.7002 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.558e-05/0.1573, allocations: 8.094 kB / 0.7002 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.1573, allocations: 0 / 0.7002 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001576/0.1575, allocations: 15.92 kB / 0.7002 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.1575, allocations: 4 kB / 0.7002 GB, free: 13.21 MB / 0.4981 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 0.0001159/0.1576, allocations: 189.1 kB / 0.7004 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.024e-05/0.1577, allocations: 104.9 kB / 0.7005 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.789e-05/0.1577, allocations: 104.1 kB / 0.7006 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.391e-05/0.1578, allocations: 192.5 kB / 0.7008 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.229e-05/0.1579, allocations: 184.1 kB / 0.701 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.213e-05/0.158, allocations: 184.2 kB / 0.7011 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000284/0.1583, allocations: 413.1 kB / 0.7015 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.515e-05/0.1583, allocations: 105 kB / 0.7016 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.095e-05/0.1584, allocations: 105 kB / 0.7017 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.391e-05/0.1585, allocations: 180.2 kB / 0.7019 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-05/0.1586, allocations: 180.3 kB / 0.7021 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.604e-05/0.1587, allocations: 184.2 kB / 0.7023 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.146e-05/0.1587, allocations: 176.3 kB / 0.7024 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000164/0.1589, allocations: 311.7 kB / 0.7027 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.501e-05/0.159, allocations: 186 kB / 0.7029 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.308e-05/0.1591, allocations: 188.2 kB / 0.7031 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.657e-05/0.1592, allocations: 101 kB / 0.7032 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.556e-05/0.1593, allocations: 176.3 kB / 0.7033 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.414e-05/0.1594, allocations: 108.9 kB / 0.7034 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.418e-05/0.1594, allocations: 87.27 kB / 0.7035 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1594, allocations: 0 / 0.7035 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003294/0.1598, allocations: 47.98 kB / 0.7036 GB, free: 9.555 MB / 0.4981 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.0009461/0.1607, allocations: 0.981 MB / 0.7045 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.41e-05/0.1608, allocations: 7.938 kB / 0.7045 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1608, allocations: 0 / 0.7045 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.253e-06/0.1608, allocations: 0 / 0.7045 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003955/0.1612, allocations: 461.5 kB / 0.705 GB, free: 8.121 MB / 0.4981 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.001234/0.1624, allocations: 1.358 MB / 0.7063 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003106/0.1628, allocations: 0.6729 MB / 0.707 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.24e-05/0.1628, allocations: 4 kB / 0.707 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.74e-05/0.1628, allocations: 15.44 kB / 0.707 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of SimCode: time 3.01e-07/0.1628, allocations: 3.938 kB / 0.707 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5181/0.6809, allocations: 2.633 MB / 0.7096 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.656/8.337, allocations: 8.406 kB / 0.7096 GB, free: 3.488 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)