Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.692/1.692, allocations: 288.2 MB / 303.2 MB, free: 8.141 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001138/0.001138, allocations: 194 kB / 371.8 MB, free: 10.25 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.701/1.701, allocations: 205.4 MB / 0.6305 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009332/0.0009332, allocations: 89.11 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004882/0.0004883, allocations: 16.42 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.237, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001361/0.2384, allocations: 0.9745 MB / 0.9804 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001969/0.2404, allocations: 1.415 MB / 0.9818 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.657e-05/0.2405, allocations: 0 / 0.9818 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.325e-05/0.2405, allocations: 0 / 0.9818 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001965/0.2407, allocations: 23.84 kB / 0.9818 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005797/0.2413, allocations: 183.3 kB / 0.982 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.513e-05/0.2414, allocations: 15.97 kB / 0.982 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.715e-05/0.2414, allocations: 0 / 0.982 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.303e-05/0.2415, allocations: 23.92 kB / 0.9821 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.948e-05/0.2416, allocations: 15.97 kB / 0.9821 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.191e-05/0.2416, allocations: 0 / 0.9821 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002496/0.2419, allocations: 131.8 kB / 0.9822 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.918e-06/0.2419, allocations: 0 / 0.9822 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.732e-05/0.2419, allocations: 29.7 kB / 0.9822 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001835/0.2421, allocations: 104.1 kB / 0.9823 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.2421, allocations: 0 / 0.9823 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.094e-06/0.2421, allocations: 0 / 0.9823 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.2422, allocations: 0 / 0.9823 GB, free: 24.66 MB / 0.6198 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.0003238/0.2425, allocations: 372.1 kB / 0.9827 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.2425, allocations: 12.03 kB / 0.9827 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.335e-05/0.2426, allocations: 105.8 kB / 0.9828 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.899e-05/0.2426, allocations: 75.28 kB / 0.9829 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.2428, allocations: 250.3 kB / 0.9831 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.538e-05/0.2428, allocations: 154.5 kB / 0.9832 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.051e-05/0.2429, allocations: 158.6 kB / 0.9834 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.559e-05/0.2429, allocations: 101 kB / 0.9835 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.2429, allocations: 75.28 kB / 0.9836 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.521e-05/0.243, allocations: 154.5 kB / 0.9837 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.394e-05/0.243, allocations: 154.6 kB / 0.9839 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.507e-05/0.243, allocations: 150.6 kB / 0.984 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002076/0.2432, allocations: 461.8 kB / 0.9844 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.399e-05/0.2433, allocations: 173.1 kB / 0.9846 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/0.2433, allocations: 75.28 kB / 0.9847 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.2434, allocations: 109.8 kB / 0.9848 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.223e-06/0.2434, allocations: 7.938 kB / 0.9848 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 7.765e-05/0.2435, allocations: 33.64 kB / 0.9848 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/0.2435, allocations: 130.6 kB / 0.9849 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.372e-05/0.2436, allocations: 105.8 kB / 0.9851 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.2436, allocations: 25.7 kB / 0.9851 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.001e-05/0.2436, allocations: 80.14 kB / 0.9852 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.033e-06/0.2437, allocations: 0 / 0.9852 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.144e-06/0.2437, allocations: 0 / 0.9852 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.645e-05/0.2437, allocations: 322.8 kB / 0.9855 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.211e-05/0.2438, allocations: 4 kB / 0.9855 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.557e-05/0.2438, allocations: 22.56 kB / 0.9855 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.127e-05/0.2438, allocations: 8 kB / 0.9855 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2438, allocations: 0 / 0.9855 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001165/0.244, allocations: 57.59 kB / 0.9855 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.244, allocations: 4 kB / 0.9856 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.244, allocations: 0 / 0.9856 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.244, allocations: 4 kB / 0.9856 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.544e-05/0.2441, allocations: 7.938 kB / 0.9856 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.2441, allocations: 0 / 0.9856 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001519/0.2443, allocations: 16.17 kB / 0.9856 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.2443, allocations: 8 kB / 0.9856 GB, free: 21.07 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.58e-05/0.2443, allocations: 189.1 kB / 0.9858 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.304e-05/0.2444, allocations: 109 kB / 0.9859 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.492e-05/0.2444, allocations: 112 kB / 0.986 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-05/0.2445, allocations: 180.3 kB / 0.9861 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.391e-05/0.2445, allocations: 176.3 kB / 0.9863 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.438e-05/0.2445, allocations: 184.2 kB / 0.9865 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001465/0.2447, allocations: 409.2 kB / 0.9869 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.756e-05/0.2447, allocations: 108.9 kB / 0.987 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.561e-05/0.2447, allocations: 101 kB / 0.9871 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.854e-05/0.2447, allocations: 180.2 kB / 0.9873 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.497e-05/0.2448, allocations: 180.2 kB / 0.9874 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.097e-05/0.2448, allocations: 184.3 kB / 0.9876 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.974e-05/0.2449, allocations: 184.2 kB / 0.9878 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.429e-05/0.245, allocations: 304 kB / 0.9881 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.5e-05/0.245, allocations: 194 kB / 0.9883 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.924e-05/0.245, allocations: 176.3 kB / 0.9884 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.998e-05/0.2451, allocations: 112.9 kB / 0.9885 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.504e-05/0.2452, allocations: 180.2 kB / 0.9887 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.563e-05/0.2452, allocations: 108.9 kB / 0.9888 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.116e-05/0.2452, allocations: 83.28 kB / 0.9889 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2452, allocations: 0 / 0.9889 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003363/0.2456, allocations: 55.98 kB / 0.9889 GB, free: 17.41 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006495/0.2462, allocations: 0.9918 MB / 0.9899 GB, free: 16.44 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.237e-05/0.2463, allocations: 11.88 kB / 0.9899 GB, free: 16.43 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2463, allocations: 0 / 0.9899 GB, free: 16.43 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.864e-06/0.2463, allocations: 0 / 0.9899 GB, free: 16.43 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002042/0.2466, allocations: 0.5265 MB / 0.9904 GB, free: 15.89 MB / 0.6198 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.000546/0.2471, allocations: 0.7095 MB / 0.9911 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001183/0.2472, allocations: 0.6848 MB / 0.9918 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.087e-05/0.2473, allocations: 0 / 0.9918 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.969e-05/0.2473, allocations: 11.44 kB / 0.9918 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.2473, allocations: 0 / 0.9918 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4198/0.6671, allocations: 2.458 MB / 0.9942 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001976/0.6674, allocations: 269 kB / 0.9945 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.637/2.305, allocations: 0 / 0.9945 GB, free: 11.79 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)