Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="BuildingSystems_BuildingSystems_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.0007994/0.000799, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.004787/0.004787, allocations: 171.2 kB / 16.27 MB, free: 6.652 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.195/1.195, 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/NcDataReader2 2.5.1-master/package.mo): time 0.001573/0.001573, allocations: 278.4 kB / 291.7 MB, free: 1.883 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8606/0.8606, allocations: 169.5 MB / 0.5004 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004043/0.0004043, allocations: 15.25 kB / 0.5988 GB, free: 28.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1436, allocations: 88.54 MB / 0.6852 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.001283/0.1449, allocations: 0.9633 MB / 0.6862 GB, free: 13.97 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009672/0.1459, allocations: 0.7034 MB / 0.6869 GB, free: 13.27 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.344e-05/0.1459, allocations: 0 / 0.6869 GB, free: 13.27 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.592e-05/0.146, allocations: 3.984 kB / 0.6869 GB, free: 13.26 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001599/0.1461, allocations: 8 kB / 0.6869 GB, free: 13.25 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.593e-05/0.1462, allocations: 1.875 kB / 0.6869 GB, free: 13.25 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.212e-05/0.1463, allocations: 27.91 kB / 0.6869 GB, free: 13.23 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.444e-05/0.1463, allocations: 0 / 0.6869 GB, free: 13.23 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.481e-05/0.1463, allocations: 0 / 0.6869 GB, free: 13.23 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001281/0.1465, allocations: 11.98 kB / 0.6869 GB, free: 13.21 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.014e-05/0.1465, allocations: 0.5938 kB / 0.6869 GB, free: 13.21 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.246e-05/0.1465, allocations: 8.547 kB / 0.6869 GB, free: 13.21 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.274e-05/0.1466, allocations: 11.98 kB / 0.6869 GB, free: 13.2 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.969e-05/0.1466, allocations: 30.17 kB / 0.687 GB, free: 13.16 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.678e-05/0.1467, allocations: 18.39 kB / 0.687 GB, free: 13.14 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1467, allocations: 3.938 kB / 0.687 GB, free: 13.14 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1467, allocations: 0 / 0.687 GB, free: 13.14 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.986e-06/0.1467, allocations: 0 / 0.687 GB, free: 13.14 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.0002787/0.147, allocations: 315.5 kB / 0.6873 GB, free: 12.78 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.147, allocations: 8.531 kB / 0.6873 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.525e-05/0.1471, allocations: 111.8 kB / 0.6874 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.391e-05/0.1471, allocations: 84.22 kB / 0.6875 GB, free: 12.57 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.1473, allocations: 239.7 kB / 0.6877 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.828e-05/0.1474, allocations: 151.8 kB / 0.6879 GB, free: 12.15 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.535e-05/0.1474, allocations: 151.5 kB / 0.688 GB, free: 12 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.906e-05/0.1475, allocations: 106.7 kB / 0.6881 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.686e-05/0.1475, allocations: 80.78 kB / 0.6882 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.206e-05/0.1476, allocations: 154.5 kB / 0.6883 GB, free: 11.66 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.504e-05/0.1476, allocations: 154.6 kB / 0.6885 GB, free: 11.51 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.506e-05/0.1477, allocations: 151.7 kB / 0.6886 GB, free: 11.36 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002609/0.1479, allocations: 449.3 kB / 0.689 GB, free: 10.88 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.346e-05/0.148, allocations: 169.1 kB / 0.6892 GB, free: 10.7 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.969e-05/0.1481, allocations: 80.14 kB / 0.6893 GB, free: 10.62 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.726e-05/0.1481, allocations: 88.28 kB / 0.6894 GB, free: 10.54 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.281e-05/0.1481, allocations: 105.8 kB / 0.6895 GB, free: 10.42 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 8.02e-07/0.1482, allocations: 4.656 kB / 0.6895 GB, free: 10.42 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 7.008e-05/0.1482, allocations: 34.42 kB / 0.6895 GB, free: 10.38 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.197e-05/0.1483, allocations: 131.4 kB / 0.6896 GB, free: 10.24 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.165e-05/0.1484, allocations: 97.86 kB / 0.6897 GB, free: 10.13 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/0.1484, allocations: 26.33 kB / 0.6897 GB, free: 10.1 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.567e-05/0.1484, allocations: 85.89 kB / 0.6898 GB, free: 10.02 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.653e-06/0.1485, allocations: 0 / 0.6898 GB, free: 10.02 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.69e-05/0.1485, allocations: 9.719 kB / 0.6898 GB, free: 10 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.1486, allocations: 314.8 kB / 0.6901 GB, free: 9.684 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.226e-06/0.1486, allocations: 4 kB / 0.6901 GB, free: 9.68 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.451e-05/0.1486, allocations: 7.938 kB / 0.6902 GB, free: 9.672 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.605e-05/0.1486, allocations: 79.28 kB / 0.6902 GB, free: 9.594 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.095e-05/0.1487, allocations: 75.28 kB / 0.6903 GB, free: 9.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.907e-05/0.1487, allocations: 26.22 kB / 0.6903 GB, free: 9.488 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.088e-05/0.1488, allocations: 87.27 kB / 0.6904 GB, free: 9.402 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.636e-05/0.1488, allocations: 79.28 kB / 0.6905 GB, free: 9.324 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.419e-05/0.1489, allocations: 158.7 kB / 0.6906 GB, free: 9.168 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.274e-05/0.1489, allocations: 75.28 kB / 0.6907 GB, free: 9.094 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-05/0.149, allocations: 162.6 kB / 0.6909 GB, free: 8.934 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/0.1491, allocations: 79.3 kB / 0.6909 GB, free: 8.855 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.602e-05/0.1491, allocations: 79.27 kB / 0.691 GB, free: 8.777 MB / 494.1 MB 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 0.0001231/0.1492, allocations: 269.7 kB / 0.6913 GB, free: 8.504 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.605e-05/0.1493, allocations: 108.9 kB / 0.6914 GB, free: 8.391 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.016e-05/0.1494, allocations: 112.1 kB / 0.6915 GB, free: 8.273 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.015e-05/0.1494, allocations: 180.2 kB / 0.6917 GB, free: 8.09 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.927e-05/0.1495, allocations: 176.3 kB / 0.6918 GB, free: 7.91 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.156e-05/0.1496, allocations: 180.3 kB / 0.692 GB, free: 7.727 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002117/0.1498, allocations: 409.2 kB / 0.6924 GB, free: 7.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-05/0.1498, allocations: 101 kB / 0.6925 GB, free: 7.164 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.035e-05/0.1499, allocations: 104.9 kB / 0.6926 GB, free: 7.055 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.722e-05/0.1499, allocations: 188.2 kB / 0.6928 GB, free: 6.863 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.271e-05/0.15, allocations: 184.2 kB / 0.6929 GB, free: 6.676 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.776e-05/0.1501, allocations: 180.3 kB / 0.6931 GB, free: 6.492 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.57e-05/0.1501, allocations: 180.3 kB / 0.6933 GB, free: 6.309 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001222/0.1503, allocations: 307.7 kB / 0.6936 GB, free: 5.984 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.447e-05/0.1503, allocations: 190 kB / 0.6938 GB, free: 5.773 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.111e-05/0.1504, allocations: 180.2 kB / 0.6939 GB, free: 5.59 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.48e-05/0.1505, allocations: 105 kB / 0.694 GB, free: 5.48 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.578e-05/0.1506, allocations: 184.2 kB / 0.6942 GB, free: 5.293 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.219e-05/0.1506, allocations: 113 kB / 0.6943 GB, free: 5.176 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.747e-05/0.1507, allocations: 83.22 kB / 0.6944 GB, free: 5.094 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1507, allocations: 0 / 0.6944 GB, free: 5.094 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002513/0.1509, allocations: 0 / 0.6944 GB, free: 5.094 MB / 494.1 MB 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.0004983/0.1514, allocations: 0.8309 MB / 0.6952 GB, free: 4.234 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 3.129e-05/0.1515, allocations: 4 kB / 0.6952 GB, free: 4.23 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1515, allocations: 0 / 0.6952 GB, free: 4.23 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.653e-06/0.1515, allocations: 0 / 0.6952 GB, free: 4.23 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003512/0.1518, allocations: 0.5232 MB / 0.6957 GB, free: 3.703 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/0.1529, allocations: 1.563 MB / 0.6972 GB, free: 2.062 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002375/0.1531, allocations: 0.6692 MB / 0.6979 GB, free: 1.367 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.55e-05/0.1532, allocations: 4 kB / 0.6979 GB, free: 1.363 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.11e-05/0.1532, allocations: 11.44 kB / 0.6979 GB, free: 1.352 MB / 494.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1532, allocations: 4.031 kB / 0.6979 GB, free: 1.348 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9382/1.091, allocations: 1.008 MB / 0.6989 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002308/1.092, allocations: 263.1 kB / 0.6991 GB, free: 268 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.001/3.092, allocations: 2.578 kB / 0.6991 GB, free: 268 kB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1)