Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001356/0.001356, allocations: 104.6 kB / 16.45 MB, free: 6.449 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.001481/0.001481, allocations: 208.9 kB / 19.42 MB, free: 3.641 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.484/1.484, allocations: 230.6 MB / 252.8 MB, free: 8.953 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8795/0.8795, allocations: 134 MB / 442.8 MB, free: 11.29 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.001955/0.001955, allocations: 64.23 kB / 0.6134 GB, free: 8.832 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2039/0.2058, allocations: 85.85 MB / 0.6973 GB, free: 3.055 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002936/0.2088, allocations: 1.294 MB / 0.6985 GB, free: 1.746 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002469/0.2113, allocations: 1.484 MB / 0.7 GB, free: 260 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.699e-05/0.2113, allocations: 0 / 0.7 GB, free: 260 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.925e-05/0.2113, allocations: 7.938 kB / 0.7 GB, free: 252 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002309/0.2115, allocations: 15.92 kB / 0.7 GB, free: 236 kB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007493/0.2123, allocations: 212.6 kB / 0.7002 GB, free: 28 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.063e-05/0.2124, allocations: 23.92 kB / 0.7002 GB, free: 4 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 6.794e-05/0.2124, allocations: 8.078 kB / 0.7002 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001757/0.2126, allocations: 23.77 kB / 0.7003 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.237e-05/0.2127, allocations: 15.92 kB / 0.7003 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.309e-05/0.2127, allocations: 0 / 0.7003 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003489/0.2131, allocations: 171.8 kB / 0.7004 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.36e-05/0.2131, allocations: 3.984 kB / 0.7004 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.399e-05/0.2131, allocations: 7.938 kB / 0.7005 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003081/0.2134, allocations: 151.8 kB / 0.7006 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2134, allocations: 4 kB / 0.7006 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2134, allocations: 0 / 0.7006 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.2134, allocations: 0 / 0.7006 GB, free: 15.62 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.0004344/0.2139, allocations: 371 kB / 0.701 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.2139, allocations: 9.109 kB / 0.701 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.527e-05/0.214, allocations: 110 kB / 0.7011 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.592e-05/0.214, allocations: 80.22 kB / 0.7011 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001976/0.2142, allocations: 239.6 kB / 0.7014 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.922e-05/0.2143, allocations: 162.9 kB / 0.7015 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.067e-05/0.2144, allocations: 154.5 kB / 0.7017 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.187e-05/0.2145, allocations: 105 kB / 0.7018 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.56e-05/0.2145, allocations: 83.28 kB / 0.7019 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.77e-05/0.2146, allocations: 154.5 kB / 0.702 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.912e-05/0.2146, allocations: 154.6 kB / 0.7022 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.71e-05/0.2147, allocations: 154.5 kB / 0.7023 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003313/0.215, allocations: 449.9 kB / 0.7027 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.2151, allocations: 177 kB / 0.7029 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.299e-05/0.2152, allocations: 88.14 kB / 0.703 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.168e-05/0.2152, allocations: 79.28 kB / 0.7031 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.085e-05/0.2153, allocations: 105.8 kB / 0.7032 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.2153, allocations: 0 / 0.7032 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 8.723e-05/0.2154, allocations: 33.59 kB / 0.7032 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.048e-05/0.2155, allocations: 130.7 kB / 0.7033 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.2156, allocations: 101.8 kB / 0.7034 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.322e-05/0.2156, allocations: 29.7 kB / 0.7034 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.99e-05/0.2156, allocations: 88.14 kB / 0.7035 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.526e-06/0.2156, allocations: 3.984 kB / 0.7035 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-05/0.2157, allocations: 17.7 kB / 0.7035 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.2158, allocations: 318.8 kB / 0.7039 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.284e-05/0.2158, allocations: 0 / 0.7039 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.382e-05/0.2159, allocations: 26.56 kB / 0.7039 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.508e-05/0.2159, allocations: 30.52 kB / 0.7039 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.2159, allocations: 0 / 0.7039 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001321/0.2161, allocations: 53.56 kB / 0.704 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.2161, allocations: 11.94 kB / 0.704 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.2161, allocations: 3.938 kB / 0.704 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.2161, allocations: 4.094 kB / 0.704 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.56e-05/0.2162, allocations: 4 kB / 0.704 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.2162, allocations: 4 kB / 0.704 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001542/0.2163, allocations: 8.234 kB / 0.704 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.2163, allocations: 4 kB / 0.704 GB, free: 11.89 MB / 0.5294 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.0001182/0.2165, allocations: 193.1 kB / 0.7042 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.38e-05/0.2165, allocations: 112.9 kB / 0.7043 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.299e-05/0.2166, allocations: 112.1 kB / 0.7044 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.648e-05/0.2167, allocations: 180.2 kB / 0.7046 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.969e-05/0.2167, allocations: 176.3 kB / 0.7047 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.457e-05/0.2168, allocations: 176.3 kB / 0.7049 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00026/0.2171, allocations: 413.1 kB / 0.7053 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.624e-05/0.2171, allocations: 101 kB / 0.7054 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.688e-05/0.2172, allocations: 112.9 kB / 0.7055 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.679e-05/0.2172, allocations: 184.2 kB / 0.7057 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.811e-05/0.2173, allocations: 180.3 kB / 0.7058 GB, free: 9.859 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.264e-05/0.2174, allocations: 184.2 kB / 0.706 GB, free: 9.672 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.56e-05/0.2175, allocations: 180.3 kB / 0.7062 GB, free: 9.488 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001613/0.2176, allocations: 315.7 kB / 0.7065 GB, free: 9.156 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.56e-05/0.2177, allocations: 178.1 kB / 0.7067 GB, free: 8.957 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.738e-05/0.2178, allocations: 180.2 kB / 0.7068 GB, free: 8.773 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.571e-05/0.2179, allocations: 101 kB / 0.7069 GB, free: 8.668 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.955e-05/0.218, allocations: 188.2 kB / 0.7071 GB, free: 8.477 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.467e-05/0.218, allocations: 105 kB / 0.7072 GB, free: 8.367 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.377e-05/0.2181, allocations: 83.28 kB / 0.7073 GB, free: 8.285 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.2181, allocations: 0 / 0.7073 GB, free: 8.285 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003393/0.2184, allocations: 55.8 kB / 0.7073 GB, free: 8.23 MB / 0.5294 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.001025/0.2195, allocations: 0.9715 MB / 0.7083 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 9.389e-05/0.2196, allocations: 11.98 kB / 0.7083 GB, free: 7.266 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.2196, allocations: 4 kB / 0.7083 GB, free: 7.262 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/0.2196, allocations: 0 / 0.7083 GB, free: 7.262 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003994/0.22, allocations: 462.6 kB / 0.7088 GB, free: 6.809 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.001438/0.2214, allocations: 1.352 MB / 0.7101 GB, free: 5.363 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003341/0.2217, allocations: 0.6767 MB / 0.7107 GB, free: 4.66 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.764e-05/0.2218, allocations: 7.984 kB / 0.7107 GB, free: 4.652 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.221e-05/0.2218, allocations: 11.44 kB / 0.7108 GB, free: 4.645 MB / 0.5294 GB Notification: Performance of SimCode: time 4.21e-07/0.2218, allocations: 0 / 0.7108 GB, free: 4.645 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7253/0.9471, allocations: 2.643 MB / 0.7133 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.93/8.877, allocations: 14.06 kB / 0.7133 GB, free: 2.172 MB / 0.5294 GB " [Timeout remaining time 643] (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 23.25676708899846] Failed to read output from testmodel.py, exit status != 0: 17.313208987005055 17.329012694 17.112498311 Calling exit ...