Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="IDEAS_dev_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.001052/0.001052, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0009448/0.0009448, allocations: 195.5 kB / 16.14 MB, free: 6.695 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.197/1.197, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8112/0.8112, allocations: 135.1 MB / 425.1 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001097/0.001097, allocations: 61.66 kB / 0.5048 GB, free: 5.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1195, allocations: 80.93 MB / 0.5838 GB, free: 4.902 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001963/0.1215, allocations: 1.333 MB / 0.5851 GB, free: 3.551 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001648/0.1232, allocations: 1.43 MB / 0.5865 GB, free: 2.113 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.406e-05/0.1232, allocations: 4 kB / 0.5865 GB, free: 2.109 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.67e-05/0.1233, allocations: 0 / 0.5865 GB, free: 2.109 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000126/0.1234, allocations: 15.92 kB / 0.5865 GB, free: 2.094 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004616/0.1239, allocations: 187.4 kB / 0.5867 GB, free: 1.914 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.085e-05/0.1239, allocations: 23.92 kB / 0.5867 GB, free: 1.891 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.144e-05/0.1239, allocations: 0 / 0.5867 GB, free: 1.891 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.336e-05/0.124, allocations: 12 kB / 0.5867 GB, free: 1.879 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.1241, allocations: 23.84 kB / 0.5868 GB, free: 1.855 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.095e-05/0.1241, allocations: 0 / 0.5868 GB, free: 1.855 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000207/0.1244, allocations: 139.8 kB / 0.5869 GB, free: 1.719 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.76e-05/0.1244, allocations: 15.97 kB / 0.5869 GB, free: 1.703 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.131e-05/0.1244, allocations: 7.938 kB / 0.5869 GB, free: 1.695 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002106/0.1246, allocations: 143.8 kB / 0.5871 GB, free: 1.555 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.1246, allocations: 4 kB / 0.5871 GB, free: 1.551 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.21e-07/0.1246, allocations: 0 / 0.5871 GB, free: 1.551 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.715e-06/0.1246, allocations: 0 / 0.5871 GB, free: 1.551 MB / 494.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.0003015/0.125, allocations: 367.7 kB / 0.5874 GB, free: 1.145 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.125, allocations: 12.03 kB / 0.5874 GB, free: 1.133 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.116e-05/0.125, allocations: 106 kB / 0.5875 GB, free: 1.02 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.984e-05/0.1251, allocations: 80.22 kB / 0.5876 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.1252, allocations: 251.6 kB / 0.5878 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.281e-05/0.1253, allocations: 154.9 kB / 0.588 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.721e-05/0.1253, allocations: 158.5 kB / 0.5881 GB, free: 356 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.679e-05/0.1254, allocations: 104.9 kB / 0.5882 GB, free: 244 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.08e-05/0.1254, allocations: 75.28 kB / 0.5883 GB, free: 168 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.122e-05/0.1254, allocations: 154.5 kB / 0.5885 GB, free: 12 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-05/0.1255, allocations: 154.6 kB / 0.5886 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.122e-05/0.1255, allocations: 154.6 kB / 0.5888 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002278/0.1258, allocations: 453.9 kB / 0.5892 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.678e-05/0.1259, allocations: 177 kB / 0.5894 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.536e-05/0.1259, allocations: 84.14 kB / 0.5894 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.1259, allocations: 79.27 kB / 0.5895 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/0.1259, allocations: 109.8 kB / 0.5896 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.126, allocations: 0 / 0.5896 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 6.001e-05/0.126, allocations: 29.7 kB / 0.5897 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/0.1261, allocations: 134.6 kB / 0.5898 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.552e-05/0.1262, allocations: 109.8 kB / 0.5899 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.192e-05/0.1262, allocations: 29.7 kB / 0.5899 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.341e-05/0.1262, allocations: 80.14 kB / 0.59 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-06/0.1262, allocations: 0 / 0.59 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.185e-05/0.1262, allocations: 21.72 kB / 0.59 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.198e-05/0.1263, allocations: 314.8 kB / 0.5903 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.163e-05/0.1264, allocations: 4 kB / 0.5903 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.419e-05/0.1264, allocations: 22.58 kB / 0.5903 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.79e-05/0.1264, allocations: 34.5 kB / 0.5904 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1264, allocations: 0 / 0.5904 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001004/0.1265, allocations: 49.58 kB / 0.5904 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.1266, allocations: 7.984 kB / 0.5904 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.1266, allocations: 0 / 0.5904 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.1266, allocations: 8.234 kB / 0.5904 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.301e-05/0.1266, allocations: 8 kB / 0.5904 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.1267, allocations: 0 / 0.5904 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001429/0.1268, allocations: 7.984 kB / 0.5904 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.1268, allocations: 7.984 kB / 0.5905 GB, free: 13.82 MB / 0.4981 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 7.572e-05/0.1269, allocations: 189 kB / 0.5906 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.186e-05/0.127, allocations: 112.9 kB / 0.5907 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.571e-05/0.127, allocations: 108.1 kB / 0.5908 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.049e-05/0.127, allocations: 176.3 kB / 0.591 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.144e-05/0.1271, allocations: 188.2 kB / 0.5912 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.495e-05/0.1272, allocations: 176.3 kB / 0.5914 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000192/0.1273, allocations: 413 kB / 0.5918 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.551e-05/0.1274, allocations: 105 kB / 0.5919 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.075e-05/0.1274, allocations: 109 kB / 0.592 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.551e-05/0.1275, allocations: 180.2 kB / 0.5921 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.242e-05/0.1275, allocations: 176.3 kB / 0.5923 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.791e-05/0.1276, allocations: 188.2 kB / 0.5925 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.672e-05/0.1276, allocations: 180.5 kB / 0.5927 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001006/0.1277, allocations: 315.6 kB / 0.593 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.3e-05/0.1278, allocations: 182.1 kB / 0.5931 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.406e-05/0.1278, allocations: 184.4 kB / 0.5933 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.305e-05/0.1279, allocations: 109 kB / 0.5934 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.09e-05/0.128, allocations: 180.2 kB / 0.5936 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.821e-05/0.128, allocations: 105 kB / 0.5937 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.52e-05/0.128, allocations: 87.27 kB / 0.5938 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.128, allocations: 0 / 0.5938 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002794/0.1283, allocations: 55.98 kB / 0.5938 GB, free: 10.15 MB / 0.4981 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.0006359/0.129, allocations: 0.9719 MB / 0.5948 GB, free: 9.199 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 5.967e-05/0.129, allocations: 8 kB / 0.5948 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.129, allocations: 0 / 0.5948 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.183e-06/0.1291, allocations: 0 / 0.5948 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003056/0.1294, allocations: 0.5265 MB / 0.5953 GB, free: 8.66 MB / 0.4981 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.0008267/0.1302, allocations: 1.339 MB / 0.5966 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001808/0.1304, allocations: 0.677 MB / 0.5973 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.958e-05/0.1304, allocations: 4 kB / 0.5973 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.108e-05/0.1304, allocations: 15.44 kB / 0.5973 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1304, allocations: 0 / 0.5973 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5562/0.6866, allocations: 2.479 MB / 0.5997 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002193/0.6869, allocations: 266.7 kB / 0.5999 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.589/2.276, allocations: 2.188 kB / 0.6 GB, free: 3.863 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)