Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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.GetTimeSpanTMY3,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",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.001258/0.001258, 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.001302/0.001302, allocations: 194.3 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.284/1.284, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002094/0.002094, allocations: 286.9 kB / 290.7 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9332/0.9332, allocations: 169.3 MB / 0.4982 GB, free: 13.97 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00179/0.00179, allocations: 100.1 kB / 0.5954 GB, free: 27.74 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1303, allocations: 86.98 MB / 0.6803 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002205/0.1325, allocations: 1.248 MB / 0.6815 GB, free: 15.35 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009052/0.1334, allocations: 0.7355 MB / 0.6822 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.273e-05/0.1335, allocations: 4.656 kB / 0.6822 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.561e-05/0.1335, allocations: 0 / 0.6822 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000174/0.1337, allocations: 5.594 kB / 0.6822 GB, free: 14.6 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001673/0.1339, allocations: 59.36 kB / 0.6823 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.41e-05/0.1339, allocations: 19.97 kB / 0.6823 GB, free: 14.53 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.15e-05/0.134, allocations: 7 kB / 0.6823 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.357e-05/0.134, allocations: 15.88 kB / 0.6823 GB, free: 14.51 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001225/0.1341, allocations: 19.91 kB / 0.6824 GB, free: 14.49 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.1342, allocations: 0 / 0.6824 GB, free: 14.49 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.114e-05/0.1342, allocations: 4 kB / 0.6824 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.852e-05/0.1343, allocations: 7.984 kB / 0.6824 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.112e-05/0.1343, allocations: 15.92 kB / 0.6824 GB, free: 14.46 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.496e-05/0.1344, allocations: 16.98 kB / 0.6824 GB, free: 14.45 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.1344, allocations: 0 / 0.6824 GB, free: 14.45 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1344, allocations: 0 / 0.6824 GB, free: 14.45 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.1344, allocations: 1.719 kB / 0.6824 GB, free: 14.45 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.000281/0.1347, allocations: 331.5 kB / 0.6827 GB, free: 14.07 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.948e-05/0.1347, allocations: 12.03 kB / 0.6827 GB, free: 14.06 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.424e-05/0.1348, allocations: 106.9 kB / 0.6828 GB, free: 13.95 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.038e-05/0.1348, allocations: 80.78 kB / 0.6829 GB, free: 13.87 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.135, allocations: 243.6 kB / 0.6831 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.886e-05/0.135, allocations: 151.9 kB / 0.6833 GB, free: 13.44 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.146e-05/0.1351, allocations: 152 kB / 0.6834 GB, free: 13.29 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.449e-05/0.1351, allocations: 106.1 kB / 0.6835 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.265e-05/0.1352, allocations: 83.22 kB / 0.6836 GB, free: 13.1 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.153e-05/0.1352, allocations: 154.6 kB / 0.6838 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-05/0.1353, allocations: 154.6 kB / 0.6839 GB, free: 12.8 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.594e-05/0.1353, allocations: 162.5 kB / 0.6841 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002544/0.1356, allocations: 449.9 kB / 0.6845 GB, free: 12.15 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.743e-05/0.1356, allocations: 169.1 kB / 0.6847 GB, free: 11.97 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.606e-05/0.1357, allocations: 80.14 kB / 0.6847 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.496e-05/0.1357, allocations: 75.28 kB / 0.6848 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.269e-05/0.1357, allocations: 105.8 kB / 0.6849 GB, free: 11.7 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.1358, allocations: 4 kB / 0.6849 GB, free: 11.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 6.613e-05/0.1358, allocations: 37.58 kB / 0.6849 GB, free: 11.66 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.986e-05/0.1359, allocations: 130.7 kB / 0.6851 GB, free: 11.52 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.398e-05/0.136, allocations: 109.8 kB / 0.6852 GB, free: 11.4 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.28e-05/0.136, allocations: 25.7 kB / 0.6852 GB, free: 11.37 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.82e-05/0.136, allocations: 88.05 kB / 0.6853 GB, free: 11.28 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.543e-06/0.1361, allocations: 0 / 0.6853 GB, free: 11.28 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.217e-05/0.1361, allocations: 17.7 kB / 0.6853 GB, free: 11.25 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.622e-05/0.1362, allocations: 314.8 kB / 0.6856 GB, free: 10.94 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.641e-05/0.1362, allocations: 8 kB / 0.6856 GB, free: 10.93 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.416e-05/0.1362, allocations: 7.984 kB / 0.6856 GB, free: 10.92 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.785e-05/0.1363, allocations: 12.86 kB / 0.6856 GB, free: 10.91 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1363, allocations: 0 / 0.6856 GB, free: 10.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.815e-05/0.1364, allocations: 49.62 kB / 0.6857 GB, free: 10.85 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.1364, allocations: 11.88 kB / 0.6857 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.1364, allocations: 0 / 0.6857 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.1364, allocations: 4.125 kB / 0.6857 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.71e-07/0.1364, allocations: 4 kB / 0.6857 GB, free: 10.83 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.838e-06/0.1364, allocations: 0 / 0.6857 GB, free: 10.83 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.736e-05/0.1365, allocations: 0 / 0.6857 GB, free: 10.83 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.1365, allocations: 4.234 kB / 0.6857 GB, free: 10.83 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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.084e-05/0.1366, allocations: 186.4 kB / 0.6859 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.815e-05/0.1367, allocations: 112.8 kB / 0.686 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.187e-05/0.1367, allocations: 108.5 kB / 0.6861 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.982e-05/0.1368, allocations: 184.3 kB / 0.6863 GB, free: 10.22 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.205e-05/0.1369, allocations: 188.7 kB / 0.6864 GB, free: 10.03 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.299e-05/0.1369, allocations: 180.3 kB / 0.6866 GB, free: 9.844 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002061/0.1371, allocations: 401.2 kB / 0.687 GB, free: 9.395 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.635e-05/0.1372, allocations: 109 kB / 0.6871 GB, free: 9.281 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.493e-05/0.1372, allocations: 105.1 kB / 0.6872 GB, free: 9.172 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.657e-05/0.1373, allocations: 188.2 kB / 0.6874 GB, free: 8.98 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.649e-05/0.1373, allocations: 176.3 kB / 0.6875 GB, free: 8.801 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.15e-05/0.1374, allocations: 184.2 kB / 0.6877 GB, free: 8.613 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.913e-05/0.1375, allocations: 184.3 kB / 0.6879 GB, free: 8.426 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001143/0.1376, allocations: 307.8 kB / 0.6882 GB, free: 8.102 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.269e-05/0.1377, allocations: 186 kB / 0.6884 GB, free: 7.895 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.508e-05/0.1377, allocations: 184.1 kB / 0.6885 GB, free: 7.707 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.311e-05/0.1378, allocations: 109 kB / 0.6886 GB, free: 7.594 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.187e-05/0.1379, allocations: 176.3 kB / 0.6888 GB, free: 7.414 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.297e-05/0.1379, allocations: 108.9 kB / 0.6889 GB, free: 7.301 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.334e-05/0.138, allocations: 87.27 kB / 0.689 GB, free: 7.215 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.138, allocations: 0 / 0.689 GB, free: 7.215 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002237/0.1382, allocations: 0 / 0.689 GB, free: 7.215 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.0004203/0.1386, allocations: 0.8282 MB / 0.6898 GB, free: 6.359 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.051e-05/0.1387, allocations: 11.94 kB / 0.6898 GB, free: 6.348 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1387, allocations: 0 / 0.6898 GB, free: 6.348 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.663e-06/0.1387, allocations: 0 / 0.6898 GB, free: 6.348 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003161/0.139, allocations: 451.8 kB / 0.6903 GB, free: 5.902 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008666/0.1399, allocations: 1.296 MB / 0.6915 GB, free: 4.527 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002022/0.1401, allocations: 0.6729 MB / 0.6922 GB, free: 3.828 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.566e-05/0.1401, allocations: 7.922 kB / 0.6922 GB, free: 3.82 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.688e-05/0.1402, allocations: 7.438 kB / 0.6922 GB, free: 3.816 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1402, allocations: 0 / 0.6922 GB, free: 3.816 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0174/0.1576, allocations: 1.28 MB / 0.6934 GB, free: 2.707 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.811/6.968, allocations: 18.58 kB / 0.6935 GB, free: 2.695 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_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_GetTimeSpanTMY3.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1)