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.001466/0.001466, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001691/0.001691, allocations: 196.2 kB / 16.53 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.265/1.265, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00202/0.00202, allocations: 278.8 kB / 290.7 MB, free: 2.02 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9246/0.9246, allocations: 169.3 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001689/0.001689, allocations: 101.5 kB / 0.5953 GB, free: 27.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1229, allocations: 86.98 MB / 0.6803 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002101/0.125, allocations: 1.231 MB / 0.6815 GB, free: 15.38 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000885/0.126, allocations: 0.7168 MB / 0.6822 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.329e-05/0.126, allocations: 3.938 kB / 0.6822 GB, free: 14.65 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.477e-05/0.126, allocations: 3.984 kB / 0.6822 GB, free: 14.65 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001864/0.1262, allocations: 15.92 kB / 0.6822 GB, free: 14.63 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.449e-05/0.1263, allocations: 4.562 kB / 0.6822 GB, free: 14.63 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.991e-05/0.1264, allocations: 15.92 kB / 0.6822 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.398e-05/0.1264, allocations: 0 / 0.6822 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.686e-05/0.1264, allocations: 7.984 kB / 0.6822 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001257/0.1266, allocations: 13.62 kB / 0.6823 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.124e-05/0.1266, allocations: 0 / 0.6823 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.978e-05/0.1266, allocations: 7.984 kB / 0.6823 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.121e-05/0.1267, allocations: 7.984 kB / 0.6823 GB, free: 14.58 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.312e-05/0.1267, allocations: 3.938 kB / 0.6823 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.735e-05/0.1268, allocations: 8.281 kB / 0.6823 GB, free: 14.57 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.1268, allocations: 0 / 0.6823 GB, free: 14.57 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1268, allocations: 0 / 0.6823 GB, free: 14.57 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.1268, allocations: 4 kB / 0.6823 GB, free: 14.56 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.0002865/0.1271, allocations: 323.5 kB / 0.6826 GB, free: 14.2 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.1271, allocations: 11.97 kB / 0.6826 GB, free: 14.18 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.308e-05/0.1272, allocations: 110 kB / 0.6827 GB, free: 14.07 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.746e-05/0.1272, allocations: 80.2 kB / 0.6828 GB, free: 13.99 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.1274, allocations: 247.6 kB / 0.683 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.39e-05/0.1274, allocations: 154.9 kB / 0.6832 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.356e-05/0.1275, allocations: 154.9 kB / 0.6833 GB, free: 13.4 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.778e-05/0.1275, allocations: 101.5 kB / 0.6834 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/0.1276, allocations: 83.22 kB / 0.6835 GB, free: 13.21 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.003e-05/0.1276, allocations: 150.6 kB / 0.6836 GB, free: 13.07 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.63e-05/0.1276, allocations: 150.6 kB / 0.6838 GB, free: 12.92 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.478e-05/0.1277, allocations: 162.5 kB / 0.6839 GB, free: 12.76 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002343/0.1279, allocations: 446 kB / 0.6844 GB, free: 12.27 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.166e-05/0.128, allocations: 169.1 kB / 0.6845 GB, free: 12.1 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.574e-05/0.128, allocations: 80.14 kB / 0.6846 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.1281, allocations: 79.28 kB / 0.6847 GB, free: 11.94 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.636e-05/0.1281, allocations: 113.8 kB / 0.6848 GB, free: 11.82 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.1281, allocations: 0 / 0.6848 GB, free: 11.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 6.958e-05/0.1282, allocations: 41.62 kB / 0.6848 GB, free: 11.77 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.1282, allocations: 126.7 kB / 0.6849 GB, free: 11.63 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.153e-05/0.1283, allocations: 97.84 kB / 0.685 GB, free: 11.53 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/0.1284, allocations: 25.7 kB / 0.6851 GB, free: 11.5 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.741e-05/0.1284, allocations: 92.14 kB / 0.6851 GB, free: 11.4 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.443e-06/0.1284, allocations: 0 / 0.6851 GB, free: 11.4 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.222e-05/0.1284, allocations: 13.7 kB / 0.6852 GB, free: 11.38 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.139e-05/0.1285, allocations: 310.8 kB / 0.6855 GB, free: 11.07 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.397e-06/0.1285, allocations: 3.938 kB / 0.6855 GB, free: 11.07 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.196e-05/0.1285, allocations: 4 kB / 0.6855 GB, free: 11.06 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.543e-05/0.1286, allocations: 75.28 kB / 0.6855 GB, free: 10.99 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.919e-05/0.1286, allocations: 79.22 kB / 0.6856 GB, free: 10.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.35e-05/0.1287, allocations: 33.73 kB / 0.6856 GB, free: 10.87 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.04e-05/0.1287, allocations: 83.22 kB / 0.6857 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.484e-05/0.1287, allocations: 75.28 kB / 0.6858 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.995e-05/0.1288, allocations: 162.5 kB / 0.686 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.375e-05/0.1288, allocations: 79.8 kB / 0.686 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.106e-05/0.1289, allocations: 154.5 kB / 0.6862 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.129, allocations: 79.28 kB / 0.6862 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.982e-05/0.129, allocations: 79.28 kB / 0.6863 GB, free: 10.17 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 8.504e-05/0.1291, allocations: 257.7 kB / 0.6866 GB, free: 9.906 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.628e-05/0.1292, allocations: 117 kB / 0.6867 GB, free: 9.785 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.987e-05/0.1292, allocations: 112.1 kB / 0.6868 GB, free: 9.668 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.692e-05/0.1293, allocations: 180.2 kB / 0.687 GB, free: 9.484 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.497e-05/0.1293, allocations: 180.3 kB / 0.6871 GB, free: 9.301 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.746e-05/0.1294, allocations: 180.3 kB / 0.6873 GB, free: 9.117 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001809/0.1296, allocations: 405.2 kB / 0.6877 GB, free: 8.664 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.08e-05/0.1296, allocations: 105 kB / 0.6878 GB, free: 8.555 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.055e-05/0.1296, allocations: 108.9 kB / 0.6879 GB, free: 8.441 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.957e-05/0.1297, allocations: 188.2 kB / 0.6881 GB, free: 8.25 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.767e-05/0.1297, allocations: 176.3 kB / 0.6882 GB, free: 8.07 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.585e-05/0.1298, allocations: 188.1 kB / 0.6884 GB, free: 7.879 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.123e-05/0.1298, allocations: 184.3 kB / 0.6886 GB, free: 7.691 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001069/0.13, allocations: 303.8 kB / 0.6889 GB, free: 7.371 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.981e-05/0.13, allocations: 186.1 kB / 0.6891 GB, free: 7.164 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.771e-05/0.1301, allocations: 184.1 kB / 0.6892 GB, free: 6.977 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.216e-05/0.1302, allocations: 105 kB / 0.6893 GB, free: 6.867 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.464e-05/0.1302, allocations: 184.2 kB / 0.6895 GB, free: 6.68 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.76e-05/0.1303, allocations: 101 kB / 0.6896 GB, free: 6.574 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.97e-05/0.1303, allocations: 87.28 kB / 0.6897 GB, free: 6.488 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1303, allocations: 0 / 0.6897 GB, free: 6.488 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002512/0.1306, allocations: 8 kB / 0.6897 GB, free: 6.48 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.000449/0.131, allocations: 0.8271 MB / 0.6905 GB, free: 5.625 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 3.539e-05/0.1311, allocations: 0 / 0.6905 GB, free: 5.625 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1311, allocations: 0 / 0.6905 GB, free: 5.625 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.363e-06/0.1311, allocations: 0 / 0.6905 GB, free: 5.625 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/0.1314, allocations: 459.6 kB / 0.6909 GB, free: 5.172 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009847/0.1324, allocations: 1.567 MB / 0.6925 GB, free: 3.527 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001919/0.1326, allocations: 0.6767 MB / 0.6931 GB, free: 2.824 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.394e-05/0.1326, allocations: 4 kB / 0.6931 GB, free: 2.82 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.336e-05/0.1326, allocations: 7.438 kB / 0.6932 GB, free: 2.812 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1326, allocations: 0 / 0.6932 GB, free: 2.812 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.233/0.3656, allocations: 1.184 MB / 0.6943 GB, free: 1.801 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.097/8.462, allocations: 9.641 kB / 0.6943 GB, free: 1.797 MB / 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)