Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.422/2.422, allocations: 284.9 MB / 292.4 MB, free: 10.59 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.001549/0.001549, allocations: 180.9 kB / 360.6 MB, free: 7.281 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.15/2.15, allocations: 205.2 MB / 0.6191 GB, free: 12.19 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009998/0.0009992, allocations: 90.36 kB / 0.7321 GB, free: 44.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.533e-05/2.572e-05, allocations: 4 kB / 0.8509 GB, free: 3.328 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8923/0.8923, allocations: 115.2 MB / 0.9634 GB, free: 78.59 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2454/1.138, allocations: 139.6 MB / 1.1 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003221/1.138, allocations: 90.14 kB / 1.1 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02804/1.166, allocations: 5.83 MB / 1.106 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.583e-06/1.166, allocations: 0.5938 kB / 1.106 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.744e-06/1.166, allocations: 0.6875 kB / 1.106 GB, free: 11.04 MB / 0.7136 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.0004634/1.167, allocations: 367.2 kB / 1.106 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/1.167, allocations: 8.031 kB / 1.106 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.921e-05/1.167, allocations: 77.08 kB / 1.106 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002074/1.167, allocations: 250.9 kB / 1.106 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.984e-05/1.167, allocations: 155.4 kB / 1.106 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.27e-05/1.167, allocations: 155.3 kB / 1.107 GB, free: 9.961 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.777e-05/1.167, allocations: 151.4 kB / 1.107 GB, free: 9.812 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.573e-05/1.167, allocations: 101.6 kB / 1.107 GB, free: 9.707 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.366e-05/1.168, allocations: 76.84 kB / 1.107 GB, free: 9.633 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.255e-05/1.168, allocations: 151.2 kB / 1.107 GB, free: 9.484 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-05/1.168, allocations: 155.2 kB / 1.107 GB, free: 9.332 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003124/1.168, allocations: 435.8 kB / 1.108 GB, free: 8.871 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.744e-05/1.168, allocations: 174.6 kB / 1.108 GB, free: 8.691 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.743e-05/1.168, allocations: 92.62 kB / 1.108 GB, free: 8.598 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.253e-05/1.168, allocations: 76.59 kB / 1.108 GB, free: 8.523 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.5e-05/1.168, allocations: 109.8 kB / 1.108 GB, free: 8.406 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 2.044e-06/1.168, allocations: 0.5 kB / 1.108 GB, free: 8.406 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 8.399e-05/1.168, allocations: 34.02 kB / 1.108 GB, free: 8.371 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.332e-05/1.168, allocations: 55.41 kB / 1.108 GB, free: 8.305 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/1.169, allocations: 101.8 kB / 1.108 GB, free: 8.199 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/1.169, allocations: 25.7 kB / 1.108 GB, free: 8.168 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.977e-05/1.169, allocations: 80.83 kB / 1.108 GB, free: 8.086 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.254e-06/1.169, allocations: 0.6875 kB / 1.108 GB, free: 8.086 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-06/1.169, allocations: 4 kB / 1.108 GB, free: 8.082 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001291/1.169, allocations: 315.7 kB / 1.109 GB, free: 7.766 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.601e-05/1.169, allocations: 4 kB / 1.109 GB, free: 7.762 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.962e-05/1.169, allocations: 24.11 kB / 1.109 GB, free: 7.73 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000201/1.169, allocations: 16.75 kB / 1.109 GB, free: 7.715 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/1.169, allocations: 3.312 kB / 1.109 GB, free: 7.715 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000257/1.169, allocations: 65.56 kB / 1.109 GB, free: 7.645 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/1.169, allocations: 8 kB / 1.109 GB, free: 7.637 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/1.169, allocations: 2.188 kB / 1.109 GB, free: 7.637 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/1.169, allocations: 0 / 1.109 GB, free: 7.637 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.596e-05/1.17, allocations: 4 kB / 1.109 GB, free: 7.633 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.91e-06/1.17, allocations: 4 kB / 1.109 GB, free: 7.629 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001519/1.17, allocations: 6.484 kB / 1.109 GB, free: 7.625 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.704e-05/1.17, allocations: 4 kB / 1.109 GB, free: 7.621 MB / 0.7136 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 0.0001147/1.17, allocations: 185.9 kB / 1.109 GB, free: 7.434 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001037/1.17, allocations: 144 kB / 1.109 GB, free: 7.281 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.899e-05/1.17, allocations: 109.1 kB / 1.109 GB, free: 7.168 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.877e-05/1.17, allocations: 112.7 kB / 1.109 GB, free: 7.051 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.972e-05/1.17, allocations: 176.3 kB / 1.109 GB, free: 6.871 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.192e-05/1.17, allocations: 176.3 kB / 1.11 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.255e-05/1.17, allocations: 184.2 kB / 1.11 GB, free: 6.504 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002493/1.171, allocations: 385.8 kB / 1.11 GB, free: 6.082 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.594e-05/1.171, allocations: 104.9 kB / 1.11 GB, free: 5.973 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.924e-05/1.171, allocations: 112.9 kB / 1.11 GB, free: 5.855 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.717e-05/1.171, allocations: 176.3 kB / 1.11 GB, free: 5.676 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.958e-05/1.171, allocations: 180.2 kB / 1.111 GB, free: 5.492 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.197e-05/1.171, allocations: 184.1 kB / 1.111 GB, free: 5.309 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.842e-05/1.171, allocations: 188.3 kB / 1.111 GB, free: 5.117 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001545/1.171, allocations: 303.8 kB / 1.111 GB, free: 4.797 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.141e-05/1.171, allocations: 182.1 kB / 1.111 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.386e-05/1.171, allocations: 182.5 kB / 1.112 GB, free: 4.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/1.172, allocations: 104.9 kB / 1.112 GB, free: 4.301 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.792e-05/1.172, allocations: 184.2 kB / 1.112 GB, free: 4.113 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.45e-05/1.172, allocations: 105 kB / 1.112 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.301e-05/1.172, allocations: 83.28 kB / 1.112 GB, free: 3.922 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.384e-06/1.172, allocations: 0 / 1.112 GB, free: 3.922 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005403/1.172, allocations: 67.91 kB / 1.112 GB, free: 3.855 MB / 0.7136 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.00115/1.174, allocations: 0.9879 MB / 1.113 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001014/1.174, allocations: 15.92 kB / 1.113 GB, free: 2.883 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/1.174, allocations: 0 / 1.113 GB, free: 2.883 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.244e-06/1.174, allocations: 0 / 1.113 GB, free: 2.883 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003522/1.174, allocations: 0.5265 MB / 1.114 GB, free: 2.352 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005429/1.175, allocations: 197.8 kB / 1.114 GB, free: 2.125 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002856/1.175, allocations: 0.6768 MB / 1.115 GB, free: 1.422 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.469e-05/1.175, allocations: 0 / 1.115 GB, free: 1.422 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.296e-05/1.175, allocations: 19.42 kB / 1.115 GB, free: 1.402 MB / 0.7136 GB Notification: Performance of SimCode: time 1.032e-06/1.175, allocations: 4 kB / 1.115 GB, free: 1.398 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4861/1.661, allocations: 2.065 MB / 1.117 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003875/1.662, allocations: 203.8 kB / 1.117 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.381/4.043, allocations: 0 / 1.117 GB, free: 15.11 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)