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.001108/0.001108, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001094/0.001094, allocations: 191 kB / 16.25 MB, free: 6.621 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.158/1.158, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7224/0.7224, allocations: 132.2 MB / 422.3 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001096/0.001097, allocations: 68.14 kB / 0.5014 GB, free: 9.008 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1293, allocations: 80.19 MB / 0.5797 GB, free: 9.027 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002136/0.1315, allocations: 1.325 MB / 0.581 GB, free: 7.688 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001734/0.1333, allocations: 1.422 MB / 0.5824 GB, free: 6.258 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.477e-05/0.1333, allocations: 0 / 0.5824 GB, free: 6.258 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.896e-05/0.1333, allocations: 3.938 kB / 0.5824 GB, free: 6.254 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001462/0.1335, allocations: 8 kB / 0.5824 GB, free: 6.246 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005342/0.134, allocations: 208.2 kB / 0.5826 GB, free: 6.051 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.552e-05/0.1341, allocations: 31.84 kB / 0.5826 GB, free: 6.02 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.669e-05/0.1341, allocations: 4 kB / 0.5826 GB, free: 6.016 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.697e-05/0.1342, allocations: 16 kB / 0.5826 GB, free: 6 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.182e-05/0.1343, allocations: 11.97 kB / 0.5826 GB, free: 5.988 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.031e-05/0.1343, allocations: 7.938 kB / 0.5826 GB, free: 5.98 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002081/0.1345, allocations: 143.8 kB / 0.5828 GB, free: 5.84 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.292e-05/0.1346, allocations: 15.97 kB / 0.5828 GB, free: 5.824 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.727e-05/0.1346, allocations: 4 kB / 0.5828 GB, free: 5.82 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000203/0.1348, allocations: 143.8 kB / 0.5829 GB, free: 5.68 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.494e-06/0.1348, allocations: 0 / 0.5829 GB, free: 5.68 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1348, allocations: 0 / 0.5829 GB, free: 5.68 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.948e-06/0.1348, allocations: 0 / 0.5829 GB, free: 5.68 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.0003229/0.1351, allocations: 377.9 kB / 0.5833 GB, free: 5.266 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.1352, allocations: 8.031 kB / 0.5833 GB, free: 5.258 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.488e-05/0.1352, allocations: 114 kB / 0.5834 GB, free: 5.137 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.71e-05/0.1353, allocations: 88.2 kB / 0.5835 GB, free: 5.051 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.1354, allocations: 235.7 kB / 0.5837 GB, free: 4.781 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.52e-05/0.1355, allocations: 150.9 kB / 0.5839 GB, free: 4.633 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.92e-05/0.1355, allocations: 166.4 kB / 0.584 GB, free: 4.469 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.366e-05/0.1356, allocations: 101 kB / 0.5841 GB, free: 4.363 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.029e-05/0.1356, allocations: 75.28 kB / 0.5842 GB, free: 4.289 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.168e-05/0.1356, allocations: 158.6 kB / 0.5843 GB, free: 4.133 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.226e-05/0.1357, allocations: 150.6 kB / 0.5845 GB, free: 3.984 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.835e-05/0.1357, allocations: 158.5 kB / 0.5846 GB, free: 3.828 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002315/0.136, allocations: 453.9 kB / 0.5851 GB, free: 3.336 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.257e-05/0.136, allocations: 173.1 kB / 0.5852 GB, free: 3.156 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.791e-05/0.1361, allocations: 80.14 kB / 0.5853 GB, free: 3.074 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.1361, allocations: 79.28 kB / 0.5854 GB, free: 2.996 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/0.1361, allocations: 109.8 kB / 0.5855 GB, free: 2.879 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.1361, allocations: 4 kB / 0.5855 GB, free: 2.875 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 6.426e-05/0.1362, allocations: 29.61 kB / 0.5855 GB, free: 2.84 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.1363, allocations: 130.7 kB / 0.5857 GB, free: 2.699 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.161e-05/0.1363, allocations: 105.8 kB / 0.5858 GB, free: 2.586 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.1364, allocations: 29.64 kB / 0.5858 GB, free: 2.551 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.335e-05/0.1364, allocations: 84.14 kB / 0.5859 GB, free: 2.465 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.512e-06/0.1364, allocations: 4 kB / 0.5859 GB, free: 2.461 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.193e-05/0.1364, allocations: 17.7 kB / 0.5859 GB, free: 2.438 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.105e-05/0.1365, allocations: 314.8 kB / 0.5862 GB, free: 2.121 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.49e-05/0.1366, allocations: 8 kB / 0.5862 GB, free: 2.113 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.661e-05/0.1366, allocations: 22.56 kB / 0.5862 GB, free: 2.082 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.672e-05/0.1366, allocations: 30.52 kB / 0.5862 GB, free: 2.043 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.1366, allocations: 0 / 0.5862 GB, free: 2.043 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001043/0.1368, allocations: 57.59 kB / 0.5863 GB, free: 1.98 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.1368, allocations: 4 kB / 0.5863 GB, free: 1.977 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.1368, allocations: 4 kB / 0.5863 GB, free: 1.973 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.686e-06/0.1368, allocations: 0 / 0.5863 GB, free: 1.973 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.016e-05/0.1368, allocations: 4 kB / 0.5863 GB, free: 1.969 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.1369, allocations: 0 / 0.5863 GB, free: 1.969 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001392/0.137, allocations: 11.92 kB / 0.5863 GB, free: 1.957 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.137, allocations: 4 kB / 0.5863 GB, free: 1.953 MB / 494.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.371e-05/0.1371, allocations: 201.7 kB / 0.5865 GB, free: 1.746 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.643e-05/0.1372, allocations: 101.2 kB / 0.5866 GB, free: 1.641 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.021e-05/0.1372, allocations: 108.1 kB / 0.5867 GB, free: 1.523 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.8e-05/0.1373, allocations: 184.2 kB / 0.5869 GB, free: 1.336 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.696e-05/0.1373, allocations: 180.3 kB / 0.5871 GB, free: 1.152 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.317e-05/0.1374, allocations: 180.3 kB / 0.5872 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001855/0.1375, allocations: 413.2 kB / 0.5876 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.167e-05/0.1376, allocations: 108.9 kB / 0.5877 GB, free: 404 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.436e-05/0.1376, allocations: 101 kB / 0.5878 GB, free: 296 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.923e-05/0.1377, allocations: 184.3 kB / 0.588 GB, free: 104 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.993e-05/0.1377, allocations: 188.3 kB / 0.5882 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.206e-05/0.1378, allocations: 180.2 kB / 0.5884 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.772e-05/0.1378, allocations: 188.2 kB / 0.5885 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001036/0.1379, allocations: 307.7 kB / 0.5888 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.401e-05/0.138, allocations: 186 kB / 0.589 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.246e-05/0.1381, allocations: 180.3 kB / 0.5892 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.964e-05/0.1381, allocations: 108.9 kB / 0.5893 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.563e-05/0.1382, allocations: 176.3 kB / 0.5894 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.081e-05/0.1382, allocations: 105 kB / 0.5895 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.527e-05/0.1383, allocations: 91.2 kB / 0.5896 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1383, allocations: 0 / 0.5896 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002797/0.1386, allocations: 47.98 kB / 0.5897 GB, free: 14.28 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.0006515/0.1392, allocations: 0.9688 MB / 0.5906 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.547e-05/0.1393, allocations: 15.92 kB / 0.5906 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.1393, allocations: 0 / 0.5906 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.303e-06/0.1393, allocations: 0 / 0.5906 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002976/0.1396, allocations: 463.9 kB / 0.5911 GB, free: 12.86 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.0008759/0.1405, allocations: 1.345 MB / 0.5924 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001854/0.1407, allocations: 0.6844 MB / 0.5931 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.052e-05/0.1407, allocations: 4 kB / 0.5931 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.015e-05/0.1407, allocations: 7.438 kB / 0.5931 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1407, allocations: 0 / 0.5931 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.321/0.4618, allocations: 2.523 MB / 0.5955 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002067/0.462, allocations: 273.4 kB / 0.5958 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.769/2.231, allocations: 0 / 0.5958 GB, free: 8.035 MB / 0.4981 GB (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/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)