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.606/1.606, allocations: 249.3 MB / 261.8 MB, free: 5.82 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.001319/0.001319, allocations: 186.5 kB / 321.3 MB, free: 14.63 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.05/2.05, allocations: 205.2 MB / 0.572 GB, free: 10.68 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.001016/0.001016, allocations: 95.28 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.803e-05/4.806e-05, allocations: 4 kB / 0.788 GB, free: 96.99 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2804/0.2804, allocations: 106.3 MB / 0.8919 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.02/1.3, allocations: 134.2 MB / 1.023 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00028/1.301, allocations: 95.36 kB / 1.023 GB, free: 0.5117 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01772/1.319, allocations: 5.95 MB / 1.029 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.773e-06/1.319, allocations: 0 / 1.029 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.118e-06/1.319, allocations: 0 / 1.029 GB, free: 11.75 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.0006066/1.319, allocations: 369.5 kB / 1.029 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.427e-05/1.319, allocations: 11.97 kB / 1.029 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.347e-05/1.319, allocations: 109.8 kB / 1.029 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.221e-05/1.319, allocations: 79.28 kB / 1.029 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002041/1.32, allocations: 250.2 kB / 1.03 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.708e-05/1.32, allocations: 154.6 kB / 1.03 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.316e-05/1.32, allocations: 150.6 kB / 1.03 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.118e-05/1.32, allocations: 101 kB / 1.03 GB, free: 10.45 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.682e-05/1.32, allocations: 79.28 kB / 1.03 GB, free: 10.37 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.971e-05/1.32, allocations: 154.6 kB / 1.03 GB, free: 10.22 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.748e-05/1.32, allocations: 150.6 kB / 1.03 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.632e-05/1.32, allocations: 158.5 kB / 1.031 GB, free: 9.914 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000357/1.321, allocations: 456.8 kB / 1.031 GB, free: 9.426 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 9.639e-05/1.321, allocations: 173.1 kB / 1.031 GB, free: 9.246 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.31e-05/1.321, allocations: 80.14 kB / 1.031 GB, free: 9.164 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.033e-05/1.321, allocations: 75.28 kB / 1.031 GB, free: 9.09 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.183e-05/1.321, allocations: 117.2 kB / 1.031 GB, free: 8.969 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/1.321, allocations: 0 / 1.031 GB, free: 8.969 MB / 0.6511 GB Notification: Performance of matching and sorting (n=0): time 8.679e-05/1.321, allocations: 33.69 kB / 1.031 GB, free: 8.93 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.154e-05/1.321, allocations: 130.6 kB / 1.032 GB, free: 8.789 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/1.321, allocations: 100.5 kB / 1.032 GB, free: 8.688 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/1.321, allocations: 25.7 kB / 1.032 GB, free: 8.656 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.09e-05/1.321, allocations: 99.89 kB / 1.032 GB, free: 8.559 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.076e-06/1.321, allocations: 0 / 1.032 GB, free: 8.559 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.514e-06/1.321, allocations: 0 / 1.032 GB, free: 8.559 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001649/1.321, allocations: 310.8 kB / 1.032 GB, free: 8.246 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.473e-05/1.321, allocations: 8 kB / 1.032 GB, free: 8.238 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.669e-05/1.322, allocations: 22.27 kB / 1.032 GB, free: 8.211 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.743e-05/1.322, allocations: 15.88 kB / 1.032 GB, free: 8.195 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/1.322, allocations: 0 / 1.032 GB, free: 8.195 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001363/1.322, allocations: 48.89 kB / 1.032 GB, free: 8.145 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/1.322, allocations: 8.094 kB / 1.032 GB, free: 8.137 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/1.322, allocations: 0 / 1.032 GB, free: 8.137 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/1.322, allocations: 3.984 kB / 1.032 GB, free: 8.133 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.744e-05/1.322, allocations: 8 kB / 1.032 GB, free: 8.125 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.156e-06/1.322, allocations: 0 / 1.032 GB, free: 8.125 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.76e-05/1.322, allocations: 7.938 kB / 1.032 GB, free: 8.117 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/1.322, allocations: 0 / 1.032 GB, free: 8.117 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 0.0001061/1.322, allocations: 184.2 kB / 1.032 GB, free: 7.93 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.753e-05/1.322, allocations: 116.4 kB / 1.032 GB, free: 7.812 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.388e-05/1.322, allocations: 104.1 kB / 1.033 GB, free: 7.703 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.979e-05/1.322, allocations: 180.3 kB / 1.033 GB, free: 7.52 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.099e-05/1.322, allocations: 180.2 kB / 1.033 GB, free: 7.336 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.769e-05/1.322, allocations: 176.3 kB / 1.033 GB, free: 7.156 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002476/1.323, allocations: 408.5 kB / 1.033 GB, free: 6.703 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-05/1.323, allocations: 108.9 kB / 1.034 GB, free: 6.59 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.213e-05/1.323, allocations: 105 kB / 1.034 GB, free: 6.48 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.793e-05/1.323, allocations: 188 kB / 1.034 GB, free: 6.293 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.918e-05/1.323, allocations: 176.3 kB / 1.034 GB, free: 6.113 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.415e-05/1.323, allocations: 180.5 kB / 1.034 GB, free: 5.93 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.824e-05/1.323, allocations: 184.3 kB / 1.034 GB, free: 5.742 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001602/1.323, allocations: 311.1 kB / 1.035 GB, free: 5.418 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.317e-05/1.323, allocations: 190 kB / 1.035 GB, free: 5.207 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.006e-05/1.323, allocations: 180.2 kB / 1.035 GB, free: 5.023 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.46e-05/1.324, allocations: 113.2 kB / 1.035 GB, free: 4.91 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.72e-05/1.324, allocations: 184.2 kB / 1.035 GB, free: 4.723 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.81e-05/1.324, allocations: 105 kB / 1.035 GB, free: 4.613 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.552e-05/1.324, allocations: 82.66 kB / 1.035 GB, free: 4.535 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/1.324, allocations: 0 / 1.035 GB, free: 4.535 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004698/1.324, allocations: 59.61 kB / 1.036 GB, free: 4.48 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.0009574/1.325, allocations: 0.9964 MB / 1.036 GB, free: 3.496 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 8.251e-05/1.325, allocations: 15.75 kB / 1.037 GB, free: 3.484 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/1.325, allocations: 0 / 1.037 GB, free: 3.484 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.013e-06/1.325, allocations: 4 kB / 1.037 GB, free: 3.48 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003198/1.326, allocations: 0.5187 MB / 1.037 GB, free: 2.957 MB / 0.6511 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.0004742/1.326, allocations: 197.5 kB / 1.037 GB, free: 2.73 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002919/1.326, allocations: 0.677 MB / 1.038 GB, free: 2.027 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.81e-05/1.326, allocations: 3.984 kB / 1.038 GB, free: 2.023 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.109e-05/1.327, allocations: 14.11 kB / 1.038 GB, free: 2.012 MB / 0.6511 GB Notification: Performance of SimCode: time 7.01e-07/1.327, allocations: 0 / 1.038 GB, free: 2.012 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2623/1.589, allocations: 2.397 MB / 1.04 GB, free: 15.78 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002811/1.589, allocations: 230.5 kB / 1.04 GB, free: 15.51 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.644/3.233, allocations: 0 / 1.04 GB, free: 15.51 MB / 0.6667 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)