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.874/1.874, allocations: 289.7 MB / 302.2 MB, free: 2.086 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.001332/0.001332, allocations: 184.2 kB / 371.6 MB, free: 3.434 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.88/1.88, allocations: 205.1 MB / 0.6309 GB, free: 11.78 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.0008447/0.0008449, allocations: 92.45 kB / 0.745 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.474e-05/3.477e-05, allocations: 0 / 0.8663 GB, free: 15 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.237/0.2371, allocations: 116.3 MB / 0.9799 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7809/1.018, allocations: 141.5 MB / 1.118 GB, free: 42.86 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000249/1.018, allocations: 87.39 kB / 1.118 GB, free: 42.82 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01567/1.034, allocations: 5.954 MB / 1.124 GB, free: 39.65 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.623e-06/1.034, allocations: 0 / 1.124 GB, free: 39.65 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.656e-06/1.034, allocations: 0 / 1.124 GB, free: 39.65 MB / 0.7448 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.0004471/1.035, allocations: 369.9 kB / 1.124 GB, free: 39.27 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.463e-05/1.035, allocations: 8.031 kB / 1.124 GB, free: 39.26 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.68e-05/1.035, allocations: 114.1 kB / 1.124 GB, free: 39.14 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.839e-05/1.035, allocations: 77 kB / 1.124 GB, free: 39.07 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/1.035, allocations: 244.9 kB / 1.125 GB, free: 38.79 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.784e-05/1.035, allocations: 157.8 kB / 1.125 GB, free: 38.64 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.524e-05/1.035, allocations: 153.8 kB / 1.125 GB, free: 38.49 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.893e-05/1.035, allocations: 106.7 kB / 1.125 GB, free: 38.38 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/1.035, allocations: 78.8 kB / 1.125 GB, free: 38.3 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.656e-05/1.035, allocations: 154.5 kB / 1.125 GB, free: 38.15 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.211e-05/1.035, allocations: 151.7 kB / 1.125 GB, free: 38 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.886e-05/1.035, allocations: 154.6 kB / 1.126 GB, free: 37.85 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002324/1.035, allocations: 465.9 kB / 1.126 GB, free: 37.36 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.68e-05/1.035, allocations: 165.1 kB / 1.126 GB, free: 37.19 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.902e-05/1.036, allocations: 84.14 kB / 1.126 GB, free: 37.1 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/1.036, allocations: 75.28 kB / 1.126 GB, free: 37.03 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/1.036, allocations: 109.8 kB / 1.126 GB, free: 36.91 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 1.624e-06/1.036, allocations: 0 / 1.126 GB, free: 36.91 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 7.672e-05/1.036, allocations: 40.84 kB / 1.127 GB, free: 36.87 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.3e-05/1.036, allocations: 126.7 kB / 1.127 GB, free: 36.73 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.42e-05/1.036, allocations: 96.81 kB / 1.127 GB, free: 36.64 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.909e-06/1.036, allocations: 26.27 kB / 1.127 GB, free: 36.61 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.765e-05/1.036, allocations: 86.48 kB / 1.127 GB, free: 36.52 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.816e-06/1.036, allocations: 4 kB / 1.127 GB, free: 36.52 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.154e-06/1.036, allocations: 0 / 1.127 GB, free: 36.52 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 4.793e-05/1.036, allocations: 317.3 kB / 1.127 GB, free: 36.2 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.212e-05/1.036, allocations: 4 kB / 1.127 GB, free: 36.2 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.514e-05/1.036, allocations: 22.36 kB / 1.127 GB, free: 36.17 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.399e-05/1.036, allocations: 11.56 kB / 1.127 GB, free: 36.16 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/1.036, allocations: 0 / 1.127 GB, free: 36.16 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001194/1.036, allocations: 51.66 kB / 1.127 GB, free: 36.11 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/1.036, allocations: 7.469 kB / 1.127 GB, free: 36.11 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/1.036, allocations: 3.938 kB / 1.127 GB, free: 36.1 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/1.036, allocations: 4.875 kB / 1.127 GB, free: 36.1 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.515e-05/1.036, allocations: 4.562 kB / 1.127 GB, free: 36.09 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/1.036, allocations: 0 / 1.127 GB, free: 36.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.696e-05/1.036, allocations: 4 kB / 1.127 GB, free: 36.09 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/1.036, allocations: 10.52 kB / 1.127 GB, free: 36.09 MB / 0.7448 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 6.539e-05/1.036, allocations: 180.3 kB / 1.127 GB, free: 35.9 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.054e-05/1.037, allocations: 105.7 kB / 1.128 GB, free: 35.79 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.719e-05/1.037, allocations: 112.7 kB / 1.128 GB, free: 35.68 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.971e-05/1.037, allocations: 179.6 kB / 1.128 GB, free: 35.5 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.191e-05/1.037, allocations: 184.6 kB / 1.128 GB, free: 35.31 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.688e-05/1.037, allocations: 180.3 kB / 1.128 GB, free: 35.13 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001496/1.037, allocations: 407.7 kB / 1.129 GB, free: 34.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.701e-05/1.037, allocations: 104.9 kB / 1.129 GB, free: 34.57 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.613e-05/1.037, allocations: 105 kB / 1.129 GB, free: 34.46 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.649e-05/1.037, allocations: 184.7 kB / 1.129 GB, free: 34.27 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.965e-05/1.037, allocations: 187.3 kB / 1.129 GB, free: 34.09 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.482e-05/1.037, allocations: 176.3 kB / 1.129 GB, free: 33.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.943e-05/1.037, allocations: 188.2 kB / 1.129 GB, free: 33.72 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.914e-05/1.037, allocations: 306.2 kB / 1.13 GB, free: 33.4 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.557e-05/1.037, allocations: 182.1 kB / 1.13 GB, free: 33.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.096e-05/1.037, allocations: 186.1 kB / 1.13 GB, free: 33.01 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.534e-05/1.037, allocations: 109.2 kB / 1.13 GB, free: 32.9 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.655e-05/1.037, allocations: 183.9 kB / 1.13 GB, free: 32.72 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/1.037, allocations: 108.9 kB / 1.13 GB, free: 32.61 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.841e-05/1.037, allocations: 80.41 kB / 1.131 GB, free: 32.53 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/1.037, allocations: 0 / 1.131 GB, free: 32.53 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003682/1.038, allocations: 70.75 kB / 1.131 GB, free: 32.46 MB / 0.7448 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.0007869/1.039, allocations: 0.9907 MB / 1.132 GB, free: 31.53 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.812e-05/1.039, allocations: 15.25 kB / 1.132 GB, free: 31.52 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/1.039, allocations: 0 / 1.132 GB, free: 31.52 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.374e-06/1.039, allocations: 4.125 kB / 1.132 GB, free: 31.51 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002014/1.039, allocations: 0.5267 MB / 1.132 GB, free: 30.98 MB / 0.7448 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.000407/1.039, allocations: 188.7 kB / 1.132 GB, free: 30.77 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009043/1.04, allocations: 0.6763 MB / 1.133 GB, free: 46.07 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 3.19e-05/1.04, allocations: 10.34 kB / 1.133 GB, free: 46.06 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.181e-05/1.04, allocations: 10.81 kB / 1.133 GB, free: 46.06 MB / 0.7605 GB Notification: Performance of SimCode: time 2.31e-07/1.04, allocations: 0 / 1.133 GB, free: 46.06 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4256/1.466, allocations: 2.389 MB / 1.135 GB, free: 44.73 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000176/1.466, allocations: 226.7 kB / 1.136 GB, free: 44.5 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.769/3.235, allocations: 0 / 1.136 GB, free: 44.5 MB / 0.7605 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)