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/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005465/0.005465, allocations: 99.52 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 200.8 kB / 16.68 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002471/0.002471, allocations: 278.9 kB / 290.8 MB, free: 1.902 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.038/1.038, allocations: 178.6 MB / 0.5074 GB, free: 4.469 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002686/0.002687, allocations: 102.2 kB / 0.6943 GB, free: 3.598 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4148/0.4175, allocations: 89.14 MB / 0.7814 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002278/0.4198, allocations: 1.264 MB / 0.7826 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002139/0.4219, allocations: 1.449 MB / 0.784 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.468e-05/0.422, allocations: 1.281 kB / 0.784 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.383e-05/0.422, allocations: 0.7969 kB / 0.784 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001571/0.4222, allocations: 8.672 kB / 0.784 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006197/0.4228, allocations: 221.5 kB / 0.7842 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.145e-05/0.4229, allocations: 31.17 kB / 0.7843 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.443e-05/0.4229, allocations: 5.922 kB / 0.7843 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.252e-05/0.423, allocations: 15.42 kB / 0.7843 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.92e-05/0.4231, allocations: 15.14 kB / 0.7843 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.4231, allocations: 1.625 kB / 0.7843 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003048/0.4234, allocations: 163.5 kB / 0.7844 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.655e-05/0.4235, allocations: 11.03 kB / 0.7845 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.632e-05/0.4235, allocations: 9.062 kB / 0.7845 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002495/0.4237, allocations: 144.3 kB / 0.7846 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.4238, allocations: 0.7969 kB / 0.7846 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.242e-06/0.4238, allocations: 0 / 0.7846 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.4238, allocations: 1.125 kB / 0.7846 GB, free: 11.72 MB / 0.5606 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.0004184/0.4242, allocations: 378.3 kB / 0.785 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.4242, allocations: 8.781 kB / 0.785 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.048e-05/0.4243, allocations: 106.7 kB / 0.7851 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.062e-05/0.4244, allocations: 81.66 kB / 0.7851 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001741/0.4246, allocations: 240.2 kB / 0.7854 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.807e-05/0.4246, allocations: 156.4 kB / 0.7855 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.019e-05/0.4247, allocations: 161.5 kB / 0.7857 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.828e-05/0.4248, allocations: 105.8 kB / 0.7858 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.716e-05/0.4248, allocations: 75.28 kB / 0.7859 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.79e-05/0.4249, allocations: 151.9 kB / 0.786 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-05/0.425, allocations: 151.4 kB / 0.7861 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.389e-05/0.4251, allocations: 154.5 kB / 0.7863 GB, free: 9.926 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003394/0.4254, allocations: 459.6 kB / 0.7867 GB, free: 9.438 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.4255, allocations: 170.5 kB / 0.7869 GB, free: 9.262 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.039e-05/0.4256, allocations: 80.14 kB / 0.787 GB, free: 9.18 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.358e-05/0.4256, allocations: 77.44 kB / 0.787 GB, free: 9.105 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.64e-05/0.4257, allocations: 113.9 kB / 0.7872 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.4257, allocations: 0 / 0.7872 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 7.917e-05/0.4258, allocations: 32.72 kB / 0.7872 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.936e-05/0.4259, allocations: 128.8 kB / 0.7873 GB, free: 8.812 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.426, allocations: 106.5 kB / 0.7874 GB, free: 8.707 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.771e-05/0.426, allocations: 31.11 kB / 0.7874 GB, free: 8.672 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.137e-05/0.4261, allocations: 82.16 kB / 0.7875 GB, free: 8.59 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.873e-06/0.4261, allocations: 7.875 kB / 0.7875 GB, free: 8.582 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.03e-05/0.4261, allocations: 26.16 kB / 0.7875 GB, free: 8.559 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.4263, allocations: 313.6 kB / 0.7878 GB, free: 8.246 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.342e-05/0.4263, allocations: 1.844 kB / 0.7878 GB, free: 8.246 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.797e-05/0.4263, allocations: 28.08 kB / 0.7879 GB, free: 8.219 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.31e-05/0.4264, allocations: 28.05 kB / 0.7879 GB, free: 8.188 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.4264, allocations: 0.7031 kB / 0.7879 GB, free: 8.188 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000128/0.4265, allocations: 52.89 kB / 0.788 GB, free: 8.145 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.4266, allocations: 6.578 kB / 0.788 GB, free: 8.145 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.4266, allocations: 1.312 kB / 0.788 GB, free: 8.145 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.4266, allocations: 1.469 kB / 0.788 GB, free: 8.145 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.271e-05/0.4267, allocations: 5.188 kB / 0.788 GB, free: 8.145 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.4267, allocations: 1.672 kB / 0.788 GB, free: 8.145 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001546/0.4268, allocations: 13.72 kB / 0.788 GB, free: 8.137 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/0.4268, allocations: 6.828 kB / 0.788 GB, free: 8.133 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001207/0.427, allocations: 193.6 kB / 0.7882 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.824e-05/0.427, allocations: 107 kB / 0.7883 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.114e-05/0.4271, allocations: 110.5 kB / 0.7884 GB, free: 7.719 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-05/0.4272, allocations: 186.2 kB / 0.7886 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.374e-05/0.4273, allocations: 180.9 kB / 0.7887 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.445e-05/0.4274, allocations: 182.2 kB / 0.7889 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002697/0.4276, allocations: 406.8 kB / 0.7893 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.472e-05/0.4277, allocations: 102.6 kB / 0.7894 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.077e-05/0.4278, allocations: 106.9 kB / 0.7895 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.392e-05/0.4278, allocations: 178.5 kB / 0.7897 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.567e-05/0.4279, allocations: 184.8 kB / 0.7898 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.498e-05/0.428, allocations: 178.9 kB / 0.79 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.212e-05/0.4281, allocations: 182.5 kB / 0.7902 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001649/0.4283, allocations: 312.9 kB / 0.7905 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.4284, allocations: 187.7 kB / 0.7907 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.241e-05/0.4285, allocations: 178.9 kB / 0.7908 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.858e-05/0.4286, allocations: 107 kB / 0.7909 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.428e-05/0.4287, allocations: 181.4 kB / 0.7911 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.471e-05/0.4287, allocations: 102.9 kB / 0.7912 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.726e-05/0.4288, allocations: 80.97 kB / 0.7913 GB, free: 4.586 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.953e-06/0.4288, allocations: 4 kB / 0.7913 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003537/0.4291, allocations: 58.48 kB / 0.7913 GB, free: 4.562 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009927/0.4301, allocations: 0.9835 MB / 0.7923 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.896e-05/0.4302, allocations: 15.36 kB / 0.7923 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4302, allocations: 0 / 0.7923 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.293e-06/0.4302, allocations: 1.062 kB / 0.7923 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003971/0.4306, allocations: 453.7 kB / 0.7927 GB, free: 3.234 MB / 0.5606 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.001171/0.4318, allocations: 1.349 MB / 0.7941 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003007/0.4321, allocations: 0.6737 MB / 0.7947 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.369e-05/0.4322, allocations: 3.672 kB / 0.7947 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.141e-05/0.4322, allocations: 13.45 kB / 0.7947 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of SimCode: time 2.4e-07/0.4322, allocations: 0 / 0.7947 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4979/0.9301, allocations: 2.653 MB / 0.7973 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.664/8.594, allocations: 13.64 kB / 0.7973 GB, free: 0.6719 MB / 0.5606 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)