Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.709/1.709, allocations: 289.9 MB / 297.4 MB, free: 6.375 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.001536/0.001536, allocations: 172.9 kB / 366.7 MB, free: 1.672 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.576/1.576, allocations: 205.2 MB / 0.626 GB, free: 7.141 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.0008532/0.0008531, allocations: 92.14 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.83e-05/1.854e-05, allocations: 4 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6343/0.6343, allocations: 116.3 MB / 0.9733 GB, free: 76.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1685/0.8029, allocations: 140.8 MB / 1.111 GB, free: 9.316 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002197/0.8031, allocations: 83.95 kB / 1.111 GB, free: 9.234 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01641/0.8195, allocations: 5.824 MB / 1.117 GB, free: 3.449 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.316e-06/0.8196, allocations: 4 kB / 1.117 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.8196, allocations: 1.25 kB / 1.117 GB, free: 3.445 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.000382/0.82, allocations: 371 kB / 1.117 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.82, allocations: 12.56 kB / 1.117 GB, free: 3.027 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.912e-05/0.8201, allocations: 75.78 kB / 1.117 GB, free: 2.953 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001975/0.8203, allocations: 248.1 kB / 1.117 GB, free: 2.672 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.218e-05/0.8204, allocations: 150.6 kB / 1.117 GB, free: 2.523 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.93e-05/0.8205, allocations: 151.2 kB / 1.118 GB, free: 2.375 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.298e-05/0.8205, allocations: 158.1 kB / 1.118 GB, free: 2.223 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.46e-05/0.8206, allocations: 101 kB / 1.118 GB, free: 2.117 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.7e-05/0.8206, allocations: 83.77 kB / 1.118 GB, free: 2.035 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.424e-05/0.8207, allocations: 156.4 kB / 1.118 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-05/0.8208, allocations: 154.6 kB / 1.118 GB, free: 1.73 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002704/0.8211, allocations: 427.4 kB / 1.119 GB, free: 1.277 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.259e-05/0.8212, allocations: 179.5 kB / 1.119 GB, free: 1.094 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.486e-05/0.8212, allocations: 80.14 kB / 1.119 GB, free: 1.012 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.754e-05/0.8212, allocations: 75.28 kB / 1.119 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.777e-05/0.8213, allocations: 112.9 kB / 1.119 GB, free: 0.8203 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 1.352e-06/0.8213, allocations: 0 / 1.119 GB, free: 0.8203 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 7.295e-05/0.8214, allocations: 33.55 kB / 1.119 GB, free: 0.7812 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.781e-05/0.8214, allocations: 54.09 kB / 1.119 GB, free: 0.7188 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.975e-05/0.8215, allocations: 104.9 kB / 1.119 GB, free: 0.6094 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.8215, allocations: 25.7 kB / 1.119 GB, free: 0.5781 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.879e-05/0.8216, allocations: 80.14 kB / 1.119 GB, free: 0.4961 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.513e-06/0.8216, allocations: 0 / 1.119 GB, free: 0.4961 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.224e-06/0.8216, allocations: 1.312 kB / 1.119 GB, free: 0.4961 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.8217, allocations: 318.8 kB / 1.12 GB, free: 180 kB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.127e-06/0.8217, allocations: 0 / 1.12 GB, free: 180 kB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.587e-05/0.8218, allocations: 28.98 kB / 1.12 GB, free: 144 kB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001342/0.8219, allocations: 19.98 kB / 1.12 GB, free: 124 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.8219, allocations: 3.094 kB / 1.12 GB, free: 124 kB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001946/0.8221, allocations: 61.2 kB / 1.12 GB, free: 60 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.8221, allocations: 11.95 kB / 1.12 GB, free: 48 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.8222, allocations: 0 / 1.12 GB, free: 48 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.8222, allocations: 3.984 kB / 1.12 GB, free: 44 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.107e-05/0.8222, allocations: 4 kB / 1.12 GB, free: 40 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/0.8222, allocations: 7.938 kB / 1.12 GB, free: 32 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.5e-05/0.8223, allocations: 0 / 1.12 GB, free: 32 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.678e-05/0.8224, allocations: 12.77 kB / 1.12 GB, free: 24 kB / 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.0001076/0.8225, allocations: 176.4 kB / 1.12 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.699e-05/0.8226, allocations: 142.6 kB / 1.12 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.33e-05/0.8226, allocations: 108.9 kB / 1.12 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.836e-05/0.8227, allocations: 108.7 kB / 1.12 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.005e-05/0.8227, allocations: 176.3 kB / 1.12 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.959e-05/0.8228, allocations: 184.2 kB / 1.121 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.027e-05/0.8229, allocations: 184.2 kB / 1.121 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002214/0.8231, allocations: 385.8 kB / 1.121 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.304e-05/0.8232, allocations: 104.9 kB / 1.121 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.313e-05/0.8232, allocations: 101 kB / 1.121 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.968e-05/0.8233, allocations: 184.2 kB / 1.122 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.225e-05/0.8234, allocations: 181.6 kB / 1.122 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.052e-05/0.8234, allocations: 180.3 kB / 1.122 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.553e-05/0.8235, allocations: 188.3 kB / 1.122 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001486/0.8237, allocations: 299.8 kB / 1.122 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.208e-05/0.8238, allocations: 182.1 kB / 1.123 GB, free: 13 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.763e-05/0.8238, allocations: 193.1 kB / 1.123 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.556e-05/0.8239, allocations: 101 kB / 1.123 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.859e-05/0.824, allocations: 180.3 kB / 1.123 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.534e-05/0.824, allocations: 104.9 kB / 1.123 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.12e-05/0.8241, allocations: 82.09 kB / 1.123 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8241, allocations: 4 kB / 1.123 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003979/0.8245, allocations: 67.92 kB / 1.123 GB, free: 12.26 MB / 0.7292 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.0009966/0.8255, allocations: 0.9859 MB / 1.124 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.994e-05/0.8256, allocations: 12 kB / 1.124 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.299e-05/0.8256, allocations: 4.188 kB / 1.124 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.313e-06/0.8256, allocations: 0 / 1.124 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003498/0.826, allocations: 0.5223 MB / 1.125 GB, free: 10.76 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004819/0.8265, allocations: 203 kB / 1.125 GB, free: 10.53 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000265/0.8268, allocations: 0.6768 MB / 1.126 GB, free: 9.828 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.606e-05/0.8268, allocations: 8 kB / 1.126 GB, free: 9.82 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.25e-05/0.8268, allocations: 11.44 kB / 1.126 GB, free: 9.809 MB / 0.7292 GB Notification: Performance of SimCode: time 3.6e-07/0.8268, allocations: 0 / 1.126 GB, free: 9.809 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3918/1.219, allocations: 2.069 MB / 1.128 GB, free: 7.801 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003206/1.219, allocations: 206.3 kB / 1.128 GB, free: 7.535 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.509/2.728, allocations: 0 / 1.128 GB, free: 7.535 MB / 0.7292 GB (rm -f Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)