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.503/1.503, allocations: 249.5 MB / 257 MB, free: 6.914 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001225/0.001225, allocations: 184.8 kB / 316.3 MB, free: 3.223 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.636/1.636, allocations: 205.3 MB / 0.5671 GB, free: 15.88 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.0009145/0.0009146, allocations: 98.17 kB / 0.6714 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.804e-05/1.807e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.1728, allocations: 106.3 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.593/0.7659, allocations: 134.5 MB / 1.017 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002402/0.7662, allocations: 83.7 kB / 1.017 GB, free: 3.246 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01668/0.7829, allocations: 5.833 MB / 1.022 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7829, allocations: 3.938 kB / 1.022 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.783, allocations: 0 / 1.022 GB, free: 14.58 MB / 0.6511 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.0003737/0.7833, allocations: 366.1 kB / 1.023 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.7834, allocations: 8.031 kB / 1.023 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.704e-05/0.7835, allocations: 79.28 kB / 1.023 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001686/0.7836, allocations: 245.9 kB / 1.023 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.076e-05/0.7837, allocations: 150.6 kB / 1.023 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.409e-05/0.7838, allocations: 154.6 kB / 1.023 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.139e-05/0.7838, allocations: 154.5 kB / 1.024 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.963e-05/0.7839, allocations: 101 kB / 1.024 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.388e-05/0.7839, allocations: 79.28 kB / 1.024 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.928e-05/0.784, allocations: 154.5 kB / 1.024 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.561e-05/0.784, allocations: 150.6 kB / 1.024 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002451/0.7843, allocations: 433.5 kB / 1.024 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 8.079e-05/0.7844, allocations: 180.7 kB / 1.025 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.401e-05/0.7844, allocations: 84.14 kB / 1.025 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.65e-05/0.7844, allocations: 75.28 kB / 1.025 GB, free: 12.08 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.514e-05/0.7845, allocations: 105.8 kB / 1.025 GB, free: 11.97 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.7845, allocations: 0 / 1.025 GB, free: 11.97 MB / 0.6511 GB Notification: Performance of matching and sorting (n=0): time 6.805e-05/0.7846, allocations: 25.7 kB / 1.025 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.84e-05/0.7846, allocations: 59.41 kB / 1.025 GB, free: 11.87 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.499e-05/0.7847, allocations: 104.4 kB / 1.025 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.7847, allocations: 25.7 kB / 1.025 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.647e-05/0.7847, allocations: 87.73 kB / 1.025 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.293e-06/0.7847, allocations: 0 / 1.025 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-06/0.7848, allocations: 4 kB / 1.025 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.7849, allocations: 314.8 kB / 1.025 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.395e-06/0.7849, allocations: 0 / 1.025 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.448e-05/0.7849, allocations: 34.31 kB / 1.025 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001291/0.7851, allocations: 11.98 kB / 1.025 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.7851, allocations: 0 / 1.025 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001742/0.7853, allocations: 65.31 kB / 1.026 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.7853, allocations: 8 kB / 1.026 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.7853, allocations: 0 / 1.026 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.7853, allocations: 4.094 kB / 1.026 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.989e-05/0.7854, allocations: 11.92 kB / 1.026 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.356e-06/0.7854, allocations: 4 kB / 1.026 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.076e-05/0.7855, allocations: 0 / 1.026 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.7855, allocations: 4 kB / 1.026 GB, free: 11.18 MB / 0.6511 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 () * 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 9.436e-05/0.7856, allocations: 180.3 kB / 1.026 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.315e-05/0.7857, allocations: 138.6 kB / 1.026 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.717e-05/0.7857, allocations: 105 kB / 1.026 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.796e-05/0.7858, allocations: 112.7 kB / 1.026 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.331e-05/0.7858, allocations: 180 kB / 1.026 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-05/0.7859, allocations: 180.2 kB / 1.026 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.895e-05/0.786, allocations: 184.2 kB / 1.027 GB, free: 10.06 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001834/0.7862, allocations: 373.8 kB / 1.027 GB, free: 9.652 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.14e-05/0.7862, allocations: 109.2 kB / 1.027 GB, free: 9.539 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.813e-05/0.7863, allocations: 116.6 kB / 1.027 GB, free: 9.422 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.928e-05/0.7863, allocations: 180.4 kB / 1.027 GB, free: 9.238 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.427e-05/0.7864, allocations: 176.3 kB / 1.027 GB, free: 9.059 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.783e-05/0.7865, allocations: 180.2 kB / 1.028 GB, free: 8.875 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.446e-05/0.7865, allocations: 192.3 kB / 1.028 GB, free: 8.68 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001142/0.7866, allocations: 307.4 kB / 1.028 GB, free: 8.359 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.778e-05/0.7867, allocations: 182.1 kB / 1.028 GB, free: 8.156 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.356e-05/0.7868, allocations: 185.2 kB / 1.028 GB, free: 7.969 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.615e-05/0.7869, allocations: 108.9 kB / 1.029 GB, free: 7.855 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.168e-05/0.7869, allocations: 180.3 kB / 1.029 GB, free: 7.672 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.919e-05/0.787, allocations: 105 kB / 1.029 GB, free: 7.562 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.152e-05/0.787, allocations: 83.03 kB / 1.029 GB, free: 7.484 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/0.787, allocations: 0 / 1.029 GB, free: 7.484 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003363/0.7874, allocations: 67.47 kB / 1.029 GB, free: 7.422 MB / 0.6511 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 () * 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.00073/0.7881, allocations: 0.9866 MB / 1.03 GB, free: 6.449 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 6.139e-05/0.7882, allocations: 11.94 kB / 1.03 GB, free: 6.438 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.7882, allocations: 0 / 1.03 GB, free: 6.438 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.232e-06/0.7882, allocations: 0 / 1.03 GB, free: 6.438 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/0.7885, allocations: 0.5298 MB / 1.031 GB, free: 5.906 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003752/0.7888, allocations: 200.7 kB / 1.031 GB, free: 5.672 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002197/0.7891, allocations: 0.6768 MB / 1.031 GB, free: 4.969 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.184e-05/0.7891, allocations: 4 kB / 1.031 GB, free: 4.965 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.295e-05/0.7891, allocations: 11.12 kB / 1.031 GB, free: 4.957 MB / 0.6511 GB Notification: Performance of SimCode: time 2.7e-07/0.7891, allocations: 0 / 1.031 GB, free: 4.957 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3075/1.097, allocations: 2.082 MB / 1.033 GB, free: 2.918 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003183/1.097, allocations: 209.8 kB / 1.034 GB, free: 2.633 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.394/2.491, allocations: 0 / 1.034 GB, free: 2.633 MB / 0.6511 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)