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.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.0009942/0.0009942, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001487/0.001487, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.978/0.978, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001635/0.001635, allocations: 233 kB / 259.4 MB, free: 13.02 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7519/0.7519, allocations: 138.4 MB / 454.3 MB, free: 1.656 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.677e-06/3.677e-06, allocations: 0 / 0.6463 GB, free: 29.13 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.826e-05/3.194e-05, allocations: 2.281 kB / 0.6463 GB, free: 29.12 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001864/0.001896, allocations: 1.288 MB / 0.6476 GB, free: 28.11 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001665/0.003562, allocations: 1.539 MB / 0.6491 GB, free: 26.92 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.159e-05/0.003603, allocations: 0 / 0.6491 GB, free: 26.92 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.911e-05/0.003632, allocations: 0 / 0.6491 GB, free: 26.92 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0003275/0.00396, allocations: 24.91 kB / 0.6491 GB, free: 26.9 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006079/0.004568, allocations: 219.6 kB / 0.6493 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 6.533e-05/0.004633, allocations: 23.52 kB / 0.6493 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 4.033e-05/0.004673, allocations: 4.969 kB / 0.6493 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001313/0.004805, allocations: 28.75 kB / 0.6494 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 5.493e-05/0.004859, allocations: 4.031 kB / 0.6494 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.308e-05/0.004873, allocations: 1.5 kB / 0.6494 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002239/0.005096, allocations: 158.4 kB / 0.6495 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.605e-05/0.005113, allocations: 13.22 kB / 0.6495 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.207e-05/0.005135, allocations: 4.844 kB / 0.6495 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0002313/0.005366, allocations: 169.2 kB / 0.6497 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.005368, allocations: 0 / 0.6497 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.022e-06/0.005369, allocations: 0 / 0.6497 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.005374, allocations: 0 / 0.6497 GB, free: 26.55 MB / 0.5105 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.0004374/0.005812, allocations: 289.7 kB / 0.65 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.005859, allocations: 9.625 kB / 0.65 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.975e-05/0.005889, allocations: 107.2 kB / 0.6501 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.653e-05/0.005935, allocations: 79.47 kB / 0.6502 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.949e-05/0.006025, allocations: 190 kB / 0.6503 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.741e-05/0.006052, allocations: 157.4 kB / 0.6505 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.487e-05/0.006077, allocations: 153.7 kB / 0.6506 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.938e-05/0.006126, allocations: 110.5 kB / 0.6507 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.00614, allocations: 79.22 kB / 0.6508 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.953e-05/0.006159, allocations: 151.9 kB / 0.651 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.947e-05/0.006179, allocations: 152.1 kB / 0.6511 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.176e-05/0.006201, allocations: 150.6 kB / 0.6513 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001748/0.006375, allocations: 430.9 kB / 0.6517 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 5.291e-05/0.006428, allocations: 171.4 kB / 0.6518 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.674e-05/0.006445, allocations: 84.14 kB / 0.6519 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.29e-05/0.006458, allocations: 76.44 kB / 0.652 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.006481, allocations: 118.8 kB / 0.6521 GB, free: 24 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 1.222e-06/0.006482, allocations: 0 / 0.6521 GB, free: 24 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 7.036e-05/0.006552, allocations: 27.95 kB / 0.6521 GB, free: 23.97 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.073e-05/0.006583, allocations: 127.8 kB / 0.6522 GB, free: 23.83 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.319e-05/0.006666, allocations: 109.8 kB / 0.6523 GB, free: 23.72 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.618e-06/0.006676, allocations: 29.7 kB / 0.6524 GB, free: 23.69 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.212e-05/0.006698, allocations: 81.58 kB / 0.6525 GB, free: 23.61 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.178e-06/0.006702, allocations: 1.438 kB / 0.6525 GB, free: 23.61 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.931e-05/0.006731, allocations: 19.47 kB / 0.6525 GB, free: 23.59 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.871e-05/0.00677, allocations: 320.3 kB / 0.6528 GB, free: 23.27 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.043e-05/0.006781, allocations: 1.469 kB / 0.6528 GB, free: 23.27 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.883e-05/0.006829, allocations: 107.1 kB / 0.6529 GB, free: 23.14 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.846e-05/0.006868, allocations: 23.42 kB / 0.6529 GB, free: 23.11 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.006871, allocations: 1.094 kB / 0.6529 GB, free: 23.11 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001627/0.007034, allocations: 46.95 kB / 0.653 GB, free: 23.07 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.83e-05/0.007062, allocations: 14.17 kB / 0.653 GB, free: 23.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/0.007076, allocations: 5.125 kB / 0.653 GB, free: 23.06 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.652e-05/0.007103, allocations: 1.125 kB / 0.653 GB, free: 23.06 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.007239, allocations: 4.531 kB / 0.653 GB, free: 23.06 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.596e-05/0.007255, allocations: 1.688 kB / 0.653 GB, free: 23.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001436/0.007398, allocations: 11.19 kB / 0.653 GB, free: 23.05 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.102e-05/0.007419, allocations: 7.781 kB / 0.653 GB, free: 23.05 MB / 0.5105 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 4.888e-05/0.007468, allocations: 184.8 kB / 0.6532 GB, free: 22.86 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.554e-05/0.007494, allocations: 114.3 kB / 0.6533 GB, free: 22.75 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.933e-05/0.007513, allocations: 109.2 kB / 0.6534 GB, free: 22.63 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.877e-05/0.007532, allocations: 189.3 kB / 0.6536 GB, free: 22.44 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.107e-05/0.007553, allocations: 181.2 kB / 0.6537 GB, free: 22.26 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.959e-05/0.007572, allocations: 181.9 kB / 0.6539 GB, free: 22.07 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.204e-05/0.007664, allocations: 380.8 kB / 0.6543 GB, free: 21.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.428e-06/0.007674, allocations: 101 kB / 0.6544 GB, free: 21.55 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.127e-05/0.007685, allocations: 102.4 kB / 0.6545 GB, free: 21.45 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.016e-05/0.007705, allocations: 185.4 kB / 0.6546 GB, free: 21.26 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.265e-05/0.007728, allocations: 182.9 kB / 0.6548 GB, free: 21.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.878e-05/0.007747, allocations: 181.5 kB / 0.655 GB, free: 20.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.869e-05/0.007765, allocations: 181.6 kB / 0.6552 GB, free: 20.71 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.504e-05/0.00783, allocations: 308 kB / 0.6555 GB, free: 20.39 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.18e-05/0.007852, allocations: 103.9 kB / 0.6556 GB, free: 20.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.287e-05/0.007885, allocations: 197.8 kB / 0.6557 GB, free: 20.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.007e-05/0.007925, allocations: 102.5 kB / 0.6558 GB, free: 19.98 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.801e-05/0.007953, allocations: 181.5 kB / 0.656 GB, free: 19.79 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.007964, allocations: 106.4 kB / 0.6561 GB, free: 19.68 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.011e-05/0.007994, allocations: 82.86 kB / 0.6562 GB, free: 19.61 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.007994, allocations: 3.938 kB / 0.6562 GB, free: 19.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002668/0.008261, allocations: 50.38 kB / 0.6562 GB, free: 19.59 MB / 0.5105 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.0005394/0.0088, allocations: 0.981 MB / 0.6572 GB, free: 18.71 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 7.94e-05/0.00888, allocations: 10.78 kB / 0.6572 GB, free: 18.71 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.008881, allocations: 0 / 0.6572 GB, free: 18.71 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.333e-06/0.008883, allocations: 4 kB / 0.6572 GB, free: 18.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001791/0.009062, allocations: 457.1 kB / 0.6577 GB, free: 18.26 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006492/0.009711, allocations: 1.354 MB / 0.659 GB, free: 16.88 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.327e-05/0.009754, allocations: 59.53 kB / 0.659 GB, free: 16.8 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.843e-05/0.009793, allocations: 6.75 kB / 0.659 GB, free: 16.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.222e-05/0.009845, allocations: 10.56 kB / 0.6591 GB, free: 16.79 MB / 0.5105 GB Notification: Performance of SimCode: time 7.71e-07/0.009846, allocations: 0 / 0.6591 GB, free: 16.79 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02073/0.03058, allocations: 3.312 MB / 0.6623 GB, free: 14.81 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.37/7.401, allocations: 1.094 kB / 0.6623 GB, free: 14.81 MB / 0.5105 GB " [Timeout remaining time 652] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.943178603425622] Failed to read output from testmodel.py, exit status != 0: 7.5177990878000855 7.526112389 7.519126515 Calling exit ...