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.553/2.553, allocations: 284.7 MB / 297.2 MB, free: 6.379 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.001603/0.001603, allocations: 180.9 kB / 365.6 MB, free: 2.637 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.155/2.155, allocations: 205.1 MB / 0.624 GB, free: 8.266 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.001144/0.001143, allocations: 97.52 kB / 0.7371 GB, free: 40.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.694e-05/3.713e-05, allocations: 4 kB / 0.8574 GB, free: 13.72 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7928/0.7929, allocations: 115.2 MB / 0.97 GB, free: 78.12 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2408/1.034, allocations: 140.3 MB / 1.107 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003428/1.034, allocations: 88.94 kB / 1.107 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03074/1.065, allocations: 5.952 MB / 1.113 GB, free: 6.195 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.014e-06/1.065, allocations: 0 / 1.113 GB, free: 6.195 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.337e-06/1.065, allocations: 8 kB / 1.113 GB, free: 6.188 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.0005216/1.066, allocations: 362.5 kB / 1.113 GB, free: 5.789 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.819e-05/1.066, allocations: 12.03 kB / 1.113 GB, free: 5.777 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.342e-05/1.066, allocations: 111.5 kB / 1.113 GB, free: 5.66 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.797e-05/1.066, allocations: 76.48 kB / 1.113 GB, free: 5.586 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002159/1.066, allocations: 250.1 kB / 1.114 GB, free: 5.305 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.306e-05/1.066, allocations: 154.1 kB / 1.114 GB, free: 5.156 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.18e-05/1.066, allocations: 154.6 kB / 1.114 GB, free: 5.004 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.101e-05/1.066, allocations: 105.6 kB / 1.114 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.346e-05/1.066, allocations: 75.28 kB / 1.114 GB, free: 4.82 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.761e-05/1.066, allocations: 151.5 kB / 1.114 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.729e-05/1.066, allocations: 154.5 kB / 1.114 GB, free: 4.52 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.255e-05/1.067, allocations: 163.6 kB / 1.115 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000385/1.067, allocations: 463.1 kB / 1.115 GB, free: 3.859 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001099/1.067, allocations: 171.6 kB / 1.115 GB, free: 3.684 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.228e-05/1.067, allocations: 81.27 kB / 1.115 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.75e-05/1.067, allocations: 75.28 kB / 1.115 GB, free: 3.527 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.978e-05/1.067, allocations: 110.7 kB / 1.115 GB, free: 3.41 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 2.484e-06/1.067, allocations: 1.781 kB / 1.115 GB, free: 3.41 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 0.000108/1.067, allocations: 33.61 kB / 1.115 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.322e-05/1.067, allocations: 126.7 kB / 1.116 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/1.068, allocations: 105.6 kB / 1.116 GB, free: 3.125 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.671e-05/1.068, allocations: 25.7 kB / 1.116 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.679e-05/1.068, allocations: 80.95 kB / 1.116 GB, free: 3.012 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.565e-06/1.068, allocations: 0 / 1.116 GB, free: 3.012 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.941e-06/1.068, allocations: 4.531 kB / 1.116 GB, free: 3.008 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001395/1.068, allocations: 315.4 kB / 1.116 GB, free: 2.691 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.601e-05/1.068, allocations: 5.688 kB / 1.116 GB, free: 2.691 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.805e-05/1.068, allocations: 30.56 kB / 1.116 GB, free: 2.652 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.235e-05/1.068, allocations: 11.89 kB / 1.116 GB, free: 2.641 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/1.068, allocations: 0 / 1.116 GB, free: 2.641 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001625/1.068, allocations: 46.75 kB / 1.116 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/1.068, allocations: 5.531 kB / 1.116 GB, free: 2.586 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/1.068, allocations: 4 kB / 1.116 GB, free: 2.582 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/1.068, allocations: 0 / 1.116 GB, free: 2.582 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.726e-05/1.068, allocations: 4 kB / 1.116 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/1.068, allocations: 96 / 1.116 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001617/1.069, allocations: 12 kB / 1.116 GB, free: 2.566 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.17e-05/1.069, allocations: 7.984 kB / 1.116 GB, free: 2.559 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.0001276/1.069, allocations: 180.2 kB / 1.116 GB, free: 2.375 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.637e-05/1.069, allocations: 112.8 kB / 1.116 GB, free: 2.258 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.747e-05/1.069, allocations: 104.1 kB / 1.117 GB, free: 2.148 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.874e-05/1.069, allocations: 180.3 kB / 1.117 GB, free: 1.965 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.243e-05/1.069, allocations: 184.2 kB / 1.117 GB, free: 1.777 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.609e-05/1.069, allocations: 184.2 kB / 1.117 GB, free: 1.59 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003353/1.07, allocations: 401.2 kB / 1.118 GB, free: 1.141 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-05/1.07, allocations: 116.9 kB / 1.118 GB, free: 1.02 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.731e-05/1.07, allocations: 101 kB / 1.118 GB, free: 0.9141 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.05e-05/1.07, allocations: 184.7 kB / 1.118 GB, free: 0.7266 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.781e-05/1.07, allocations: 176.3 kB / 1.118 GB, free: 0.5469 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.348e-05/1.07, allocations: 184.2 kB / 1.118 GB, free: 368 kB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.695e-05/1.07, allocations: 182.2 kB / 1.118 GB, free: 180 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000211/1.07, allocations: 311.8 kB / 1.119 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001097/1.07, allocations: 182 kB / 1.119 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.767e-05/1.071, allocations: 188.2 kB / 1.119 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/1.071, allocations: 108.2 kB / 1.119 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.809e-05/1.071, allocations: 180.2 kB / 1.119 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.79e-05/1.071, allocations: 101 kB / 1.119 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 7.641e-05/1.071, allocations: 83.28 kB / 1.12 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.41e-07/1.071, allocations: 0 / 1.12 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005403/1.071, allocations: 63.98 kB / 1.12 GB, free: 14.91 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.00134/1.073, allocations: 1.005 MB / 1.121 GB, free: 13.94 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001401/1.073, allocations: 16.06 kB / 1.121 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/1.073, allocations: 4.062 kB / 1.121 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.675e-06/1.073, allocations: 0 / 1.121 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000394/1.073, allocations: 0.5185 MB / 1.121 GB, free: 13.39 MB / 0.7292 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.0006721/1.074, allocations: 193.5 kB / 1.121 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/1.074, allocations: 0.6848 MB / 1.122 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.44e-05/1.075, allocations: 7.094 kB / 1.122 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.519e-05/1.075, allocations: 7.438 kB / 1.122 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of SimCode: time 2.103e-06/1.075, allocations: 0 / 1.122 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4715/1.546, allocations: 2.398 MB / 1.124 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003364/1.547, allocations: 215.8 kB / 1.124 GB, free: 10.08 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.417/3.964, allocations: 0 / 1.124 GB, free: 10.08 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)