Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.005069/0.005069, allocations: 105.2 kB / 15.74 MB, free: 6.02 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.0011/0.0011, allocations: 192 kB / 16.67 MB, free: 5.938 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.323/1.323, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.824/0.824, allocations: 143.1 MB / 433.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 64.5 kB / 0.5951 GB, free: 12.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1584, allocations: 82.03 MB / 0.6752 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002267/0.1607, allocations: 1.281 MB / 0.6764 GB, free: 9.562 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002078/0.1628, allocations: 1.433 MB / 0.6778 GB, free: 8.121 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.604e-05/0.1629, allocations: 0 / 0.6778 GB, free: 8.121 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.214e-05/0.1629, allocations: 7.938 kB / 0.6778 GB, free: 8.113 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001912/0.1631, allocations: 11.92 kB / 0.6778 GB, free: 8.102 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006449/0.1638, allocations: 221.7 kB / 0.678 GB, free: 7.891 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.219e-05/0.1639, allocations: 23.92 kB / 0.6781 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.251e-05/0.1639, allocations: 7.938 kB / 0.6781 GB, free: 7.859 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 8.647e-05/0.164, allocations: 23.91 kB / 0.6781 GB, free: 7.836 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.1641, allocations: 5.719 kB / 0.6781 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.155e-05/0.1641, allocations: 0 / 0.6781 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002927/0.1644, allocations: 171.8 kB / 0.6783 GB, free: 7.664 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.168e-05/0.1645, allocations: 0 / 0.6783 GB, free: 7.664 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.021e-05/0.1645, allocations: 19.92 kB / 0.6783 GB, free: 7.645 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002572/0.1648, allocations: 151.8 kB / 0.6784 GB, free: 7.496 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.1648, allocations: 4 kB / 0.6784 GB, free: 7.492 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.753e-06/0.1648, allocations: 0 / 0.6784 GB, free: 7.492 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.1648, allocations: 0 / 0.6784 GB, free: 7.492 MB / 0.5137 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.0003728/0.1652, allocations: 375 kB / 0.6788 GB, free: 7.078 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.1652, allocations: 12.03 kB / 0.6788 GB, free: 7.066 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.329e-05/0.1653, allocations: 106 kB / 0.6789 GB, free: 6.953 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.216e-05/0.1653, allocations: 76.22 kB / 0.679 GB, free: 6.879 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/0.1655, allocations: 239.7 kB / 0.6792 GB, free: 6.605 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.005e-05/0.1656, allocations: 162.9 kB / 0.6794 GB, free: 6.445 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.579e-05/0.1656, allocations: 158.5 kB / 0.6795 GB, free: 6.289 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.572e-05/0.1657, allocations: 104.9 kB / 0.6796 GB, free: 6.18 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.352e-05/0.1657, allocations: 75.28 kB / 0.6797 GB, free: 6.105 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.509e-05/0.1658, allocations: 150.6 kB / 0.6798 GB, free: 5.957 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.25e-05/0.1658, allocations: 154.6 kB / 0.68 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.113e-05/0.1659, allocations: 158.6 kB / 0.6801 GB, free: 5.648 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002607/0.1661, allocations: 457.9 kB / 0.6806 GB, free: 5.152 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 7.259e-05/0.1662, allocations: 177 kB / 0.6807 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.162e-05/0.1662, allocations: 80.14 kB / 0.6808 GB, free: 4.887 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.1663, allocations: 79.28 kB / 0.6809 GB, free: 4.809 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.614e-05/0.1663, allocations: 109.8 kB / 0.681 GB, free: 4.691 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.1663, allocations: 0 / 0.681 GB, free: 4.691 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 7.725e-05/0.1664, allocations: 33.69 kB / 0.681 GB, free: 4.652 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.127e-05/0.1665, allocations: 126.7 kB / 0.6811 GB, free: 4.516 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.49e-05/0.1666, allocations: 105.8 kB / 0.6812 GB, free: 4.402 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.1666, allocations: 33.7 kB / 0.6813 GB, free: 4.363 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.795e-05/0.1666, allocations: 84.12 kB / 0.6814 GB, free: 4.277 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.657e-06/0.1666, allocations: 0 / 0.6814 GB, free: 4.277 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-05/0.1667, allocations: 25.66 kB / 0.6814 GB, free: 4.246 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 8.71e-05/0.1668, allocations: 310.8 kB / 0.6817 GB, free: 3.934 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.668e-05/0.1668, allocations: 3.984 kB / 0.6817 GB, free: 3.93 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.887e-05/0.1668, allocations: 30.56 kB / 0.6817 GB, free: 3.891 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.959e-05/0.1669, allocations: 22.58 kB / 0.6817 GB, free: 3.859 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1669, allocations: 0 / 0.6817 GB, free: 3.859 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001281/0.167, allocations: 57.56 kB / 0.6818 GB, free: 3.797 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.167, allocations: 15.81 kB / 0.6818 GB, free: 3.781 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.1671, allocations: 0 / 0.6818 GB, free: 3.781 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.1671, allocations: 4 kB / 0.6818 GB, free: 3.777 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.852e-05/0.1672, allocations: 12.08 kB / 0.6818 GB, free: 3.766 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.1672, allocations: 0 / 0.6818 GB, free: 3.766 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001471/0.1673, allocations: 4 kB / 0.6818 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.364e-05/0.1673, allocations: 8 kB / 0.6818 GB, free: 3.754 MB / 0.5137 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 8.764e-05/0.1674, allocations: 189 kB / 0.682 GB, free: 3.559 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.605e-05/0.1675, allocations: 105 kB / 0.6821 GB, free: 3.449 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.765e-05/0.1675, allocations: 108 kB / 0.6822 GB, free: 3.34 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-05/0.1676, allocations: 184.3 kB / 0.6824 GB, free: 3.152 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.353e-05/0.1676, allocations: 184.2 kB / 0.6826 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.777e-05/0.1677, allocations: 180.2 kB / 0.6827 GB, free: 2.781 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001957/0.1679, allocations: 401.2 kB / 0.6831 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.884e-05/0.1679, allocations: 108.9 kB / 0.6832 GB, free: 2.219 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.169e-05/0.168, allocations: 109 kB / 0.6833 GB, free: 2.105 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.885e-05/0.168, allocations: 180.2 kB / 0.6835 GB, free: 1.922 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.679e-05/0.1681, allocations: 176.3 kB / 0.6837 GB, free: 1.742 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.468e-05/0.1682, allocations: 184.3 kB / 0.6838 GB, free: 1.555 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.336e-05/0.1682, allocations: 180.2 kB / 0.684 GB, free: 1.371 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001183/0.1683, allocations: 319.6 kB / 0.6843 GB, free: 1.035 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.855e-05/0.1684, allocations: 178.1 kB / 0.6845 GB, free: 0.8359 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.267e-05/0.1685, allocations: 180.5 kB / 0.6847 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.136e-05/0.1686, allocations: 113 kB / 0.6848 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.972e-05/0.1686, allocations: 180.3 kB / 0.6849 GB, free: 360 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.112e-05/0.1687, allocations: 108.9 kB / 0.685 GB, free: 244 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.154e-05/0.1687, allocations: 79.28 kB / 0.6851 GB, free: 164 kB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1687, allocations: 0 / 0.6851 GB, free: 164 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000315/0.169, allocations: 55.8 kB / 0.6852 GB, free: 108 kB / 0.5137 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.0007862/0.1698, allocations: 0.9699 MB / 0.6861 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 8.886e-05/0.1699, allocations: 11.94 kB / 0.6861 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1699, allocations: 0 / 0.6861 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.973e-06/0.1699, allocations: 0 / 0.6861 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003246/0.1703, allocations: 458.5 kB / 0.6866 GB, free: 14.68 MB / 0.5294 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.001084/0.1714, allocations: 1.357 MB / 0.6879 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002324/0.1716, allocations: 0.6729 MB / 0.6886 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.096e-05/0.1716, allocations: 4 kB / 0.6886 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.31e-05/0.1717, allocations: 11.44 kB / 0.6886 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of SimCode: time 4.71e-07/0.1717, allocations: 4 kB / 0.6886 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.353/0.5247, allocations: 2.661 MB / 0.6912 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.018/7.543, allocations: 18.62 kB / 0.6912 GB, free: 10.02 MB / 0.5294 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.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 BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)