Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.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.GetTimeSpanTMY3LongHeader,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",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.0008684/0.0008685, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004953/0.004953, allocations: 176.1 kB / 16.27 MB, free: 6.613 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.226/1.226, allocations: 223.3 MB / 240.3 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 0.8337/0.8337, allocations: 135.3 MB / 426.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002671/0.0002671, allocations: 10.12 kB / 0.5077 GB, free: 4.656 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1243, allocations: 82.3 MB / 0.5881 GB, free: 2.523 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.001067/0.1254, allocations: 0.97 MB / 0.589 GB, free: 1.543 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000837/0.1262, allocations: 0.6972 MB / 0.5897 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.226e-05/0.1262, allocations: 0 / 0.5897 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.041e-05/0.1263, allocations: 0 / 0.5897 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001444/0.1264, allocations: 15.98 kB / 0.5897 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.972e-05/0.1265, allocations: 0 / 0.5897 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.44e-05/0.1265, allocations: 27.86 kB / 0.5898 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.134e-05/0.1266, allocations: 0 / 0.5898 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.869e-05/0.1266, allocations: 7.922 kB / 0.5898 GB, free: 0.793 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000126/0.1267, allocations: 15.98 kB / 0.5898 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.788e-06/0.1267, allocations: 0 / 0.5898 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.845e-05/0.1268, allocations: 4 kB / 0.5898 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.827e-05/0.1268, allocations: 11.97 kB / 0.5898 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.449e-05/0.1269, allocations: 25.7 kB / 0.5898 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.023e-05/0.1269, allocations: 15.94 kB / 0.5898 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.1269, allocations: 0 / 0.5898 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1269, allocations: 0 / 0.5898 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.1269, allocations: 4 kB / 0.5898 GB, free: 0.7109 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.0002544/0.1272, allocations: 323.8 kB / 0.5901 GB, free: 352 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.061e-05/0.1272, allocations: 8.031 kB / 0.5901 GB, free: 344 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.071e-05/0.1273, allocations: 106 kB / 0.5902 GB, free: 228 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.966e-05/0.1273, allocations: 84.12 kB / 0.5903 GB, free: 144 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.1275, allocations: 243.7 kB / 0.5906 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.143e-05/0.1275, allocations: 150.9 kB / 0.5907 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.62e-05/0.1276, allocations: 154.9 kB / 0.5909 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.217e-05/0.1276, allocations: 105.5 kB / 0.591 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.714e-05/0.1277, allocations: 79.22 kB / 0.591 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.711e-05/0.1277, allocations: 150.6 kB / 0.5912 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.431e-05/0.1278, allocations: 154.5 kB / 0.5913 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.551e-05/0.1278, allocations: 154.6 kB / 0.5915 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002328/0.128, allocations: 449.9 kB / 0.5919 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.876e-05/0.1281, allocations: 169.1 kB / 0.5921 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.003e-05/0.1281, allocations: 80.14 kB / 0.5921 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.1282, allocations: 79.28 kB / 0.5922 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.93e-05/0.1282, allocations: 113.8 kB / 0.5923 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/0.1282, allocations: 4 kB / 0.5923 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 5.711e-05/0.1283, allocations: 33.62 kB / 0.5924 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/0.1283, allocations: 126.7 kB / 0.5925 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.922e-05/0.1284, allocations: 93.86 kB / 0.5926 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.073e-05/0.1284, allocations: 25.7 kB / 0.5926 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.279e-05/0.1285, allocations: 92.14 kB / 0.5927 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.082e-06/0.1285, allocations: 0 / 0.5927 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.611e-05/0.1285, allocations: 9.719 kB / 0.5927 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.19e-05/0.1286, allocations: 314.8 kB / 0.593 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.255e-06/0.1286, allocations: 0 / 0.593 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.099e-05/0.1286, allocations: 4 kB / 0.593 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.315e-05/0.1287, allocations: 79.22 kB / 0.5931 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.826e-05/0.1287, allocations: 79.22 kB / 0.5931 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.612e-05/0.1287, allocations: 29.64 kB / 0.5932 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.323e-05/0.1288, allocations: 91.25 kB / 0.5933 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.984e-05/0.1288, allocations: 75.28 kB / 0.5933 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.161e-05/0.1288, allocations: 162.5 kB / 0.5935 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.098e-05/0.1289, allocations: 83.27 kB / 0.5936 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.593e-05/0.1289, allocations: 158.6 kB / 0.5937 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.129, allocations: 79.3 kB / 0.5938 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.812e-05/0.1291, allocations: 79.28 kB / 0.5939 GB, free: 12.32 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 9.376e-05/0.1292, allocations: 260.4 kB / 0.5941 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.648e-05/0.1292, allocations: 112.9 kB / 0.5942 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.534e-05/0.1293, allocations: 112.1 kB / 0.5943 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.184e-05/0.1293, allocations: 180.2 kB / 0.5945 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.005e-05/0.1294, allocations: 180.3 kB / 0.5947 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-05/0.1294, allocations: 176.3 kB / 0.5948 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002031/0.1296, allocations: 409.2 kB / 0.5952 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.598e-05/0.1297, allocations: 101 kB / 0.5953 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.396e-05/0.1297, allocations: 104.9 kB / 0.5954 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.674e-05/0.1298, allocations: 184.2 kB / 0.5956 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.345e-05/0.1298, allocations: 184.2 kB / 0.5958 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.934e-05/0.1299, allocations: 180.2 kB / 0.596 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-05/0.1299, allocations: 184.3 kB / 0.5961 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001007/0.13, allocations: 299.8 kB / 0.5964 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.484e-05/0.1301, allocations: 194.1 kB / 0.5966 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.786e-05/0.1302, allocations: 184.1 kB / 0.5968 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.449e-05/0.1302, allocations: 101 kB / 0.5969 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.985e-05/0.1303, allocations: 188.2 kB / 0.597 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.606e-05/0.1303, allocations: 101 kB / 0.5971 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.051e-05/0.1304, allocations: 83.28 kB / 0.5972 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1304, allocations: 4 kB / 0.5972 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002334/0.1306, allocations: 0 / 0.5972 GB, free: 8.652 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.0004207/0.1311, allocations: 0.8344 MB / 0.598 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 2.859e-05/0.1311, allocations: 4 kB / 0.598 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.1311, allocations: 0 / 0.598 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.515e-06/0.1311, allocations: 0 / 0.598 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003175/0.1314, allocations: 0.5241 MB / 0.5986 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009178/0.1323, allocations: 1.571 MB / 0.6001 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000199/0.1326, allocations: 0.6692 MB / 0.6007 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.268e-05/0.1326, allocations: 0 / 0.6007 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.104e-05/0.1326, allocations: 15.42 kB / 0.6008 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of SimCode: time 2e-07/0.1326, allocations: 0 / 0.6008 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4546/0.5873, allocations: 0.9911 MB / 0.6017 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001766/0.5875, allocations: 237.3 kB / 0.602 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.61/2.197, allocations: 0 / 0.602 GB, free: 3.875 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1)