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.001209/0.001209, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001198/0.001198, allocations: 191.6 kB / 16.13 MB, free: 6.664 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.239/1.239, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7172/0.7172, allocations: 132.2 MB / 422.1 MB, free: 2.016 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00111/0.00111, allocations: 63.88 kB / 0.5012 GB, free: 9.105 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.122, allocations: 80.21 MB / 0.5795 GB, free: 9.121 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002011/0.1241, allocations: 1.321 MB / 0.5808 GB, free: 7.785 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001714/0.1258, allocations: 1.446 MB / 0.5822 GB, free: 6.332 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.403e-05/0.1258, allocations: 0 / 0.5822 GB, free: 6.332 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.394e-05/0.1258, allocations: 0 / 0.5822 GB, free: 6.332 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001262/0.126, allocations: 7.938 kB / 0.5822 GB, free: 6.324 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004693/0.1264, allocations: 192.8 kB / 0.5824 GB, free: 6.141 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.066e-05/0.1265, allocations: 19.94 kB / 0.5824 GB, free: 6.121 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.553e-05/0.1265, allocations: 3.984 kB / 0.5824 GB, free: 6.117 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.993e-05/0.1266, allocations: 23.92 kB / 0.5825 GB, free: 6.094 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.1267, allocations: 11.92 kB / 0.5825 GB, free: 6.082 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.125e-05/0.1267, allocations: 4 kB / 0.5825 GB, free: 6.078 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002068/0.127, allocations: 147.8 kB / 0.5826 GB, free: 5.934 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.169e-05/0.127, allocations: 0 / 0.5826 GB, free: 5.934 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.912e-05/0.127, allocations: 15.97 kB / 0.5826 GB, free: 5.918 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002088/0.1272, allocations: 143.8 kB / 0.5828 GB, free: 5.777 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.207e-06/0.1272, allocations: 0 / 0.5828 GB, free: 5.777 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.31e-07/0.1272, allocations: 0 / 0.5828 GB, free: 5.777 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.1272, allocations: 0 / 0.5828 GB, free: 5.777 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.0003194/0.1276, allocations: 376.9 kB / 0.5831 GB, free: 5.363 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.1276, allocations: 12.03 kB / 0.5831 GB, free: 5.352 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.499e-05/0.1277, allocations: 106 kB / 0.5832 GB, free: 5.238 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.685e-05/0.1277, allocations: 84.22 kB / 0.5833 GB, free: 5.156 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.1279, allocations: 243.6 kB / 0.5835 GB, free: 4.879 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.708e-05/0.1279, allocations: 158.9 kB / 0.5837 GB, free: 4.723 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.874e-05/0.128, allocations: 158.5 kB / 0.5838 GB, free: 4.566 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.774e-05/0.128, allocations: 105 kB / 0.5839 GB, free: 4.457 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/0.128, allocations: 75.28 kB / 0.584 GB, free: 4.383 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.243e-05/0.1281, allocations: 150.6 kB / 0.5842 GB, free: 4.234 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.704e-05/0.1281, allocations: 154.6 kB / 0.5843 GB, free: 4.082 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.075e-05/0.1282, allocations: 150.6 kB / 0.5845 GB, free: 3.934 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002329/0.1284, allocations: 457.9 kB / 0.5849 GB, free: 3.438 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.437e-05/0.1285, allocations: 173.1 kB / 0.5851 GB, free: 3.258 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.408e-05/0.1285, allocations: 80.14 kB / 0.5851 GB, free: 3.176 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.1285, allocations: 75.28 kB / 0.5852 GB, free: 3.102 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.759e-05/0.1286, allocations: 113.8 kB / 0.5853 GB, free: 2.98 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.1286, allocations: 0 / 0.5853 GB, free: 2.98 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 6.874e-05/0.1287, allocations: 41.53 kB / 0.5854 GB, free: 2.934 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/0.1287, allocations: 126.7 kB / 0.5855 GB, free: 2.797 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.745e-05/0.1288, allocations: 105.8 kB / 0.5856 GB, free: 2.684 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.1288, allocations: 25.7 kB / 0.5856 GB, free: 2.652 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.404e-05/0.1289, allocations: 84.12 kB / 0.5857 GB, free: 2.566 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.423e-06/0.1289, allocations: 0 / 0.5857 GB, free: 2.566 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.8e-05/0.1289, allocations: 25.72 kB / 0.5857 GB, free: 2.535 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.397e-05/0.129, allocations: 314.8 kB / 0.586 GB, free: 2.219 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.158e-05/0.129, allocations: 3.984 kB / 0.586 GB, free: 2.215 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.832e-05/0.1291, allocations: 26.56 kB / 0.586 GB, free: 2.18 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.597e-05/0.1291, allocations: 30.52 kB / 0.5861 GB, free: 2.141 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.1291, allocations: 0 / 0.5861 GB, free: 2.141 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001106/0.1292, allocations: 57.81 kB / 0.5861 GB, free: 2.078 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.327e-06/0.1292, allocations: 4 kB / 0.5861 GB, free: 2.074 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/0.1292, allocations: 0 / 0.5861 GB, free: 2.074 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.317e-06/0.1293, allocations: 4 kB / 0.5861 GB, free: 2.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.474e-05/0.1293, allocations: 11.98 kB / 0.5861 GB, free: 2.059 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.1293, allocations: 0 / 0.5861 GB, free: 2.059 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001442/0.1295, allocations: 4 kB / 0.5861 GB, free: 2.055 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.1295, allocations: 8.094 kB / 0.5861 GB, free: 2.047 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.265e-05/0.1296, allocations: 201.6 kB / 0.5863 GB, free: 1.84 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.996e-05/0.1296, allocations: 105 kB / 0.5864 GB, free: 1.73 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.562e-05/0.1297, allocations: 104.1 kB / 0.5865 GB, free: 1.617 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.726e-05/0.1297, allocations: 180.2 kB / 0.5867 GB, free: 1.434 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.184e-05/0.1298, allocations: 180.3 kB / 0.5869 GB, free: 1.25 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.041e-05/0.1298, allocations: 184.2 kB / 0.5871 GB, free: 1.062 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001793/0.13, allocations: 405.1 kB / 0.5874 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.732e-05/0.1301, allocations: 105 kB / 0.5875 GB, free: 0.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.25e-05/0.1301, allocations: 113 kB / 0.5877 GB, free: 392 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.324e-05/0.1301, allocations: 180.2 kB / 0.5878 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.234e-05/0.1302, allocations: 188.2 kB / 0.588 GB, free: 8 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.593e-05/0.1303, allocations: 180.3 kB / 0.5882 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.664e-05/0.1303, allocations: 176.3 kB / 0.5883 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001037/0.1304, allocations: 319.8 kB / 0.5887 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.498e-05/0.1305, allocations: 186 kB / 0.5888 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.473e-05/0.1305, allocations: 176.3 kB / 0.589 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.737e-05/0.1306, allocations: 109 kB / 0.5891 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.331e-05/0.1307, allocations: 180.2 kB / 0.5893 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-05/0.1307, allocations: 104.9 kB / 0.5894 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.795e-05/0.1307, allocations: 83.28 kB / 0.5895 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1307, allocations: 0 / 0.5895 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002872/0.131, allocations: 59.98 kB / 0.5895 GB, free: 14.38 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.0006742/0.1317, allocations: 0.9727 MB / 0.5905 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.116e-05/0.1318, allocations: 8.125 kB / 0.5905 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1318, allocations: 4.062 kB / 0.5905 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.455e-06/0.1318, allocations: 3.938 kB / 0.5905 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003221/0.1321, allocations: 0.5185 MB / 0.591 GB, free: 12.89 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.0008868/0.133, allocations: 1.351 MB / 0.5923 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001843/0.1332, allocations: 0.677 MB / 0.593 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.361e-05/0.1333, allocations: 7.891 kB / 0.593 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.002e-05/0.1333, allocations: 15.38 kB / 0.593 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1333, allocations: 0 / 0.593 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 8.122/8.255, allocations: 2.469 MB / 0.5954 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000316/8.255, allocations: 263.8 kB / 0.5956 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.68/9.935, allocations: 0 / 0.5956 GB, free: 8.09 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)