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.001047/0.001047, allocations: 108 kB / 15.6 MB, free: 132 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.001164/0.001164, allocations: 191.9 kB / 16.53 MB, free: 6.391 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.274/1.274, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002066/0.002066, allocations: 283.1 kB / 290.7 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9604/0.9604, allocations: 169.3 MB / 0.4982 GB, free: 13.84 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001745/0.001745, allocations: 98.22 kB / 0.5954 GB, free: 27.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1271, allocations: 86.97 MB / 0.6803 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.00209/0.1292, allocations: 1.223 MB / 0.6815 GB, free: 15.33 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008702/0.1301, allocations: 0.7277 MB / 0.6822 GB, free: 14.6 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.137e-05/0.1301, allocations: 0 / 0.6822 GB, free: 14.6 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.422e-05/0.1301, allocations: 4.859 kB / 0.6822 GB, free: 14.6 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001734/0.1303, allocations: 11.92 kB / 0.6822 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.11e-05/0.1304, allocations: 8.625 kB / 0.6822 GB, free: 14.58 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.702e-05/0.1304, allocations: 13.23 kB / 0.6822 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.29e-05/0.1305, allocations: 0 / 0.6822 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.729e-05/0.1305, allocations: 4 kB / 0.6822 GB, free: 14.56 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001183/0.1306, allocations: 11.98 kB / 0.6822 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.056e-05/0.1307, allocations: 0.75 kB / 0.6822 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.808e-05/0.1307, allocations: 4 kB / 0.6823 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.491e-05/0.1307, allocations: 15.97 kB / 0.6823 GB, free: 14.53 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.25e-05/0.1308, allocations: 7.938 kB / 0.6823 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.681e-05/0.1308, allocations: 8.281 kB / 0.6823 GB, free: 14.52 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.1309, allocations: 0 / 0.6823 GB, free: 14.52 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1309, allocations: 0 / 0.6823 GB, free: 14.52 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.547e-06/0.1309, allocations: 0 / 0.6823 GB, free: 14.52 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.0002842/0.1312, allocations: 315.5 kB / 0.6826 GB, free: 14.16 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.1312, allocations: 15.97 kB / 0.6826 GB, free: 14.14 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.707e-05/0.1312, allocations: 114 kB / 0.6827 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.856e-05/0.1313, allocations: 84.2 kB / 0.6828 GB, free: 13.94 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.1315, allocations: 243.6 kB / 0.683 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.897e-05/0.1315, allocations: 150.9 kB / 0.6832 GB, free: 13.51 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.243e-05/0.1316, allocations: 150.9 kB / 0.6833 GB, free: 13.36 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.099e-05/0.1316, allocations: 105.5 kB / 0.6834 GB, free: 13.25 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.402e-05/0.1317, allocations: 79.22 kB / 0.6835 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.701e-05/0.1317, allocations: 154.6 kB / 0.6836 GB, free: 13.02 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.465e-05/0.1318, allocations: 154.6 kB / 0.6838 GB, free: 12.87 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.466e-05/0.1318, allocations: 162.5 kB / 0.6839 GB, free: 12.71 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002475/0.1321, allocations: 438 kB / 0.6844 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.8e-05/0.1321, allocations: 177.1 kB / 0.6845 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.807e-05/0.1322, allocations: 80.14 kB / 0.6846 GB, free: 11.97 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.567e-05/0.1322, allocations: 79.22 kB / 0.6847 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.533e-05/0.1322, allocations: 113.8 kB / 0.6848 GB, free: 11.77 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.1322, allocations: 0 / 0.6848 GB, free: 11.77 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 6.376e-05/0.1323, allocations: 37.62 kB / 0.6848 GB, free: 11.73 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.011e-05/0.1324, allocations: 130.7 kB / 0.6849 GB, free: 11.59 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.905e-05/0.1325, allocations: 97.86 kB / 0.685 GB, free: 11.48 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.1325, allocations: 25.7 kB / 0.6851 GB, free: 11.45 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.37e-05/0.1325, allocations: 80.14 kB / 0.6851 GB, free: 11.37 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.232e-06/0.1325, allocations: 3.938 kB / 0.6851 GB, free: 11.36 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-05/0.1326, allocations: 17.7 kB / 0.6852 GB, free: 11.34 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.979e-05/0.1327, allocations: 314.8 kB / 0.6855 GB, free: 11.02 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.196e-06/0.1327, allocations: 0 / 0.6855 GB, free: 11.02 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.335e-05/0.1327, allocations: 8 kB / 0.6855 GB, free: 11.02 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.687e-05/0.1327, allocations: 75.28 kB / 0.6855 GB, free: 10.94 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.057e-05/0.1327, allocations: 79.22 kB / 0.6856 GB, free: 10.86 MB / 494.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.207e-05/0.1328, allocations: 29.7 kB / 0.6856 GB, free: 10.83 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.741e-05/0.1328, allocations: 84.94 kB / 0.6857 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.105e-05/0.1329, allocations: 75.28 kB / 0.6858 GB, free: 10.67 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.766e-05/0.1329, allocations: 158.5 kB / 0.6859 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.903e-05/0.1329, allocations: 83.83 kB / 0.686 GB, free: 10.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.905e-05/0.133, allocations: 154.5 kB / 0.6862 GB, free: 10.28 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.1331, allocations: 79.28 kB / 0.6862 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.913e-05/0.1331, allocations: 75.28 kB / 0.6863 GB, free: 10.13 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 9.616e-05/0.1332, allocations: 261.7 kB / 0.6866 GB, free: 9.863 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.277e-05/0.1333, allocations: 117 kB / 0.6867 GB, free: 9.742 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.687e-05/0.1334, allocations: 112.1 kB / 0.6868 GB, free: 9.625 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.284e-05/0.1334, allocations: 180.2 kB / 0.687 GB, free: 9.441 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.686e-05/0.1335, allocations: 180.3 kB / 0.6871 GB, free: 9.258 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.746e-05/0.1335, allocations: 176.3 kB / 0.6873 GB, free: 9.078 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002082/0.1337, allocations: 409.2 kB / 0.6877 GB, free: 8.621 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-05/0.1338, allocations: 105 kB / 0.6878 GB, free: 8.512 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.096e-05/0.1338, allocations: 108.9 kB / 0.6879 GB, free: 8.398 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.662e-05/0.1339, allocations: 188.2 kB / 0.6881 GB, free: 8.207 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.318e-05/0.1339, allocations: 176.3 kB / 0.6882 GB, free: 8.027 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.434e-05/0.134, allocations: 184.2 kB / 0.6884 GB, free: 7.84 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.777e-05/0.134, allocations: 180.3 kB / 0.6886 GB, free: 7.656 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001219/0.1342, allocations: 311.7 kB / 0.6889 GB, free: 7.328 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.473e-05/0.1342, allocations: 182.1 kB / 0.6891 GB, free: 7.125 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.641e-05/0.1343, allocations: 184.1 kB / 0.6892 GB, free: 6.938 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.862e-05/0.1344, allocations: 105 kB / 0.6893 GB, free: 6.828 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.142e-05/0.1345, allocations: 192.2 kB / 0.6895 GB, free: 6.633 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.682e-05/0.1345, allocations: 101 kB / 0.6896 GB, free: 6.527 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.691e-05/0.1345, allocations: 79.47 kB / 0.6897 GB, free: 6.449 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1345, allocations: 0 / 0.6897 GB, free: 6.449 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002725/0.1348, allocations: 4 kB / 0.6897 GB, free: 6.445 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.0004412/0.1353, allocations: 0.8365 MB / 0.6905 GB, free: 5.582 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 3.389e-05/0.1353, allocations: 0 / 0.6905 GB, free: 5.582 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.1353, allocations: 3.938 kB / 0.6905 GB, free: 5.578 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.282e-06/0.1353, allocations: 0 / 0.6905 GB, free: 5.578 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003201/0.1356, allocations: 464.4 kB / 0.691 GB, free: 5.121 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009907/0.1366, allocations: 1.569 MB / 0.6925 GB, free: 3.477 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002082/0.1369, allocations: 0.6767 MB / 0.6931 GB, free: 2.773 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.273e-05/0.1369, allocations: 4 kB / 0.6932 GB, free: 2.77 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.654e-05/0.1369, allocations: 7.438 kB / 0.6932 GB, free: 2.762 MB / 494.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1369, allocations: 0 / 0.6932 GB, free: 2.762 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01546/0.1524, allocations: 1.186 MB / 0.6943 GB, free: 1.746 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.795/6.947, allocations: 8.688 kB / 0.6943 GB, free: 1.742 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1)