Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.469/1.469, allocations: 251.9 MB / 266.9 MB, free: 11.08 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001289/0.001289, allocations: 175.2 kB / 326.5 MB, free: 2.293 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.852/1.852, allocations: 205.4 MB / 0.5775 GB, free: 20.34 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008435/0.0008436, allocations: 87.91 kB / 0.6821 GB, free: 12.94 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003246/0.0003248, allocations: 10.19 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2271, allocations: 106.3 MB / 0.9001 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001239/0.2284, allocations: 0.9851 MB / 0.9011 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001755/0.2302, allocations: 1.416 MB / 0.9025 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.006e-05/0.2302, allocations: 0 / 0.9025 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.46e-05/0.2303, allocations: 0 / 0.9025 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002028/0.2305, allocations: 15.97 kB / 0.9025 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005319/0.231, allocations: 196.6 kB / 0.9027 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.466e-05/0.2311, allocations: 11.98 kB / 0.9027 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.63e-05/0.2311, allocations: 0 / 0.9027 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.93e-05/0.2312, allocations: 27.91 kB / 0.9027 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001167/0.2313, allocations: 5.547 kB / 0.9027 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.2314, allocations: 4 kB / 0.9027 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002154/0.2316, allocations: 135.7 kB / 0.9029 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.116e-05/0.2316, allocations: 7.984 kB / 0.9029 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.784e-05/0.2316, allocations: 29.7 kB / 0.9029 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002047/0.2318, allocations: 107.8 kB / 0.903 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.2319, allocations: 0 / 0.903 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.995e-06/0.2319, allocations: 0 / 0.903 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.2319, allocations: 0 / 0.903 GB, free: 60.97 MB / 0.6042 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.0003833/0.2323, allocations: 367.3 kB / 0.9034 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.2323, allocations: 8.031 kB / 0.9034 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.303e-05/0.2324, allocations: 105.8 kB / 0.9035 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.038e-05/0.2324, allocations: 87.23 kB / 0.9036 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.2326, allocations: 238.6 kB / 0.9038 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.694e-05/0.2326, allocations: 154.6 kB / 0.9039 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.522e-05/0.2327, allocations: 162.5 kB / 0.9041 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.549e-05/0.2327, allocations: 101 kB / 0.9042 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.2327, allocations: 79.28 kB / 0.9043 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.082e-05/0.2328, allocations: 154.5 kB / 0.9044 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.729e-05/0.2328, allocations: 150.6 kB / 0.9045 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.499e-05/0.2328, allocations: 150.6 kB / 0.9047 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002115/0.2331, allocations: 457.9 kB / 0.9051 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.962e-05/0.2331, allocations: 173.1 kB / 0.9053 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.2331, allocations: 75.28 kB / 0.9054 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.2332, allocations: 109.8 kB / 0.9055 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.2332, allocations: 4 kB / 0.9055 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 6.595e-05/0.2333, allocations: 29.61 kB / 0.9055 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.248e-05/0.2333, allocations: 130.6 kB / 0.9056 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.177e-05/0.2334, allocations: 105.8 kB / 0.9057 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.2334, allocations: 25.7 kB / 0.9058 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.097e-05/0.2334, allocations: 88.14 kB / 0.9058 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-06/0.2334, allocations: 0 / 0.9058 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.864e-06/0.2334, allocations: 0 / 0.9058 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.731e-05/0.2335, allocations: 322.8 kB / 0.9061 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.12e-05/0.2335, allocations: 4 kB / 0.9061 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.689e-05/0.2336, allocations: 22.58 kB / 0.9062 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.247e-05/0.2336, allocations: 4 kB / 0.9062 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.2336, allocations: 0 / 0.9062 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001257/0.2337, allocations: 57.59 kB / 0.9062 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.2338, allocations: 8 kB / 0.9062 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.2338, allocations: 0 / 0.9062 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.2338, allocations: 0 / 0.9062 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.383e-05/0.2339, allocations: 7.984 kB / 0.9062 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.2339, allocations: 4 kB / 0.9062 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001438/0.234, allocations: 11.88 kB / 0.9063 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.234, allocations: 0 / 0.9063 GB, free: 57.4 MB / 0.6042 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 7.286e-05/0.2341, allocations: 201.1 kB / 0.9064 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.33e-05/0.2342, allocations: 101 kB / 0.9065 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.04e-05/0.2342, allocations: 108.1 kB / 0.9066 GB, free: 56.97 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.498e-05/0.2342, allocations: 180.2 kB / 0.9068 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.774e-05/0.2343, allocations: 180.3 kB / 0.907 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.473e-05/0.2343, allocations: 188.2 kB / 0.9072 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001362/0.2344, allocations: 405.2 kB / 0.9076 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.678e-05/0.2345, allocations: 108.9 kB / 0.9077 GB, free: 55.85 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.568e-05/0.2345, allocations: 101 kB / 0.9078 GB, free: 55.74 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-05/0.2345, allocations: 184.3 kB / 0.9079 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.056e-05/0.2346, allocations: 180.5 kB / 0.9081 GB, free: 55.37 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-05/0.2346, allocations: 176.3 kB / 0.9083 GB, free: 55.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.022e-05/0.2346, allocations: 188.2 kB / 0.9085 GB, free: 55 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.104e-05/0.2347, allocations: 311.9 kB / 0.9088 GB, free: 54.67 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.008e-05/0.2348, allocations: 190.2 kB / 0.9089 GB, free: 54.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.014e-05/0.2348, allocations: 180.2 kB / 0.9091 GB, free: 54.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.274e-05/0.2349, allocations: 112.9 kB / 0.9092 GB, free: 54.16 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.431e-05/0.2349, allocations: 180.3 kB / 0.9094 GB, free: 53.98 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.909e-05/0.2349, allocations: 105 kB / 0.9095 GB, free: 53.87 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.5e-05/0.235, allocations: 83.27 kB / 0.9096 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.235, allocations: 0 / 0.9096 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002924/0.2353, allocations: 48 kB / 0.9096 GB, free: 53.74 MB / 0.6042 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.0006781/0.2359, allocations: 0.9984 MB / 0.9106 GB, free: 52.75 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.235e-05/0.236, allocations: 15.94 kB / 0.9106 GB, free: 52.73 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.236, allocations: 0 / 0.9106 GB, free: 52.73 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.302e-06/0.236, allocations: 0 / 0.9106 GB, free: 52.73 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001962/0.2362, allocations: 0.5246 MB / 0.9111 GB, free: 52.21 MB / 0.6042 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.0006219/0.2369, allocations: 0.7056 MB / 0.9118 GB, free: 51.45 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001541/0.237, allocations: 0.677 MB / 0.9125 GB, free: 50.75 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.698e-05/0.2371, allocations: 7.938 kB / 0.9125 GB, free: 50.74 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.408e-05/0.2371, allocations: 16.84 kB / 0.9125 GB, free: 50.72 MB / 0.6042 GB Notification: Performance of SimCode: time 7.11e-07/0.2371, allocations: 0 / 0.9125 GB, free: 50.72 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2691/0.5062, allocations: 2.442 MB / 0.9149 GB, free: 48.49 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001895/0.5064, allocations: 273.4 kB / 0.9151 GB, free: 48.12 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.582/2.088, allocations: 3.609 kB / 0.9151 GB, free: 48.12 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)