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.446/1.446, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001052/0.001052, allocations: 184.2 kB / 326.5 MB, free: 2.242 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.773/1.773, allocations: 205.4 MB / 0.5775 GB, free: 20.2 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.0009891/0.0009893, allocations: 93.44 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003436/0.0003436, allocations: 10.5 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2189/0.2193, allocations: 106.3 MB / 0.9002 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1865/0.4058, allocations: 134.3 MB / 1.031 GB, free: 9.414 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002745/0.4061, allocations: 95.94 kB / 1.031 GB, free: 9.32 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01761/0.4238, allocations: 6.14 MB / 1.037 GB, free: 3.172 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.665e-06/0.4238, allocations: 0 / 1.037 GB, free: 3.172 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.786e-06/0.4238, allocations: 0 / 1.037 GB, free: 3.172 MB / 0.6823 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.0006003/0.4245, allocations: 379.4 kB / 1.038 GB, free: 2.754 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.554e-05/0.4245, allocations: 12.03 kB / 1.038 GB, free: 2.742 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.754e-05/0.4246, allocations: 109.8 kB / 1.038 GB, free: 2.625 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.789e-05/0.4247, allocations: 75.28 kB / 1.038 GB, free: 2.551 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002414/0.4249, allocations: 254.2 kB / 1.038 GB, free: 2.262 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.12e-05/0.425, allocations: 154.6 kB / 1.038 GB, free: 2.109 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.04e-05/0.4251, allocations: 158.5 kB / 1.038 GB, free: 1.953 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.722e-05/0.4252, allocations: 104.9 kB / 1.039 GB, free: 1.844 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.803e-05/0.4252, allocations: 79.28 kB / 1.039 GB, free: 1.766 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.197e-05/0.4253, allocations: 150.6 kB / 1.039 GB, free: 1.617 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.417e-05/0.4254, allocations: 154.6 kB / 1.039 GB, free: 1.465 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.223e-05/0.4255, allocations: 154.5 kB / 1.039 GB, free: 1.312 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003803/0.4259, allocations: 453.9 kB / 1.039 GB, free: 0.8203 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/0.426, allocations: 173.1 kB / 1.04 GB, free: 0.6406 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.87e-05/0.426, allocations: 79.28 kB / 1.04 GB, free: 0.5625 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.139e-05/0.4261, allocations: 109.8 kB / 1.04 GB, free: 456 kB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.4261, allocations: 0 / 1.04 GB, free: 456 kB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 9.02e-05/0.4262, allocations: 33.69 kB / 1.04 GB, free: 416 kB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.469e-05/0.4263, allocations: 126.7 kB / 1.04 GB, free: 276 kB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.4264, allocations: 96.91 kB / 1.04 GB, free: 172 kB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.4264, allocations: 25.7 kB / 1.04 GB, free: 140 kB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.239e-05/0.4265, allocations: 96.11 kB / 1.04 GB, free: 40 kB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.619e-06/0.4265, allocations: 0 / 1.04 GB, free: 40 kB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.354e-06/0.4265, allocations: 3.938 kB / 1.04 GB, free: 36 kB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.4267, allocations: 314.8 kB / 1.041 GB, free: 15.72 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.246e-05/0.4267, allocations: 4 kB / 1.041 GB, free: 15.71 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.266e-05/0.4268, allocations: 22.56 kB / 1.041 GB, free: 15.68 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.724e-05/0.4268, allocations: 12 kB / 1.041 GB, free: 15.67 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/0.4268, allocations: 3.953 kB / 1.041 GB, free: 15.67 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001297/0.427, allocations: 41.64 kB / 1.041 GB, free: 15.62 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.427, allocations: 11.98 kB / 1.041 GB, free: 15.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.427, allocations: 256 / 1.041 GB, free: 15.61 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.427, allocations: 0 / 1.041 GB, free: 15.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.786e-05/0.4271, allocations: 8 kB / 1.041 GB, free: 15.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.4271, allocations: 4 kB / 1.041 GB, free: 15.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.626e-05/0.4272, allocations: 8.094 kB / 1.041 GB, free: 15.59 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.4272, allocations: 4 kB / 1.041 GB, free: 15.59 MB / 0.698 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 0.0001152/0.4273, allocations: 193 kB / 1.041 GB, free: 15.39 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.682e-05/0.4274, allocations: 104.9 kB / 1.041 GB, free: 15.28 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.469e-05/0.4275, allocations: 108.2 kB / 1.041 GB, free: 15.16 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.573e-05/0.4276, allocations: 188.2 kB / 1.041 GB, free: 14.97 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-05/0.4276, allocations: 180.3 kB / 1.041 GB, free: 14.79 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.192e-05/0.4277, allocations: 184.2 kB / 1.042 GB, free: 14.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002455/0.428, allocations: 401.2 kB / 1.042 GB, free: 14.15 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.563e-05/0.428, allocations: 105 kB / 1.042 GB, free: 14.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.238e-05/0.4281, allocations: 108.9 kB / 1.042 GB, free: 13.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.954e-05/0.4281, allocations: 180.2 kB / 1.042 GB, free: 13.75 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.409e-05/0.4282, allocations: 192.2 kB / 1.042 GB, free: 13.55 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.401e-05/0.4283, allocations: 180.2 kB / 1.043 GB, free: 13.37 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.772e-05/0.4284, allocations: 180.3 kB / 1.043 GB, free: 13.18 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001553/0.4285, allocations: 307.7 kB / 1.043 GB, free: 12.86 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.102e-05/0.4286, allocations: 190.8 kB / 1.043 GB, free: 12.65 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.972e-05/0.4287, allocations: 188.2 kB / 1.043 GB, free: 12.46 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.961e-05/0.4288, allocations: 101 kB / 1.044 GB, free: 12.35 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.436e-05/0.4289, allocations: 180.2 kB / 1.044 GB, free: 12.17 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.429e-05/0.429, allocations: 105 kB / 1.044 GB, free: 12.06 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.108e-05/0.429, allocations: 83.28 kB / 1.044 GB, free: 11.98 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4291, allocations: 4 kB / 1.044 GB, free: 11.97 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004853/0.4295, allocations: 59.98 kB / 1.044 GB, free: 11.91 MB / 0.698 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.0009252/0.4305, allocations: 0.995 MB / 1.045 GB, free: 10.94 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.815e-05/0.4306, allocations: 11.94 kB / 1.045 GB, free: 10.93 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.4306, allocations: 4.188 kB / 1.045 GB, free: 10.92 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.253e-06/0.4306, allocations: 0 / 1.045 GB, free: 10.92 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000341/0.4309, allocations: 0.5263 MB / 1.045 GB, free: 10.39 MB / 0.698 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.0007563/0.4317, allocations: 0.7173 MB / 1.046 GB, free: 9.613 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002642/0.432, allocations: 0.6809 MB / 1.047 GB, free: 8.906 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.552e-05/0.432, allocations: 7.938 kB / 1.047 GB, free: 8.898 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.313e-05/0.4321, allocations: 11.44 kB / 1.047 GB, free: 8.887 MB / 0.698 GB Notification: Performance of SimCode: time 5.21e-07/0.4321, allocations: 0 / 1.047 GB, free: 8.887 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2902/0.7222, allocations: 2.385 MB / 1.049 GB, free: 6.707 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003628/0.7227, allocations: 271 kB / 1.049 GB, free: 6.34 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.572/2.295, allocations: 0 / 1.049 GB, free: 6.34 MB / 0.698 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)