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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001737/0.001737, allocations: 95.64 kB / 18.95 MB, free: 2.691 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002379/0.002379, allocations: 212.3 kB / 22.24 MB, free: 5.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.472/1.472, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.9187/0.9187, allocations: 145 MB / 457.4 MB, free: 15.29 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002268/0.002268, allocations: 72.53 kB / 0.6331 GB, free: 6.691 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.1723, allocations: 87.89 MB / 0.7189 GB, free: 14.82 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.00262/0.1749, allocations: 1.287 MB / 0.7202 GB, free: 13.52 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002596/0.1775, allocations: 1.524 MB / 0.7217 GB, free: 11.99 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.042e-05/0.1775, allocations: 0 / 0.7217 GB, free: 11.99 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.1e-05/0.1776, allocations: 0 / 0.7217 GB, free: 11.99 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002213/0.1778, allocations: 19.92 kB / 0.7217 GB, free: 11.97 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006952/0.1785, allocations: 214.3 kB / 0.7219 GB, free: 11.76 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.513e-05/0.1785, allocations: 31.84 kB / 0.7219 GB, free: 11.73 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.421e-05/0.1786, allocations: 0 / 0.7219 GB, free: 11.73 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/0.1787, allocations: 23.94 kB / 0.722 GB, free: 11.71 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.759e-05/0.1788, allocations: 11.97 kB / 0.722 GB, free: 11.7 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.314e-05/0.1788, allocations: 3.938 kB / 0.722 GB, free: 11.69 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003849/0.1792, allocations: 151.8 kB / 0.7221 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.605e-05/0.1792, allocations: 7.984 kB / 0.7221 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.685e-05/0.1792, allocations: 4 kB / 0.7221 GB, free: 11.53 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002793/0.1795, allocations: 147.6 kB / 0.7223 GB, free: 11.39 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1795, allocations: 0 / 0.7223 GB, free: 11.39 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1795, allocations: 0 / 0.7223 GB, free: 11.39 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.1795, allocations: 3.938 kB / 0.7223 GB, free: 11.38 MB / 0.545 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.0004306/0.1799, allocations: 294 kB / 0.7225 GB, free: 11.07 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.18, allocations: 12.03 kB / 0.7226 GB, free: 11.05 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.671e-05/0.18, allocations: 106 kB / 0.7227 GB, free: 10.94 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.822e-05/0.1801, allocations: 80.2 kB / 0.7227 GB, free: 10.86 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001692/0.1803, allocations: 197.7 kB / 0.7229 GB, free: 10.64 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.314e-05/0.1804, allocations: 154.9 kB / 0.7231 GB, free: 10.49 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.417e-05/0.1805, allocations: 154.5 kB / 0.7232 GB, free: 10.34 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.256e-05/0.1805, allocations: 105 kB / 0.7233 GB, free: 10.23 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.916e-05/0.1806, allocations: 75.28 kB / 0.7234 GB, free: 10.16 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.483e-05/0.1807, allocations: 150.6 kB / 0.7235 GB, free: 10.01 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001429/0.1808, allocations: 150.6 kB / 0.7237 GB, free: 9.859 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.307e-05/0.1809, allocations: 162.5 kB / 0.7238 GB, free: 9.699 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00033/0.1812, allocations: 425 kB / 0.7242 GB, free: 9.242 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.889e-05/0.1813, allocations: 169.1 kB / 0.7244 GB, free: 9.066 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.445e-05/0.1814, allocations: 80.14 kB / 0.7245 GB, free: 8.984 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.141e-05/0.1814, allocations: 79.28 kB / 0.7246 GB, free: 8.906 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.8e-05/0.1815, allocations: 105.8 kB / 0.7247 GB, free: 8.793 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 1.203e-06/0.1815, allocations: 0 / 0.7247 GB, free: 8.793 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 9.175e-05/0.1816, allocations: 37.69 kB / 0.7247 GB, free: 8.75 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.054e-05/0.1816, allocations: 130.7 kB / 0.7248 GB, free: 8.609 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/0.1818, allocations: 105.8 kB / 0.7249 GB, free: 8.496 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.1818, allocations: 29.7 kB / 0.7249 GB, free: 8.461 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.236e-05/0.1819, allocations: 80.14 kB / 0.725 GB, free: 8.379 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-06/0.1819, allocations: 0 / 0.725 GB, free: 8.379 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.438e-05/0.1819, allocations: 25.7 kB / 0.725 GB, free: 8.348 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.182, allocations: 310.8 kB / 0.7253 GB, free: 8.035 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.876e-05/0.1821, allocations: 8 kB / 0.7253 GB, free: 8.027 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.574e-05/0.1822, allocations: 99.67 kB / 0.7254 GB, free: 7.902 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.956e-05/0.1822, allocations: 30.52 kB / 0.7255 GB, free: 7.863 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.1822, allocations: 0 / 0.7255 GB, free: 7.863 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001391/0.1824, allocations: 61.5 kB / 0.7255 GB, free: 7.797 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.1824, allocations: 9.719 kB / 0.7255 GB, free: 7.789 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.1824, allocations: 0 / 0.7255 GB, free: 7.789 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.1824, allocations: 0 / 0.7255 GB, free: 7.789 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.484e-05/0.1825, allocations: 4 kB / 0.7255 GB, free: 7.785 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.1825, allocations: 4 kB / 0.7255 GB, free: 7.781 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001481/0.1826, allocations: 15.88 kB / 0.7256 GB, free: 7.766 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.006e-06/0.1826, allocations: 0 / 0.7256 GB, free: 7.766 MB / 0.545 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.0001213/0.1827, allocations: 197.1 kB / 0.7258 GB, free: 7.562 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.055e-05/0.1828, allocations: 105 kB / 0.7259 GB, free: 7.453 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.05e-05/0.1829, allocations: 112.1 kB / 0.726 GB, free: 7.332 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.617e-05/0.1829, allocations: 184.1 kB / 0.7261 GB, free: 7.145 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.409e-05/0.183, allocations: 176.5 kB / 0.7263 GB, free: 6.965 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.344e-05/0.1831, allocations: 184.2 kB / 0.7265 GB, free: 6.777 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002758/0.1834, allocations: 384.2 kB / 0.7268 GB, free: 6.352 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.597e-05/0.1834, allocations: 101 kB / 0.7269 GB, free: 6.246 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.747e-05/0.1835, allocations: 104.9 kB / 0.727 GB, free: 6.137 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.911e-05/0.1836, allocations: 184.2 kB / 0.7272 GB, free: 5.949 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.12e-05/0.1836, allocations: 180.2 kB / 0.7274 GB, free: 5.766 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.213e-05/0.1837, allocations: 184.3 kB / 0.7276 GB, free: 5.578 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.341e-05/0.1838, allocations: 180.3 kB / 0.7277 GB, free: 5.395 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001617/0.184, allocations: 315.7 kB / 0.728 GB, free: 5.062 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.088e-05/0.184, allocations: 104.9 kB / 0.7281 GB, free: 4.953 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.095e-05/0.1841, allocations: 180.3 kB / 0.7283 GB, free: 4.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/0.1842, allocations: 101 kB / 0.7284 GB, free: 4.664 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.413e-05/0.1843, allocations: 184.2 kB / 0.7286 GB, free: 4.477 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.213e-05/0.1844, allocations: 105.1 kB / 0.7287 GB, free: 4.367 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.314e-05/0.1844, allocations: 83.28 kB / 0.7288 GB, free: 4.285 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1844, allocations: 0 / 0.7288 GB, free: 4.285 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003452/0.1848, allocations: 55.8 kB / 0.7288 GB, free: 4.23 MB / 0.545 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.001008/0.1858, allocations: 0.991 MB / 0.7298 GB, free: 3.258 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.723e-05/0.1859, allocations: 7.984 kB / 0.7298 GB, free: 3.25 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1859, allocations: 3.938 kB / 0.7298 GB, free: 3.246 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.583e-06/0.1859, allocations: 0 / 0.7298 GB, free: 3.246 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003885/0.1863, allocations: 462.5 kB / 0.7302 GB, free: 2.793 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/0.1874, allocations: 1.373 MB / 0.7316 GB, free: 1.328 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.357e-05/0.1875, allocations: 55.36 kB / 0.7316 GB, free: 1.254 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.389e-05/0.1875, allocations: 0 / 0.7316 GB, free: 1.254 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.215e-05/0.1875, allocations: 15.42 kB / 0.7316 GB, free: 1.238 MB / 0.545 GB Notification: Performance of SimCode: time 3e-07/0.1876, allocations: 0 / 0.7316 GB, free: 1.238 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03387/0.2214, allocations: 3.156 MB / 0.7347 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.32, allocations: 10.09 kB / 0.7347 GB, free: 14.26 MB / 0.5606 GB " [Timeout remaining time 649] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.295868667773902] Failed to read output from testmodel.py, exit status != 0: 11.472411755938083 11.497154655 11.31307439 Calling exit ...