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.658/2.658, allocations: 287.3 MB / 302.3 MB, free: 8.395 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.001577/0.001577, allocations: 171.5 kB / 370.8 MB, free: 10.86 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.127/2.127, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00122/0.001219, allocations: 84.48 kB / 0.7428 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004892/0.0004894, allocations: 12.34 kB / 0.8657 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2146/0.2151, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9448/1.16, allocations: 140.4 MB / 1.115 GB, free: 15.57 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003217/1.16, allocations: 90.78 kB / 1.115 GB, free: 15.57 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02691/1.187, allocations: 6.14 MB / 1.121 GB, free: 30.99 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.316e-06/1.187, allocations: 3.906 kB / 1.121 GB, free: 30.99 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.085e-06/1.187, allocations: 0 / 1.121 GB, free: 30.99 MB / 0.698 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.0005591/1.188, allocations: 378.1 kB / 1.122 GB, free: 30.61 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/1.188, allocations: 7.656 kB / 1.122 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.794e-05/1.188, allocations: 105.8 kB / 1.122 GB, free: 30.49 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.506e-05/1.188, allocations: 82.5 kB / 1.122 GB, free: 30.42 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001991/1.188, allocations: 242.2 kB / 1.122 GB, free: 30.14 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.644e-05/1.189, allocations: 161.3 kB / 1.122 GB, free: 29.99 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.66e-05/1.189, allocations: 153.4 kB / 1.123 GB, free: 29.84 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.844e-05/1.189, allocations: 112.8 kB / 1.123 GB, free: 29.73 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.814e-05/1.189, allocations: 75.28 kB / 1.123 GB, free: 29.65 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.788e-05/1.189, allocations: 150.6 kB / 1.123 GB, free: 29.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.731e-05/1.189, allocations: 154.6 kB / 1.123 GB, free: 29.35 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.767e-05/1.189, allocations: 150.6 kB / 1.123 GB, free: 29.2 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004423/1.189, allocations: 465.8 kB / 1.124 GB, free: 28.71 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001121/1.19, allocations: 177 kB / 1.124 GB, free: 28.54 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.384e-05/1.19, allocations: 79.28 kB / 1.124 GB, free: 28.46 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.728e-05/1.19, allocations: 109.3 kB / 1.124 GB, free: 28.34 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 2.826e-06/1.19, allocations: 0 / 1.124 GB, free: 28.34 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 0.0001047/1.19, allocations: 29.67 kB / 1.124 GB, free: 28.31 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.718e-05/1.19, allocations: 126.7 kB / 1.124 GB, free: 28.18 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/1.19, allocations: 99.11 kB / 1.124 GB, free: 28.08 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.575e-05/1.19, allocations: 25.7 kB / 1.124 GB, free: 28.05 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.753e-05/1.19, allocations: 91.23 kB / 1.124 GB, free: 27.96 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.405e-06/1.19, allocations: 0 / 1.124 GB, free: 27.96 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-06/1.19, allocations: 0 / 1.124 GB, free: 27.96 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001391/1.19, allocations: 313.5 kB / 1.125 GB, free: 27.65 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.76e-05/1.19, allocations: 3.844 kB / 1.125 GB, free: 27.65 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.642e-05/1.19, allocations: 24.47 kB / 1.125 GB, free: 27.63 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.29e-05/1.19, allocations: 7.969 kB / 1.125 GB, free: 27.62 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.828e-06/1.19, allocations: 3.953 kB / 1.125 GB, free: 27.62 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001627/1.191, allocations: 51 kB / 1.125 GB, free: 27.59 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/1.191, allocations: 3.844 kB / 1.125 GB, free: 27.59 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/1.191, allocations: 0 / 1.125 GB, free: 27.59 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/1.191, allocations: 3.656 kB / 1.125 GB, free: 27.59 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.416e-05/1.191, allocations: 6.891 kB / 1.125 GB, free: 27.59 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/1.191, allocations: 0 / 1.125 GB, free: 27.59 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001566/1.191, allocations: 7.812 kB / 1.125 GB, free: 27.58 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.549e-05/1.191, allocations: 15.22 kB / 1.125 GB, free: 27.57 MB / 0.698 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 () * Number of clocked 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.0001243/1.191, allocations: 185.7 kB / 1.125 GB, free: 27.39 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.603e-05/1.191, allocations: 108.8 kB / 1.125 GB, free: 27.28 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.272e-05/1.191, allocations: 107.4 kB / 1.125 GB, free: 27.17 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-05/1.191, allocations: 183.4 kB / 1.125 GB, free: 26.99 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.254e-05/1.191, allocations: 180.3 kB / 1.125 GB, free: 26.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.467e-05/1.192, allocations: 191.9 kB / 1.126 GB, free: 26.61 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002634/1.192, allocations: 398.3 kB / 1.126 GB, free: 26.17 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-05/1.192, allocations: 104.8 kB / 1.126 GB, free: 26.07 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.987e-05/1.192, allocations: 114.6 kB / 1.126 GB, free: 25.95 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.922e-05/1.192, allocations: 176.3 kB / 1.126 GB, free: 25.77 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.72e-05/1.192, allocations: 184.2 kB / 1.127 GB, free: 25.59 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.658e-05/1.192, allocations: 180.1 kB / 1.127 GB, free: 25.41 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.306e-05/1.192, allocations: 183.1 kB / 1.127 GB, free: 25.22 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001656/1.192, allocations: 305 kB / 1.127 GB, free: 24.91 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/1.193, allocations: 192.6 kB / 1.127 GB, free: 24.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.677e-05/1.193, allocations: 184.1 kB / 1.128 GB, free: 24.52 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/1.193, allocations: 105.1 kB / 1.128 GB, free: 24.41 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.803e-05/1.193, allocations: 183 kB / 1.128 GB, free: 24.23 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.354e-05/1.193, allocations: 101 kB / 1.128 GB, free: 24.12 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.265e-05/1.193, allocations: 87.09 kB / 1.128 GB, free: 24.04 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.7e-07/1.193, allocations: 0 / 1.128 GB, free: 24.04 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008766/1.194, allocations: 79.81 kB / 1.128 GB, free: 24.02 MB / 0.698 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 () * Number of clocked 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.001521/1.195, allocations: 0.9773 MB / 1.129 GB, free: 23.17 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001353/1.196, allocations: 23.28 kB / 1.129 GB, free: 23.16 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/1.196, allocations: 192 / 1.129 GB, free: 23.16 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.386e-06/1.196, allocations: 4 kB / 1.129 GB, free: 23.16 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006843/1.196, allocations: 0.5251 MB / 1.13 GB, free: 22.63 MB / 0.698 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.001205/1.198, allocations: 0.7208 MB / 1.13 GB, free: 21.91 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003992/1.198, allocations: 0.676 MB / 1.131 GB, free: 21.21 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.634e-05/1.198, allocations: 0 / 1.131 GB, free: 21.21 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.771e-05/1.198, allocations: 11.31 kB / 1.131 GB, free: 21.21 MB / 0.698 GB Notification: Performance of SimCode: time 1.553e-06/1.198, allocations: 4 kB / 1.131 GB, free: 21.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.277/2.475, allocations: 2.393 MB / 1.133 GB, free: 20.94 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003893/2.476, allocations: 252 kB / 1.134 GB, free: 20.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.028/5.504, allocations: 0 / 1.134 GB, free: 20.6 MB / 0.698 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)