Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.112/1.112, allocations: 141.8 MB / 149.3 MB, free: 9.223 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 175.6 kB / 182.2 MB, free: 9.473 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 221.5 MB / 436.4 MB, free: 13.3 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008702/0.00087, allocations: 95.98 kB / 0.5074 GB, free: 10.13 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001692/0.001692, allocations: 288.3 kB / 0.5889 GB, free: 54.69 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.989e-05/1.99e-05, allocations: 4 kB / 0.6766 GB, free: 12.76 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4221/0.4222, allocations: 82.78 MB / 0.7575 GB, free: 32.03 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1445/0.5667, allocations: 110.3 MB / 0.8652 GB, free: 1.555 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002982/0.5671, allocations: 87.94 kB / 0.8653 GB, free: 1.469 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01759/0.5847, allocations: 5.663 MB / 0.8708 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.236e-06/0.5848, allocations: 0 / 0.8708 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.844e-06/0.5848, allocations: 3.938 kB / 0.8708 GB, free: 11.8 MB / 0.5417 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.0004208/0.5852, allocations: 362.5 kB / 0.8712 GB, free: 11.4 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/0.5853, allocations: 11.97 kB / 0.8712 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.661e-05/0.5854, allocations: 87.22 kB / 0.8713 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001846/0.5856, allocations: 238.4 kB / 0.8715 GB, free: 11.03 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.697e-05/0.5856, allocations: 154.5 kB / 0.8716 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.353e-05/0.5857, allocations: 158.6 kB / 0.8718 GB, free: 10.72 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.286e-05/0.5858, allocations: 150.6 kB / 0.8719 GB, free: 10.57 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.99e-05/0.5858, allocations: 101 kB / 0.872 GB, free: 10.47 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.39e-05/0.5858, allocations: 79.28 kB / 0.8721 GB, free: 10.39 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.541e-05/0.5859, allocations: 154.5 kB / 0.8723 GB, free: 10.24 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.835e-05/0.586, allocations: 150.6 kB / 0.8724 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002694/0.5862, allocations: 438.4 kB / 0.8728 GB, free: 9.625 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 8.339e-05/0.5863, allocations: 181.1 kB / 0.873 GB, free: 9.438 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.048e-05/0.5864, allocations: 84.14 kB / 0.8731 GB, free: 9.352 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 3.057e-05/0.5864, allocations: 75.28 kB / 0.8731 GB, free: 9.277 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.102e-05/0.5865, allocations: 109.8 kB / 0.8733 GB, free: 9.16 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.5865, allocations: 0 / 0.8733 GB, free: 9.16 MB / 0.5417 GB Notification: Performance of matching and sorting (n=0): time 7.786e-05/0.5866, allocations: 33.55 kB / 0.8733 GB, free: 9.121 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.142e-05/0.5866, allocations: 59.41 kB / 0.8733 GB, free: 9.051 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.537e-05/0.5867, allocations: 96.98 kB / 0.8734 GB, free: 8.949 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.5867, allocations: 25.7 kB / 0.8735 GB, free: 8.918 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.02e-05/0.5868, allocations: 80.14 kB / 0.8735 GB, free: 8.836 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.844e-06/0.5868, allocations: 0 / 0.8735 GB, free: 8.836 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.294e-06/0.5868, allocations: 4 kB / 0.8735 GB, free: 8.832 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.5869, allocations: 314.8 kB / 0.8738 GB, free: 8.516 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.347e-06/0.5869, allocations: 0 / 0.8738 GB, free: 8.516 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.726e-05/0.587, allocations: 30.56 kB / 0.8739 GB, free: 8.477 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001397/0.5871, allocations: 15.98 kB / 0.8739 GB, free: 8.461 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.5871, allocations: 0 / 0.8739 GB, free: 8.461 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000188/0.5873, allocations: 57.61 kB / 0.8739 GB, free: 8.398 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.5873, allocations: 8 kB / 0.8739 GB, free: 8.391 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.5873, allocations: 0 / 0.8739 GB, free: 8.391 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.5874, allocations: 12.03 kB / 0.874 GB, free: 8.379 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.873e-05/0.5874, allocations: 4 kB / 0.874 GB, free: 8.375 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.5874, allocations: 4 kB / 0.874 GB, free: 8.371 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001158/0.5876, allocations: 0 / 0.874 GB, free: 8.371 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/0.5876, allocations: 4 kB / 0.874 GB, free: 8.367 MB / 0.5417 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.0001014/0.5877, allocations: 188.2 kB / 0.8741 GB, free: 8.176 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.933e-05/0.5878, allocations: 130.7 kB / 0.8743 GB, free: 8.035 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.158e-05/0.5878, allocations: 116.8 kB / 0.8744 GB, free: 7.914 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.842e-05/0.5879, allocations: 108.8 kB / 0.8745 GB, free: 7.801 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.69e-05/0.588, allocations: 180.3 kB / 0.8747 GB, free: 7.617 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.699e-05/0.588, allocations: 184.2 kB / 0.8748 GB, free: 7.43 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.636e-05/0.5881, allocations: 184.2 kB / 0.875 GB, free: 7.242 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002099/0.5883, allocations: 377.8 kB / 0.8754 GB, free: 6.828 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.041e-05/0.5884, allocations: 112.9 kB / 0.8755 GB, free: 6.711 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.469e-05/0.5884, allocations: 105 kB / 0.8756 GB, free: 6.602 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-05/0.5885, allocations: 180.2 kB / 0.8758 GB, free: 6.418 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.284e-05/0.5885, allocations: 180.2 kB / 0.8759 GB, free: 6.234 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.704e-05/0.5886, allocations: 180.2 kB / 0.8761 GB, free: 6.051 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.919e-05/0.5887, allocations: 184.5 kB / 0.8763 GB, free: 5.863 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001358/0.5888, allocations: 305 kB / 0.8766 GB, free: 5.543 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 7.119e-05/0.5889, allocations: 182.1 kB / 0.8767 GB, free: 5.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.265e-05/0.589, allocations: 188.2 kB / 0.8769 GB, free: 5.148 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.069e-05/0.5891, allocations: 101 kB / 0.877 GB, free: 5.043 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.022e-05/0.5891, allocations: 184.2 kB / 0.8772 GB, free: 4.855 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.856e-05/0.5892, allocations: 116.9 kB / 0.8773 GB, free: 4.734 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.11e-05/0.5892, allocations: 79.28 kB / 0.8774 GB, free: 4.656 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5892, allocations: 0 / 0.8774 GB, free: 4.656 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003415/0.5896, allocations: 63.97 kB / 0.8774 GB, free: 4.594 MB / 0.5417 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.0008062/0.5904, allocations: 0.982 MB / 0.8784 GB, free: 3.617 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 6.805e-05/0.5905, allocations: 11.94 kB / 0.8784 GB, free: 3.605 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.5905, allocations: 0 / 0.8784 GB, free: 3.605 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.383e-06/0.5905, allocations: 0 / 0.8784 GB, free: 3.605 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002683/0.5907, allocations: 0.5308 MB / 0.8789 GB, free: 3.074 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003562/0.5911, allocations: 196.8 kB / 0.8791 GB, free: 2.844 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002148/0.5913, allocations: 0.6729 MB / 0.8798 GB, free: 2.145 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.1e-05/0.5914, allocations: 7.922 kB / 0.8798 GB, free: 2.137 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.7e-05/0.5914, allocations: 15.44 kB / 0.8798 GB, free: 2.121 MB / 0.5417 GB Notification: Performance of SimCode: time 2.71e-07/0.5914, allocations: 0 / 0.8798 GB, free: 2.121 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2443/0.8357, allocations: 1.949 MB / 0.8817 GB, free: 220 kB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002161/0.8359, allocations: 226.1 kB / 0.8819 GB, free: 15.92 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.449/2.284, allocations: 0 / 0.8819 GB, free: 15.92 MB / 0.5573 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)