Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="IDEAS_IDEAS_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.0007817/0.0007818, allocations: 91.3 kB / 15.06 MB, free: 1.098 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.0007792/0.0007793, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7349/0.7349, allocations: 132.3 MB / 423.4 MB, free: 2.047 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002984/0.0002984, allocations: 12 kB / 0.5035 GB, free: 4.133 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.394/0.3943, allocations: 81.57 MB / 0.5832 GB, free: 4.004 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001184/0.3955, allocations: 0.9989 MB / 0.5841 GB, free: 3.266 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00167/0.3972, allocations: 1.358 MB / 0.5855 GB, free: 2.316 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.712e-05/0.3972, allocations: 0 / 0.5855 GB, free: 2.316 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.369e-05/0.3973, allocations: 0.5625 kB / 0.5855 GB, free: 2.316 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001502/0.3974, allocations: 12.86 kB / 0.5855 GB, free: 2.309 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005154/0.3979, allocations: 187.6 kB / 0.5856 GB, free: 2.219 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.971e-05/0.398, allocations: 18.91 kB / 0.5857 GB, free: 2.211 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.846e-05/0.398, allocations: 5.375 kB / 0.5857 GB, free: 2.207 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.428e-05/0.3981, allocations: 14.23 kB / 0.5857 GB, free: 2.203 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.3982, allocations: 15.19 kB / 0.5857 GB, free: 2.195 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.182e-05/0.3982, allocations: 1.75 kB / 0.5857 GB, free: 2.195 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002356/0.3985, allocations: 133.1 kB / 0.5858 GB, free: 2.16 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.299e-05/0.3985, allocations: 6.781 kB / 0.5858 GB, free: 2.156 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.88e-05/0.3985, allocations: 32.19 kB / 0.5859 GB, free: 2.121 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001852/0.3987, allocations: 107.4 kB / 0.586 GB, free: 2.082 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3987, allocations: 0 / 0.586 GB, free: 2.082 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3987, allocations: 1.344 kB / 0.586 GB, free: 2.082 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.3988, allocations: 0 / 0.586 GB, free: 2.082 MB / 430.1 MB 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.0002683/0.399, allocations: 358.9 kB / 0.5863 GB, free: 1.707 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.3991, allocations: 9.875 kB / 0.5863 GB, free: 1.707 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.751e-05/0.3991, allocations: 106.6 kB / 0.5864 GB, free: 1.594 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.936e-05/0.3992, allocations: 80.58 kB / 0.5865 GB, free: 1.516 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.3993, allocations: 251.1 kB / 0.5867 GB, free: 1.234 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.574e-05/0.3993, allocations: 151.6 kB / 0.5869 GB, free: 1.086 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.112e-05/0.3993, allocations: 153.5 kB / 0.587 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.873e-05/0.3994, allocations: 105.5 kB / 0.5871 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.3994, allocations: 76.22 kB / 0.5872 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.081e-05/0.3994, allocations: 150.6 kB / 0.5873 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.192e-05/0.3995, allocations: 159.8 kB / 0.5875 GB, free: 460 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.252e-05/0.3995, allocations: 151.2 kB / 0.5876 GB, free: 308 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002368/0.3997, allocations: 459 kB / 0.5881 GB, free: 15.81 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.1e-05/0.3998, allocations: 174.6 kB / 0.5882 GB, free: 15.63 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.503e-05/0.3999, allocations: 84.14 kB / 0.5883 GB, free: 15.55 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.572e-05/0.4, allocations: 75.78 kB / 0.5884 GB, free: 15.47 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.98e-05/0.4, allocations: 111.4 kB / 0.5885 GB, free: 15.36 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 9.51e-07/0.4, allocations: 0 / 0.5885 GB, free: 15.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 6.567e-05/0.4001, allocations: 32.83 kB / 0.5885 GB, free: 15.32 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.446e-05/0.4002, allocations: 128.3 kB / 0.5887 GB, free: 15.18 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.168e-05/0.4003, allocations: 111.1 kB / 0.5888 GB, free: 15.07 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.4003, allocations: 26.48 kB / 0.5888 GB, free: 15.04 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.162e-05/0.4003, allocations: 87.12 kB / 0.5889 GB, free: 14.96 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.984e-06/0.4003, allocations: 0 / 0.5889 GB, free: 14.96 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.195e-06/0.4004, allocations: 0 / 0.5889 GB, free: 14.96 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.4005, allocations: 321.1 kB / 0.5892 GB, free: 14.64 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.039e-05/0.4005, allocations: 1.938 kB / 0.5892 GB, free: 14.64 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.713e-05/0.4005, allocations: 27.33 kB / 0.5892 GB, free: 14.61 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.447e-05/0.4006, allocations: 7.984 kB / 0.5892 GB, free: 14.61 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.4006, allocations: 1.188 kB / 0.5892 GB, free: 14.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001193/0.4007, allocations: 49.58 kB / 0.5893 GB, free: 14.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.4007, allocations: 5.469 kB / 0.5893 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.4007, allocations: 0.6562 kB / 0.5893 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.4007, allocations: 1.125 kB / 0.5893 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.166e-05/0.4008, allocations: 9.734 kB / 0.5893 GB, free: 14.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.4008, allocations: 2.359 kB / 0.5893 GB, free: 14.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001269/0.401, allocations: 5.25 kB / 0.5893 GB, free: 14.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.401, allocations: 3.578 kB / 0.5893 GB, free: 14.56 MB / 446.1 MB 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.000166/0.4012, allocations: 194.4 kB / 0.5895 GB, free: 14.37 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.66e-05/0.4012, allocations: 111.6 kB / 0.5896 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.397e-05/0.4013, allocations: 105.9 kB / 0.5897 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.38e-05/0.4013, allocations: 185.8 kB / 0.5899 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-05/0.4014, allocations: 177.8 kB / 0.59 GB, free: 13.78 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.583e-05/0.4015, allocations: 181.6 kB / 0.5902 GB, free: 13.59 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000245/0.4017, allocations: 407.9 kB / 0.5906 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.132e-05/0.4018, allocations: 102.8 kB / 0.5907 GB, free: 13.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.741e-05/0.4018, allocations: 110.3 kB / 0.5908 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.34e-05/0.4019, allocations: 177.7 kB / 0.591 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.999e-05/0.402, allocations: 190 kB / 0.5911 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.117e-05/0.402, allocations: 181.8 kB / 0.5913 GB, free: 12.37 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.795e-05/0.4021, allocations: 178.1 kB / 0.5915 GB, free: 12.19 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001348/0.4022, allocations: 313.7 kB / 0.5918 GB, free: 11.87 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.411e-05/0.4023, allocations: 188.9 kB / 0.592 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.411e-05/0.4024, allocations: 182.1 kB / 0.5921 GB, free: 11.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.488e-05/0.4025, allocations: 106.7 kB / 0.5922 GB, free: 11.37 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.341e-05/0.4026, allocations: 182 kB / 0.5924 GB, free: 11.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.956e-05/0.4027, allocations: 107.4 kB / 0.5925 GB, free: 11.07 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.681e-05/0.4028, allocations: 85.25 kB / 0.5926 GB, free: 11 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4028, allocations: 0 / 0.5926 GB, free: 11 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003562/0.4031, allocations: 49.59 kB / 0.5926 GB, free: 10.98 MB / 446.1 MB 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.0009957/0.4041, allocations: 0.9783 MB / 0.5936 GB, free: 10.12 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.646e-05/0.4042, allocations: 8.016 kB / 0.5936 GB, free: 10.12 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.4042, allocations: 0 / 0.5936 GB, free: 10.12 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.014e-06/0.4042, allocations: 4.531 kB / 0.5936 GB, free: 10.12 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003709/0.4046, allocations: 0.5219 MB / 0.5941 GB, free: 9.594 MB / 446.1 MB 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.0007055/0.4053, allocations: 449.5 kB / 0.5946 GB, free: 9.16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002732/0.4056, allocations: 0.678 MB / 0.5952 GB, free: 8.461 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.578e-05/0.4057, allocations: 7.156 kB / 0.5952 GB, free: 8.457 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.059e-05/0.4057, allocations: 10.34 kB / 0.5952 GB, free: 8.449 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4057, allocations: 0 / 0.5952 GB, free: 8.449 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3376/0.7433, allocations: 2.33 MB / 0.5975 GB, free: 8.23 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004285/0.7438, allocations: 245 kB / 0.5977 GB, free: 7.922 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.76/2.504, allocations: 0 / 0.5977 GB, free: 7.922 MB / 446.1 MB (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) Environment - environmentSimulation: