Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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.00137/0.00137, allocations: 114 kB / 17.12 MB, free: 6.008 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.001629/0.001629, allocations: 211.2 kB / 20.09 MB, free: 3.055 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.666/1.666, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.063/1.063, allocations: 150 MB / 459.5 MB, free: 5.262 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002255/0.002255, allocations: 72.34 kB / 0.6361 GB, free: 30.54 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2306/0.2328, allocations: 89.13 MB / 0.7232 GB, free: 4.02 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002949/0.2358, allocations: 1.283 MB / 0.7244 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002869/0.2387, allocations: 1.485 MB / 0.7259 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.211e-05/0.2387, allocations: 0 / 0.7259 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.249e-05/0.2387, allocations: 0 / 0.7259 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002146/0.2389, allocations: 11.94 kB / 0.7259 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008309/0.2398, allocations: 224.1 kB / 0.7261 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.278e-05/0.2399, allocations: 27.92 kB / 0.7261 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.222e-05/0.2399, allocations: 3.984 kB / 0.7261 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001541/0.2401, allocations: 19.94 kB / 0.7261 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.744e-05/0.2401, allocations: 11.97 kB / 0.7262 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.2402, allocations: 4 kB / 0.7262 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003898/0.2406, allocations: 159.8 kB / 0.7263 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.339e-05/0.2406, allocations: 15.97 kB / 0.7263 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.686e-05/0.2406, allocations: 7.938 kB / 0.7263 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003632/0.241, allocations: 155.7 kB / 0.7265 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.241, allocations: 0 / 0.7265 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.843e-06/0.241, allocations: 4 kB / 0.7265 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.624e-06/0.241, allocations: 4 kB / 0.7265 GB, free: 0.5977 MB / 0.5294 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.0005193/0.2415, allocations: 368.9 kB / 0.7268 GB, free: 196 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.871e-05/0.2416, allocations: 12.03 kB / 0.7269 GB, free: 184 kB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001029/0.2417, allocations: 106 kB / 0.727 GB, free: 68 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001419/0.2418, allocations: 76.22 kB / 0.727 GB, free: 15.99 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002681/0.2421, allocations: 247.6 kB / 0.7273 GB, free: 15.71 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001227/0.2422, allocations: 158.9 kB / 0.7274 GB, free: 15.55 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.2423, allocations: 158.5 kB / 0.7276 GB, free: 15.4 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.372e-05/0.2424, allocations: 105 kB / 0.7277 GB, free: 15.29 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.722e-05/0.2424, allocations: 79.22 kB / 0.7277 GB, free: 15.21 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/0.2425, allocations: 150.6 kB / 0.7279 GB, free: 15.06 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002025/0.2427, allocations: 150.6 kB / 0.728 GB, free: 14.91 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.767e-05/0.2428, allocations: 154.6 kB / 0.7282 GB, free: 14.76 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004497/0.2433, allocations: 461.9 kB / 0.7286 GB, free: 14.26 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.2434, allocations: 173.1 kB / 0.7288 GB, free: 14.08 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.199e-05/0.2435, allocations: 88.06 kB / 0.7289 GB, free: 13.99 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4e-05/0.2435, allocations: 79.28 kB / 0.7289 GB, free: 13.91 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.434e-05/0.2436, allocations: 105.8 kB / 0.729 GB, free: 13.8 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 1.061e-06/0.2436, allocations: 0 / 0.729 GB, free: 13.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 9.728e-05/0.2437, allocations: 33.66 kB / 0.7291 GB, free: 13.76 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.383e-05/0.2438, allocations: 130.7 kB / 0.7292 GB, free: 13.62 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.2439, allocations: 105.8 kB / 0.7293 GB, free: 13.51 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.2439, allocations: 25.7 kB / 0.7293 GB, free: 13.48 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.548e-05/0.244, allocations: 88.12 kB / 0.7294 GB, free: 13.39 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.054e-06/0.244, allocations: 0 / 0.7294 GB, free: 13.39 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.319e-05/0.244, allocations: 21.72 kB / 0.7294 GB, free: 13.36 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.2442, allocations: 314.8 kB / 0.7297 GB, free: 13.04 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.743e-05/0.2442, allocations: 3.938 kB / 0.7297 GB, free: 13.04 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.251e-05/0.2442, allocations: 30.56 kB / 0.7298 GB, free: 13 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.079e-05/0.2443, allocations: 26.58 kB / 0.7298 GB, free: 12.96 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.2443, allocations: 0 / 0.7298 GB, free: 12.96 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001404/0.2444, allocations: 49.58 kB / 0.7298 GB, free: 12.91 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.2445, allocations: 9.703 kB / 0.7298 GB, free: 12.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.2445, allocations: 4.078 kB / 0.7299 GB, free: 12.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.2445, allocations: 4 kB / 0.7299 GB, free: 12.89 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.399e-05/0.2446, allocations: 16.02 kB / 0.7299 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.2446, allocations: 0 / 0.7299 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000162/0.2447, allocations: 11.98 kB / 0.7299 GB, free: 12.87 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.2447, allocations: 7.938 kB / 0.7299 GB, free: 12.86 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.0001264/0.2449, allocations: 185.1 kB / 0.7301 GB, free: 12.67 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.022e-05/0.2449, allocations: 105 kB / 0.7302 GB, free: 12.56 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.153e-05/0.245, allocations: 112 kB / 0.7303 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.868e-05/0.2451, allocations: 184.2 kB / 0.7304 GB, free: 12.26 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-05/0.2452, allocations: 184.2 kB / 0.7306 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.076e-05/0.2453, allocations: 176.3 kB / 0.7308 GB, free: 11.89 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002983/0.2456, allocations: 405.2 kB / 0.7312 GB, free: 11.44 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.784e-05/0.2456, allocations: 108.9 kB / 0.7313 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.14e-05/0.2457, allocations: 105 kB / 0.7314 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.924e-05/0.2458, allocations: 180.2 kB / 0.7316 GB, free: 11.03 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.066e-05/0.2459, allocations: 180.3 kB / 0.7317 GB, free: 10.85 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001009/0.246, allocations: 184.2 kB / 0.7319 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001085/0.2461, allocations: 184.2 kB / 0.7321 GB, free: 10.47 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001979/0.2463, allocations: 311.7 kB / 0.7324 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001248/0.2464, allocations: 178.3 kB / 0.7325 GB, free: 9.945 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001144/0.2465, allocations: 188.2 kB / 0.7327 GB, free: 9.754 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.2466, allocations: 108.9 kB / 0.7328 GB, free: 9.641 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.107e-05/0.2467, allocations: 176.3 kB / 0.733 GB, free: 9.461 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.775e-05/0.2467, allocations: 108.9 kB / 0.7331 GB, free: 9.348 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.249e-05/0.2468, allocations: 87.27 kB / 0.7332 GB, free: 9.262 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.2468, allocations: 0 / 0.7332 GB, free: 9.262 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003663/0.2472, allocations: 51.8 kB / 0.7332 GB, free: 9.211 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.001207/0.2484, allocations: 0.9687 MB / 0.7342 GB, free: 8.258 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.99e-05/0.2485, allocations: 7.938 kB / 0.7342 GB, free: 8.25 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.2485, allocations: 4 kB / 0.7342 GB, free: 8.246 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.474e-06/0.2485, allocations: 0 / 0.7342 GB, free: 8.246 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004365/0.2489, allocations: 463.6 kB / 0.7346 GB, free: 7.789 MB / 0.545 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.001508/0.2504, allocations: 1.357 MB / 0.736 GB, free: 6.34 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003586/0.2508, allocations: 0.6729 MB / 0.7366 GB, free: 5.641 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.582e-05/0.2508, allocations: 4 kB / 0.7366 GB, free: 5.637 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.55e-05/0.2509, allocations: 11.44 kB / 0.7366 GB, free: 5.625 MB / 0.545 GB Notification: Performance of SimCode: time 5.01e-07/0.2509, allocations: 8 kB / 0.7366 GB, free: 5.617 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5973/0.8482, allocations: 2.633 MB / 0.7392 GB, free: 3.148 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.2/9.049, allocations: 8.188 kB / 0.7392 GB, free: 3.141 MB / 0.545 GB " [Timeout remaining time 647] (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & python3 -m fmpy simulate --output-file IBPSA_latest_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 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.758471003966406] Failed to read output from testmodel.py, exit status != 0: 12.873591189039871 12.890695822 12.646442811 Calling exit ...