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.0007786/0.0007786, allocations: 92.23 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.0008447/0.0008449, 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.408/1.408, allocations: 223.3 MB / 240 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.096/1.096, allocations: 135.3 MB / 426.3 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003797/0.0003797, allocations: 8.219 kB / 0.5071 GB, free: 5.012 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.184, allocations: 82.31 MB / 0.5875 GB, free: 2.875 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001343/0.1854, allocations: 0.9875 MB / 0.5884 GB, free: 1.875 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002048/0.1875, allocations: 1.352 MB / 0.5898 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.751e-05/0.1875, allocations: 0 / 0.5898 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.14e-05/0.1875, allocations: 0 / 0.5898 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001743/0.1877, allocations: 19.97 kB / 0.5898 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006032/0.1883, allocations: 183.1 kB / 0.59 GB, free: 328 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.911e-05/0.1884, allocations: 19.92 kB / 0.59 GB, free: 308 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.073e-05/0.1885, allocations: 0 / 0.59 GB, free: 308 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.42e-05/0.1886, allocations: 15.97 kB / 0.59 GB, free: 292 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.1887, allocations: 15.94 kB / 0.59 GB, free: 276 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.152e-05/0.1887, allocations: 0 / 0.59 GB, free: 276 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002435/0.189, allocations: 143.8 kB / 0.5901 GB, free: 132 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.065e-05/0.189, allocations: 0 / 0.5901 GB, free: 132 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.441e-05/0.189, allocations: 33.7 kB / 0.5902 GB, free: 92 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001842/0.1892, allocations: 99.92 kB / 0.5903 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1892, allocations: 3.938 kB / 0.5903 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.214e-06/0.1892, allocations: 0 / 0.5903 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.466e-06/0.1892, allocations: 0 / 0.5903 GB, free: 15.98 MB / 0.4981 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.0003441/0.1896, allocations: 359.5 kB / 0.5906 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.1896, allocations: 12.02 kB / 0.5906 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.922e-05/0.1897, allocations: 105.8 kB / 0.5907 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.572e-05/0.1898, allocations: 87.22 kB / 0.5908 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001619/0.1899, allocations: 246.3 kB / 0.591 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.359e-05/0.19, allocations: 154.6 kB / 0.5912 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.822e-05/0.1901, allocations: 154.6 kB / 0.5913 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.013e-05/0.1901, allocations: 101 kB / 0.5914 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.558e-05/0.1902, allocations: 75.28 kB / 0.5915 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.136e-05/0.1902, allocations: 158.6 kB / 0.5917 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.829e-05/0.1903, allocations: 150.6 kB / 0.5918 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.106e-05/0.1904, allocations: 158.5 kB / 0.592 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003127/0.1907, allocations: 457.9 kB / 0.5924 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.884e-05/0.1908, allocations: 169.1 kB / 0.5926 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.506e-05/0.1908, allocations: 84.08 kB / 0.5926 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.64e-05/0.1908, allocations: 75.28 kB / 0.5927 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.365e-05/0.1909, allocations: 109.8 kB / 0.5928 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.1909, allocations: 3.938 kB / 0.5928 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 6.855e-05/0.191, allocations: 33.64 kB / 0.5928 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.407e-05/0.191, allocations: 126.7 kB / 0.593 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.1912, allocations: 109.8 kB / 0.5931 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.1912, allocations: 25.7 kB / 0.5931 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.681e-05/0.1912, allocations: 88.05 kB / 0.5932 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.753e-06/0.1912, allocations: 0 / 0.5932 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.436e-06/0.1912, allocations: 0 / 0.5932 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.1914, allocations: 314.8 kB / 0.5935 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.548e-05/0.1914, allocations: 7.984 kB / 0.5935 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.936e-05/0.1914, allocations: 22.58 kB / 0.5935 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.452e-05/0.1915, allocations: 11.94 kB / 0.5935 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.1915, allocations: 3.953 kB / 0.5935 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001268/0.1916, allocations: 45.62 kB / 0.5936 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.1917, allocations: 8 kB / 0.5936 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.1917, allocations: 0 / 0.5936 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.1917, allocations: 0 / 0.5936 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.047e-05/0.1918, allocations: 12.08 kB / 0.5936 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.1918, allocations: 4 kB / 0.5936 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001564/0.192, allocations: 8 kB / 0.5936 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.192, allocations: 0 / 0.5936 GB, free: 12.33 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001276/0.1921, allocations: 193 kB / 0.5938 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.657e-05/0.1922, allocations: 109 kB / 0.5939 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.016e-05/0.1923, allocations: 116.1 kB / 0.594 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.21e-05/0.1923, allocations: 180.3 kB / 0.5942 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.964e-05/0.1924, allocations: 180.2 kB / 0.5943 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.846e-05/0.1925, allocations: 180.2 kB / 0.5945 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002188/0.1927, allocations: 405.2 kB / 0.5949 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.415e-05/0.1928, allocations: 101 kB / 0.595 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.236e-05/0.1928, allocations: 116.9 kB / 0.5951 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.638e-05/0.1929, allocations: 180.2 kB / 0.5953 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.593e-05/0.1929, allocations: 180.3 kB / 0.5954 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.014e-05/0.193, allocations: 184.4 kB / 0.5956 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.929e-05/0.1931, allocations: 188.3 kB / 0.5958 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001379/0.1932, allocations: 308 kB / 0.5961 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.423e-05/0.1933, allocations: 190 kB / 0.5963 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.664e-05/0.1934, allocations: 188.1 kB / 0.5965 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.891e-05/0.1935, allocations: 101 kB / 0.5966 GB, free: 9.09 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.489e-05/0.1935, allocations: 180.3 kB / 0.5967 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.603e-05/0.1936, allocations: 108.9 kB / 0.5968 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.896e-05/0.1936, allocations: 83.28 kB / 0.5969 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1937, allocations: 0 / 0.5969 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003336/0.194, allocations: 55.92 kB / 0.597 GB, free: 8.656 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 (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.0007731/0.1948, allocations: 0.9688 MB / 0.5979 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.938e-05/0.1949, allocations: 7.938 kB / 0.5979 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1949, allocations: 0 / 0.5979 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.292e-06/0.1949, allocations: 0 / 0.5979 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003983/0.1953, allocations: 0.5265 MB / 0.5984 GB, free: 7.168 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.0007076/0.196, allocations: 449.7 kB / 0.5989 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002299/0.1962, allocations: 0.681 MB / 0.5995 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.405e-05/0.1963, allocations: 4 kB / 0.5995 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.623e-05/0.1963, allocations: 7.438 kB / 0.5995 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1963, allocations: 0 / 0.5995 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3385/0.5348, allocations: 2.337 MB / 0.6018 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003304/0.5351, allocations: 253.7 kB / 0.6021 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.751/2.286, allocations: 0 / 0.6021 GB, free: 3.488 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/linux/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) Environment - environmentSimulation: