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.008669/0.008669, allocations: 100.3 kB / 15.73 MB, free: 6.062 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.00227/0.00227, allocations: 188.5 kB / 16.67 MB, free: 5.969 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002508/0.002508, allocations: 281.9 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.994/0.994, allocations: 169.2 MB / 0.4983 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002666/0.002666, allocations: 99.84 kB / 0.681 GB, free: 7.441 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3935/0.3962, allocations: 86.98 MB / 0.7659 GB, free: 3.824 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002349/0.3986, allocations: 1.264 MB / 0.7672 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002289/0.4009, allocations: 1.454 MB / 0.7686 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.279e-05/0.401, allocations: 0 / 0.7686 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.076e-05/0.401, allocations: 0 / 0.7686 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001818/0.4012, allocations: 15.88 kB / 0.7686 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006159/0.4018, allocations: 210.2 kB / 0.7688 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.568e-05/0.4019, allocations: 23.92 kB / 0.7688 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.007e-05/0.402, allocations: 3.984 kB / 0.7688 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.519e-05/0.4021, allocations: 23.92 kB / 0.7688 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/0.4022, allocations: 7.938 kB / 0.7688 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.4022, allocations: 11.98 kB / 0.7689 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002943/0.4025, allocations: 163.8 kB / 0.769 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.604e-05/0.4025, allocations: 7.984 kB / 0.769 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.896e-05/0.4026, allocations: 11.98 kB / 0.769 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002623/0.4028, allocations: 140.7 kB / 0.7692 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.768e-06/0.4028, allocations: 4 kB / 0.7692 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.714e-06/0.4028, allocations: 0 / 0.7692 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.4028, allocations: 0 / 0.7692 GB, free: 0.4922 MB / 0.5294 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.0004389/0.4033, allocations: 375 kB / 0.7695 GB, free: 80 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.4033, allocations: 12.03 kB / 0.7695 GB, free: 68 kB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.85e-05/0.4034, allocations: 106 kB / 0.7696 GB, free: 15.95 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.47e-05/0.4035, allocations: 76.22 kB / 0.7697 GB, free: 15.88 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001912/0.4037, allocations: 239.7 kB / 0.7699 GB, free: 15.61 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.619e-05/0.4038, allocations: 154.9 kB / 0.7701 GB, free: 15.45 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.912e-05/0.4039, allocations: 162.5 kB / 0.7702 GB, free: 15.29 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.893e-05/0.404, allocations: 109 kB / 0.7703 GB, free: 15.18 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.406e-05/0.404, allocations: 75.28 kB / 0.7704 GB, free: 15.11 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.954e-05/0.4041, allocations: 154.5 kB / 0.7706 GB, free: 14.95 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.567e-05/0.4042, allocations: 150.6 kB / 0.7707 GB, free: 14.8 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.156e-05/0.4042, allocations: 154.6 kB / 0.7709 GB, free: 14.65 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003316/0.4046, allocations: 457.9 kB / 0.7713 GB, free: 14.16 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.985e-05/0.4047, allocations: 173.1 kB / 0.7715 GB, free: 13.98 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.694e-05/0.4047, allocations: 80.14 kB / 0.7715 GB, free: 13.89 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.986e-05/0.4048, allocations: 75.28 kB / 0.7716 GB, free: 13.82 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.311e-05/0.4048, allocations: 113.8 kB / 0.7717 GB, free: 13.7 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.4048, allocations: 4 kB / 0.7717 GB, free: 13.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 8.178e-05/0.4049, allocations: 33.64 kB / 0.7718 GB, free: 13.66 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.734e-05/0.405, allocations: 134.6 kB / 0.7719 GB, free: 13.51 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.4051, allocations: 109.8 kB / 0.772 GB, free: 13.39 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.4051, allocations: 25.7 kB / 0.772 GB, free: 13.36 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.561e-05/0.4052, allocations: 84.14 kB / 0.7721 GB, free: 13.28 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.914e-06/0.4052, allocations: 0 / 0.7721 GB, free: 13.28 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.202e-05/0.4052, allocations: 25.7 kB / 0.7721 GB, free: 13.25 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.4054, allocations: 314.8 kB / 0.7724 GB, free: 12.93 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.32e-05/0.4054, allocations: 4 kB / 0.7724 GB, free: 12.93 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.115e-05/0.4055, allocations: 26.56 kB / 0.7724 GB, free: 12.89 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.42e-05/0.4055, allocations: 26.52 kB / 0.7725 GB, free: 12.86 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.4055, allocations: 4 kB / 0.7725 GB, free: 12.85 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001296/0.4056, allocations: 53.56 kB / 0.7725 GB, free: 12.79 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.4057, allocations: 4 kB / 0.7725 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.4057, allocations: 4 kB / 0.7725 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.4057, allocations: 256 / 0.7725 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.121e-05/0.4058, allocations: 4 kB / 0.7725 GB, free: 12.78 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.4058, allocations: 7.984 kB / 0.7725 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001396/0.4059, allocations: 4 kB / 0.7725 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.4059, allocations: 4 kB / 0.7726 GB, free: 12.77 MB / 0.545 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.0001115/0.4061, allocations: 199.6 kB / 0.7727 GB, free: 12.56 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.814e-05/0.4061, allocations: 108.9 kB / 0.7728 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.851e-05/0.4062, allocations: 108.2 kB / 0.7729 GB, free: 12.34 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.768e-05/0.4063, allocations: 184.2 kB / 0.7731 GB, free: 12.15 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.53e-05/0.4064, allocations: 180.3 kB / 0.7733 GB, free: 11.97 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.592e-05/0.4064, allocations: 180.3 kB / 0.7735 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002603/0.4067, allocations: 409.1 kB / 0.7739 GB, free: 11.33 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.521e-05/0.4068, allocations: 105 kB / 0.774 GB, free: 11.22 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.923e-05/0.4068, allocations: 108.9 kB / 0.7741 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.676e-05/0.4069, allocations: 176.3 kB / 0.7742 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.589e-05/0.407, allocations: 184.3 kB / 0.7744 GB, free: 10.74 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.598e-05/0.4071, allocations: 180.2 kB / 0.7746 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.326e-05/0.4071, allocations: 176.3 kB / 0.7747 GB, free: 10.38 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001609/0.4073, allocations: 319.6 kB / 0.7751 GB, free: 10.04 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.688e-05/0.4074, allocations: 182 kB / 0.7752 GB, free: 9.836 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.858e-05/0.4075, allocations: 184.3 kB / 0.7754 GB, free: 9.648 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.632e-05/0.4076, allocations: 104.9 kB / 0.7755 GB, free: 9.539 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.046e-05/0.4077, allocations: 188.2 kB / 0.7757 GB, free: 9.348 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.369e-05/0.4077, allocations: 101 kB / 0.7758 GB, free: 9.242 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.742e-05/0.4078, allocations: 83.28 kB / 0.7759 GB, free: 9.16 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4078, allocations: 3.938 kB / 0.7759 GB, free: 9.156 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003639/0.4082, allocations: 51.8 kB / 0.7759 GB, free: 9.105 MB / 0.545 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.000941/0.4091, allocations: 0.984 MB / 0.7769 GB, free: 8.133 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.94e-05/0.4092, allocations: 8 kB / 0.7769 GB, free: 8.125 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.4092, allocations: 4.188 kB / 0.7769 GB, free: 8.121 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.025e-06/0.4092, allocations: 3.938 kB / 0.7769 GB, free: 8.117 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004044/0.4096, allocations: 455.7 kB / 0.7773 GB, free: 7.668 MB / 0.545 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.001219/0.4109, allocations: 1.349 MB / 0.7786 GB, free: 6.223 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002917/0.4112, allocations: 0.6729 MB / 0.7793 GB, free: 5.523 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.645e-05/0.4112, allocations: 7.891 kB / 0.7793 GB, free: 5.516 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.853e-05/0.4112, allocations: 11.44 kB / 0.7793 GB, free: 5.504 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.4112, allocations: 3.938 kB / 0.7793 GB, free: 5.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6938/1.105, allocations: 2.646 MB / 0.7819 GB, free: 3.059 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.767/8.872, allocations: 11.98 kB / 0.7819 GB, free: 3.047 MB / 0.545 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)