Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.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.GetAltitudeTMY3,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",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.001219/0.001219, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.004951/0.00495, allocations: 170.4 kB / 16.26 MB, free: 6.617 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.212/1.212, allocations: 223.2 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001706/0.001706, allocations: 270.6 kB / 291.7 MB, free: 1.895 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9095/0.9095, allocations: 169.5 MB / 0.5004 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003747/0.0003747, allocations: 16.09 kB / 0.5988 GB, free: 27.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1261, allocations: 88.55 MB / 0.6852 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.001078/0.1272, allocations: 0.9572 MB / 0.6862 GB, free: 13.99 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001186/0.1284, allocations: 0.9929 MB / 0.6871 GB, free: 12.99 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.967e-06/0.1284, allocations: 0.5312 kB / 0.6871 GB, free: 12.99 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.052e-05/0.1284, allocations: 0 / 0.6871 GB, free: 12.99 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000292/0.1287, allocations: 88.39 kB / 0.6872 GB, free: 12.9 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.984e-06/0.1287, allocations: 0.75 kB / 0.6872 GB, free: 12.9 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 2.545e-05/0.1288, allocations: 3.938 kB / 0.6872 GB, free: 12.9 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.236e-05/0.1288, allocations: 1.188 kB / 0.6872 GB, free: 12.9 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.455e-05/0.1288, allocations: 7.984 kB / 0.6872 GB, free: 12.89 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.682e-05/0.1289, allocations: 0 / 0.6872 GB, free: 12.89 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.5e-06/0.1289, allocations: 0 / 0.6872 GB, free: 12.89 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001631/0.1291, allocations: 116.4 kB / 0.6874 GB, free: 12.78 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.037e-06/0.1291, allocations: 1.062 kB / 0.6874 GB, free: 12.78 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.234e-05/0.1291, allocations: 33.62 kB / 0.6874 GB, free: 12.74 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001605/0.1293, allocations: 100.2 kB / 0.6875 GB, free: 12.64 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.766e-06/0.1293, allocations: 1.562 kB / 0.6875 GB, free: 12.64 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1293, allocations: 0 / 0.6875 GB, free: 12.64 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.1293, allocations: 0 / 0.6875 GB, free: 12.64 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.0002551/0.1296, allocations: 350.5 kB / 0.6878 GB, free: 12.25 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.1296, allocations: 12.03 kB / 0.6878 GB, free: 12.24 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.525e-05/0.1297, allocations: 110 kB / 0.6879 GB, free: 12.12 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.634e-05/0.1297, allocations: 79.47 kB / 0.688 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.1299, allocations: 239.7 kB / 0.6882 GB, free: 11.78 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.471e-05/0.1299, allocations: 154.9 kB / 0.6884 GB, free: 11.62 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.354e-05/0.13, allocations: 150.9 kB / 0.6885 GB, free: 11.48 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.622e-05/0.13, allocations: 105.4 kB / 0.6886 GB, free: 11.37 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.13, allocations: 75.81 kB / 0.6887 GB, free: 11.29 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.736e-05/0.1301, allocations: 151.1 kB / 0.6888 GB, free: 11.14 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.541e-05/0.1301, allocations: 161.1 kB / 0.689 GB, free: 10.99 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.767e-05/0.1302, allocations: 150.6 kB / 0.6891 GB, free: 10.84 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002225/0.1304, allocations: 450.7 kB / 0.6896 GB, free: 10.35 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.466e-05/0.1305, allocations: 166.9 kB / 0.6897 GB, free: 10.18 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.481e-05/0.1305, allocations: 80.14 kB / 0.6898 GB, free: 10.1 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.974e-05/0.1305, allocations: 83.88 kB / 0.6899 GB, free: 10.02 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/0.1306, allocations: 112 kB / 0.69 GB, free: 9.898 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 7.31e-07/0.1306, allocations: 0 / 0.69 GB, free: 9.898 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 5.265e-05/0.1306, allocations: 29.7 kB / 0.69 GB, free: 9.863 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.407e-05/0.1307, allocations: 126.7 kB / 0.6901 GB, free: 9.727 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.03e-05/0.1308, allocations: 100.1 kB / 0.6902 GB, free: 9.621 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.738e-06/0.1308, allocations: 25.7 kB / 0.6903 GB, free: 9.59 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.927e-05/0.1308, allocations: 84.14 kB / 0.6903 GB, free: 9.504 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.072e-06/0.1308, allocations: 0 / 0.6903 GB, free: 9.504 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.613e-05/0.1309, allocations: 10.5 kB / 0.6904 GB, free: 9.488 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.485e-05/0.1309, allocations: 310.8 kB / 0.6907 GB, free: 9.176 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.234e-06/0.131, allocations: 0.5938 kB / 0.6907 GB, free: 9.176 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.377e-06/0.131, allocations: 0.875 kB / 0.6907 GB, free: 9.176 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.857e-05/0.131, allocations: 87.16 kB / 0.6907 GB, free: 9.09 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.881e-05/0.131, allocations: 75.81 kB / 0.6908 GB, free: 9.016 MB / 494.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.726e-05/0.1311, allocations: 30.86 kB / 0.6908 GB, free: 8.98 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.712e-05/0.1311, allocations: 83.28 kB / 0.6909 GB, free: 8.898 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.68e-05/0.1311, allocations: 76.12 kB / 0.691 GB, free: 8.824 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.678e-05/0.1312, allocations: 162.6 kB / 0.6911 GB, free: 8.664 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.513e-05/0.1312, allocations: 75.28 kB / 0.6912 GB, free: 8.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.065e-05/0.1313, allocations: 158.5 kB / 0.6914 GB, free: 8.434 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.832e-05/0.1313, allocations: 79.33 kB / 0.6914 GB, free: 8.355 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.313e-05/0.1314, allocations: 79.28 kB / 0.6915 GB, free: 8.277 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.671e-05/0.1315, allocations: 257.7 kB / 0.6918 GB, free: 8.016 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.854e-05/0.1315, allocations: 116.9 kB / 0.6919 GB, free: 7.895 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.16e-05/0.1316, allocations: 108.1 kB / 0.692 GB, free: 7.781 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.051e-05/0.1316, allocations: 184.2 kB / 0.6922 GB, free: 7.594 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.71e-05/0.1317, allocations: 176.3 kB / 0.6923 GB, free: 7.414 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.112e-05/0.1317, allocations: 180.3 kB / 0.6925 GB, free: 7.23 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001858/0.1319, allocations: 405.2 kB / 0.6929 GB, free: 6.777 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.545e-05/0.132, allocations: 112.9 kB / 0.693 GB, free: 6.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.685e-05/0.132, allocations: 104.9 kB / 0.6931 GB, free: 6.551 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.968e-05/0.132, allocations: 180.3 kB / 0.6933 GB, free: 6.367 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.258e-05/0.1321, allocations: 180.2 kB / 0.6934 GB, free: 6.184 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.552e-05/0.1322, allocations: 180.2 kB / 0.6936 GB, free: 6 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.166e-05/0.1322, allocations: 184.3 kB / 0.6938 GB, free: 5.812 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001031/0.1323, allocations: 303.7 kB / 0.6941 GB, free: 5.492 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.404e-05/0.1324, allocations: 194 kB / 0.6943 GB, free: 5.277 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.728e-05/0.1325, allocations: 188.2 kB / 0.6944 GB, free: 5.086 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.449e-05/0.1325, allocations: 105 kB / 0.6945 GB, free: 4.977 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.019e-05/0.1326, allocations: 188.2 kB / 0.6947 GB, free: 4.785 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.414e-05/0.1326, allocations: 105.4 kB / 0.6948 GB, free: 4.676 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.708e-05/0.1327, allocations: 75.28 kB / 0.6949 GB, free: 4.602 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1327, allocations: 0 / 0.6949 GB, free: 4.602 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002793/0.133, allocations: 47.92 kB / 0.6949 GB, free: 4.555 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.0006147/0.1336, allocations: 0.9528 MB / 0.6959 GB, free: 3.613 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 2.296e-05/0.1336, allocations: 0 / 0.6959 GB, free: 3.613 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1336, allocations: 0 / 0.6959 GB, free: 3.613 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.012e-06/0.1336, allocations: 0 / 0.6959 GB, free: 3.613 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003226/0.1339, allocations: 0.5224 MB / 0.6964 GB, free: 3.086 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008949/0.1349, allocations: 1.555 MB / 0.6979 GB, free: 1.453 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001932/0.1351, allocations: 0.6731 MB / 0.6985 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.804e-06/0.1351, allocations: 0 / 0.6985 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.571e-05/0.1351, allocations: 15.42 kB / 0.6986 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1351, allocations: 32 / 0.6986 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.25/2.385, allocations: 1.66 MB / 0.7002 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003486/2.385, allocations: 294.7 kB / 0.7005 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.496/3.881, allocations: 7.016 kB / 0.7005 GB, free: 14.91 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1)