Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.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_NonzeroStart,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart",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.001038/0.001038, 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.001023/0.001023, allocations: 196.6 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.27/1.27, allocations: 222.9 MB / 240.2 MB, free: 4.406 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: 286.5 kB / 290.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9273/0.9273, allocations: 169.3 MB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00168/0.00168, allocations: 95.42 kB / 0.5953 GB, free: 27.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1264, allocations: 86.98 MB / 0.6803 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart): time 0.002222/0.1287, allocations: 1.262 MB / 0.6815 GB, free: 15.32 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009307/0.1296, allocations: 0.7393 MB / 0.6822 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.556e-05/0.1297, allocations: 0 / 0.6822 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.472e-05/0.1297, allocations: 7.922 kB / 0.6822 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001757/0.1299, allocations: 7.938 kB / 0.6823 GB, free: 14.56 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001728/0.1301, allocations: 49.3 kB / 0.6823 GB, free: 14.51 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.655e-05/0.1301, allocations: 19.92 kB / 0.6823 GB, free: 14.49 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.983e-05/0.1302, allocations: 11.98 kB / 0.6823 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.346e-05/0.1302, allocations: 8 kB / 0.6823 GB, free: 14.47 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000129/0.1304, allocations: 11.92 kB / 0.6823 GB, free: 14.46 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.1304, allocations: 4 kB / 0.6824 GB, free: 14.46 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.413e-05/0.1304, allocations: 11.92 kB / 0.6824 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.846e-05/0.1305, allocations: 4 kB / 0.6824 GB, free: 14.44 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.117e-05/0.1305, allocations: 15.92 kB / 0.6824 GB, free: 14.43 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.63e-05/0.1306, allocations: 16.2 kB / 0.6824 GB, free: 14.41 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.1306, allocations: 4 kB / 0.6824 GB, free: 14.41 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1306, allocations: 0 / 0.6824 GB, free: 14.41 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.1306, allocations: 0 / 0.6824 GB, free: 14.41 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.000295/0.1309, allocations: 333.4 kB / 0.6827 GB, free: 14.03 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.131, allocations: 12.03 kB / 0.6827 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.273e-05/0.131, allocations: 106 kB / 0.6828 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.573e-05/0.1311, allocations: 84.16 kB / 0.6829 GB, free: 13.82 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.1312, allocations: 235.7 kB / 0.6831 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.286e-05/0.1313, allocations: 150.9 kB / 0.6833 GB, free: 13.41 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.194e-05/0.1313, allocations: 158.9 kB / 0.6834 GB, free: 13.25 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.561e-05/0.1314, allocations: 109.5 kB / 0.6835 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.403e-05/0.1314, allocations: 79.22 kB / 0.6836 GB, free: 13.06 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.062e-05/0.1315, allocations: 158.5 kB / 0.6838 GB, free: 12.9 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.413e-05/0.1315, allocations: 158.6 kB / 0.6839 GB, free: 12.75 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.485e-05/0.1316, allocations: 154.5 kB / 0.6841 GB, free: 12.59 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002486/0.1318, allocations: 454 kB / 0.6845 GB, free: 12.1 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.252e-05/0.1319, allocations: 173.1 kB / 0.6847 GB, free: 11.92 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.575e-05/0.1319, allocations: 80.14 kB / 0.6847 GB, free: 11.84 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.1319, allocations: 79.28 kB / 0.6848 GB, free: 11.76 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.694e-05/0.132, allocations: 105.8 kB / 0.6849 GB, free: 11.65 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.132, allocations: 4 kB / 0.6849 GB, free: 11.64 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 6.588e-05/0.1321, allocations: 29.64 kB / 0.6849 GB, free: 11.61 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.1321, allocations: 130.7 kB / 0.6851 GB, free: 11.47 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.971e-05/0.1322, allocations: 109.8 kB / 0.6852 GB, free: 11.35 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/0.1322, allocations: 33.64 kB / 0.6852 GB, free: 11.31 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.799e-05/0.1323, allocations: 84.05 kB / 0.6853 GB, free: 11.23 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.543e-06/0.1323, allocations: 0 / 0.6853 GB, free: 11.23 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.653e-05/0.1323, allocations: 17.7 kB / 0.6853 GB, free: 11.2 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.678e-05/0.1324, allocations: 314.8 kB / 0.6856 GB, free: 10.89 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.735e-05/0.1324, allocations: 8 kB / 0.6856 GB, free: 10.88 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.032e-05/0.1325, allocations: 11.98 kB / 0.6856 GB, free: 10.87 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.046e-05/0.1325, allocations: 12.86 kB / 0.6856 GB, free: 10.85 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.1325, allocations: 0 / 0.6856 GB, free: 10.85 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.661e-05/0.1326, allocations: 41.69 kB / 0.6857 GB, free: 10.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.1326, allocations: 11.94 kB / 0.6857 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1327, allocations: 0 / 0.6857 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.889e-06/0.1327, allocations: 4.125 kB / 0.6857 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.204e-06/0.1327, allocations: 3.938 kB / 0.6857 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.1327, allocations: 0 / 0.6857 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001189/0.1328, allocations: 4 kB / 0.6857 GB, free: 10.78 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.1328, allocations: 0 / 0.6857 GB, free: 10.78 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.308e-05/0.1329, allocations: 186.4 kB / 0.6859 GB, free: 10.59 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.788e-05/0.133, allocations: 112.9 kB / 0.686 GB, free: 10.47 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.711e-05/0.133, allocations: 108.5 kB / 0.6861 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.825e-05/0.1331, allocations: 180.2 kB / 0.6863 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.271e-05/0.1331, allocations: 184.8 kB / 0.6864 GB, free: 9.988 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.793e-05/0.1332, allocations: 184.2 kB / 0.6866 GB, free: 9.801 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001945/0.1334, allocations: 397.2 kB / 0.687 GB, free: 9.355 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.573e-05/0.1334, allocations: 109 kB / 0.6871 GB, free: 9.242 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.64e-05/0.1335, allocations: 109.1 kB / 0.6872 GB, free: 9.129 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.288e-05/0.1335, allocations: 184.2 kB / 0.6874 GB, free: 8.941 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.297e-05/0.1336, allocations: 184.2 kB / 0.6875 GB, free: 8.754 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.576e-05/0.1336, allocations: 180.3 kB / 0.6877 GB, free: 8.57 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.955e-05/0.1337, allocations: 180.2 kB / 0.6879 GB, free: 8.387 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001143/0.1338, allocations: 312 kB / 0.6882 GB, free: 8.059 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.762e-05/0.1339, allocations: 189.9 kB / 0.6884 GB, free: 7.848 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.967e-05/0.1339, allocations: 188.2 kB / 0.6885 GB, free: 7.656 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.247e-05/0.134, allocations: 108.9 kB / 0.6887 GB, free: 7.543 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.262e-05/0.1341, allocations: 176.3 kB / 0.6888 GB, free: 7.363 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.284e-05/0.1341, allocations: 109 kB / 0.6889 GB, free: 7.25 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.082e-05/0.1342, allocations: 83.27 kB / 0.689 GB, free: 7.168 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1342, allocations: 0 / 0.689 GB, free: 7.168 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002253/0.1344, allocations: 4 kB / 0.689 GB, free: 7.164 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.0004068/0.1348, allocations: 0.8239 MB / 0.6898 GB, free: 6.316 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.294e-05/0.1349, allocations: 11.98 kB / 0.6898 GB, free: 6.305 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.1349, allocations: 4 kB / 0.6898 GB, free: 6.301 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.703e-06/0.1349, allocations: 0 / 0.6898 GB, free: 6.301 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/0.1352, allocations: 459.7 kB / 0.6903 GB, free: 5.848 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008653/0.1361, allocations: 1.295 MB / 0.6915 GB, free: 4.473 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001935/0.1363, allocations: 0.669 MB / 0.6922 GB, free: 3.777 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.422e-05/0.1363, allocations: 4 kB / 0.6922 GB, free: 3.773 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.847e-05/0.1363, allocations: 7.438 kB / 0.6922 GB, free: 3.766 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1363, allocations: 0 / 0.6922 GB, free: 3.766 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0175/0.1539, allocations: 1.309 MB / 0.6935 GB, free: 2.641 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.917/7.071, allocations: 11.34 kB / 0.6935 GB, free: 2.637 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart_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_NonzeroStart.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe 2>&1)