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.000994/0.0009941, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.000968/0.000968, allocations: 190.5 kB / 16.25 MB, free: 6.629 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.222/1.222, allocations: 222.9 MB / 239.9 MB, free: 4.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8188/0.8188, allocations: 135.1 MB / 425.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001135, allocations: 60.16 kB / 0.505 GB, free: 5.527 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1238, allocations: 80.93 MB / 0.584 GB, free: 4.762 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002127/0.1259, allocations: 1.325 MB / 0.5853 GB, free: 3.422 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001642/0.1276, allocations: 1.418 MB / 0.5867 GB, free: 1.996 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.166e-05/0.1276, allocations: 0 / 0.5867 GB, free: 1.996 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.498e-05/0.1277, allocations: 0 / 0.5867 GB, free: 1.996 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001518/0.1278, allocations: 23.86 kB / 0.5867 GB, free: 1.973 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004962/0.1283, allocations: 195.8 kB / 0.5869 GB, free: 1.785 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.597e-05/0.1284, allocations: 23.92 kB / 0.5869 GB, free: 1.762 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.724e-05/0.1284, allocations: 0 / 0.5869 GB, free: 1.762 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.588e-05/0.1285, allocations: 19.92 kB / 0.5869 GB, free: 1.742 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.572e-05/0.1286, allocations: 22.11 kB / 0.5869 GB, free: 1.723 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.337e-06/0.1286, allocations: 4 kB / 0.5869 GB, free: 1.719 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002201/0.1288, allocations: 147.8 kB / 0.5871 GB, free: 1.574 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.035e-05/0.1288, allocations: 3.984 kB / 0.5871 GB, free: 1.57 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.04e-05/0.1289, allocations: 8 kB / 0.5871 GB, free: 1.562 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001971/0.1291, allocations: 143.8 kB / 0.5872 GB, free: 1.422 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1291, allocations: 0 / 0.5872 GB, free: 1.422 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1291, allocations: 0 / 0.5872 GB, free: 1.422 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.997e-06/0.1291, allocations: 0 / 0.5872 GB, free: 1.422 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.0003547/0.1294, allocations: 379.6 kB / 0.5876 GB, free: 1.004 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.998e-05/0.1295, allocations: 8.031 kB / 0.5876 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.689e-05/0.1295, allocations: 110 kB / 0.5877 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.083e-05/0.1296, allocations: 80.22 kB / 0.5878 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.1297, allocations: 243.6 kB / 0.588 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.18e-05/0.1298, allocations: 158.9 kB / 0.5882 GB, free: 376 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.914e-05/0.1299, allocations: 158.5 kB / 0.5883 GB, free: 216 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.48e-05/0.1299, allocations: 108.9 kB / 0.5884 GB, free: 100 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/0.1299, allocations: 79.28 kB / 0.5885 GB, free: 20 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.885e-05/0.13, allocations: 150.6 kB / 0.5886 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.729e-05/0.13, allocations: 150.6 kB / 0.5888 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.626e-05/0.1301, allocations: 154.5 kB / 0.5889 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002379/0.1303, allocations: 457.9 kB / 0.5894 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.687e-05/0.1304, allocations: 173.1 kB / 0.5895 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.737e-05/0.1304, allocations: 84.14 kB / 0.5896 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.1305, allocations: 75.28 kB / 0.5897 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.881e-05/0.1305, allocations: 105.8 kB / 0.5898 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 2.895e-06/0.1305, allocations: 4 kB / 0.5898 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 6.065e-05/0.1306, allocations: 29.64 kB / 0.5898 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.008e-05/0.1306, allocations: 134.6 kB / 0.59 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.734e-05/0.1307, allocations: 105.8 kB / 0.5901 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.1307, allocations: 29.7 kB / 0.5901 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.898e-05/0.1308, allocations: 84.14 kB / 0.5902 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.703e-06/0.1308, allocations: 0 / 0.5902 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.424e-05/0.1308, allocations: 21.7 kB / 0.5902 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.131, allocations: 318.8 kB / 0.5905 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.648e-06/0.131, allocations: 0 / 0.5905 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.079e-05/0.131, allocations: 34.55 kB / 0.5905 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.211e-05/0.1311, allocations: 22.52 kB / 0.5905 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1311, allocations: 0 / 0.5905 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001091/0.1312, allocations: 57.56 kB / 0.5906 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.318e-06/0.1312, allocations: 8 kB / 0.5906 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.1312, allocations: 0 / 0.5906 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.606e-06/0.1312, allocations: 0 / 0.5906 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.925e-05/0.1313, allocations: 4 kB / 0.5906 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.1313, allocations: 4 kB / 0.5906 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001366/0.1314, allocations: 7.984 kB / 0.5906 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.1315, allocations: 7.984 kB / 0.5906 GB, free: 13.69 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 9.087e-05/0.1315, allocations: 201 kB / 0.5908 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.996e-05/0.1316, allocations: 101 kB / 0.5909 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.392e-05/0.1317, allocations: 108.1 kB / 0.591 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.904e-05/0.1317, allocations: 188.2 kB / 0.5912 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-05/0.1318, allocations: 176.5 kB / 0.5914 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.168e-05/0.1318, allocations: 184.2 kB / 0.5915 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001988/0.132, allocations: 413.2 kB / 0.5919 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.782e-05/0.1321, allocations: 101 kB / 0.592 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.565e-05/0.1321, allocations: 108.9 kB / 0.5921 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.379e-05/0.1322, allocations: 180.3 kB / 0.5923 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.991e-05/0.1322, allocations: 180.4 kB / 0.5925 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.344e-05/0.1323, allocations: 192.2 kB / 0.5927 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.296e-05/0.1323, allocations: 180.3 kB / 0.5928 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001094/0.1325, allocations: 311.6 kB / 0.5931 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.1e-05/0.1325, allocations: 186 kB / 0.5933 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.235e-05/0.1326, allocations: 180.3 kB / 0.5935 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.628e-05/0.1327, allocations: 108.9 kB / 0.5936 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.926e-05/0.1327, allocations: 184.2 kB / 0.5938 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-05/0.1328, allocations: 101 kB / 0.5939 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.044e-05/0.1328, allocations: 83.27 kB / 0.5939 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1328, allocations: 0 / 0.5939 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002742/0.1331, allocations: 51.98 kB / 0.594 GB, free: 10.02 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.0006983/0.1338, allocations: 0.9693 MB / 0.5949 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 5.911e-05/0.1339, allocations: 4 kB / 0.5949 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.1339, allocations: 4 kB / 0.5949 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.222e-06/0.1339, allocations: 8.125 kB / 0.5949 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003289/0.1342, allocations: 455.7 kB / 0.5954 GB, free: 8.602 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.0008944/0.1351, allocations: 1.349 MB / 0.5967 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003544/0.1355, allocations: 0.6768 MB / 0.5974 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.894e-05/0.1355, allocations: 3.938 kB / 0.5974 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.155e-05/0.1355, allocations: 14.81 kB / 0.5974 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1355, allocations: 0 / 0.5974 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7007/0.8362, allocations: 2.527 MB / 0.5998 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000257/0.8365, allocations: 271.3 kB / 0.6001 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.571/2.407, allocations: 0 / 0.6001 GB, free: 3.758 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)