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.001161/0.001161, 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.001207/0.001207, allocations: 192.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.268/1.268, 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.002078/0.002078, allocations: 291 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.9355/0.9355, allocations: 169.3 MB / 0.4982 GB, free: 13.84 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001732/0.001732, allocations: 97.56 kB / 0.5954 GB, free: 27.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1265, allocations: 86.98 MB / 0.6803 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002094/0.1286, allocations: 1.216 MB / 0.6815 GB, free: 15.34 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001276/0.1299, allocations: 1.012 MB / 0.6825 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.096e-05/0.1299, allocations: 3.938 kB / 0.6825 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.488e-05/0.1299, allocations: 0 / 0.6825 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003966/0.1304, allocations: 116.2 kB / 0.6826 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.356e-06/0.1304, allocations: 0 / 0.6826 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 2.83e-05/0.1304, allocations: 0.875 kB / 0.6826 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.46e-05/0.1304, allocations: 0 / 0.6826 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.19e-05/0.1305, allocations: 4 kB / 0.6826 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.819e-05/0.1306, allocations: 0.625 kB / 0.6826 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.942e-06/0.1306, allocations: 5.594 kB / 0.6826 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001906/0.1308, allocations: 115.8 kB / 0.6827 GB, free: 14.08 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.823e-06/0.1308, allocations: 7.938 kB / 0.6827 GB, free: 14.07 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.264e-05/0.1308, allocations: 3.938 kB / 0.6827 GB, free: 14.07 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001848/0.131, allocations: 100.2 kB / 0.6828 GB, free: 13.97 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.131, allocations: 4 kB / 0.6828 GB, free: 13.97 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.131, allocations: 0 / 0.6828 GB, free: 13.97 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.131, allocations: 0 / 0.6828 GB, free: 13.97 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.0002958/0.1313, allocations: 357.3 kB / 0.6832 GB, free: 13.57 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.1314, allocations: 12.03 kB / 0.6832 GB, free: 13.56 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.964e-05/0.1314, allocations: 106 kB / 0.6833 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.481e-05/0.1315, allocations: 80.22 kB / 0.6833 GB, free: 13.37 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.1316, allocations: 239.7 kB / 0.6836 GB, free: 13.1 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.796e-05/0.1317, allocations: 150.9 kB / 0.6837 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.813e-05/0.1317, allocations: 158.9 kB / 0.6839 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.058e-05/0.1318, allocations: 104.9 kB / 0.684 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.262e-05/0.1318, allocations: 75.28 kB / 0.684 GB, free: 12.61 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.747e-05/0.1319, allocations: 150.6 kB / 0.6842 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.033e-05/0.1319, allocations: 162.5 kB / 0.6843 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.19e-05/0.132, allocations: 150.6 kB / 0.6845 GB, free: 12.15 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002398/0.1322, allocations: 442 kB / 0.6849 GB, free: 11.67 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.305e-05/0.1323, allocations: 177.1 kB / 0.6851 GB, free: 11.49 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.686e-05/0.1323, allocations: 84.14 kB / 0.6852 GB, free: 11.4 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.179e-05/0.1323, allocations: 79.22 kB / 0.6852 GB, free: 11.32 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.655e-05/0.1324, allocations: 105.8 kB / 0.6853 GB, free: 11.21 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.1324, allocations: 0 / 0.6853 GB, free: 11.21 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 6.575e-05/0.1325, allocations: 37.62 kB / 0.6854 GB, free: 11.17 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.36e-05/0.1325, allocations: 126.7 kB / 0.6855 GB, free: 11.03 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.798e-05/0.1326, allocations: 101.9 kB / 0.6856 GB, free: 10.92 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.248e-06/0.1326, allocations: 25.7 kB / 0.6856 GB, free: 10.89 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.976e-05/0.1327, allocations: 80.14 kB / 0.6857 GB, free: 10.81 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.713e-06/0.1327, allocations: 0.5156 kB / 0.6857 GB, free: 10.81 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.963e-05/0.1327, allocations: 9.719 kB / 0.6857 GB, free: 10.79 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.219e-05/0.1328, allocations: 314.8 kB / 0.686 GB, free: 10.48 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.587e-06/0.1328, allocations: 3.938 kB / 0.686 GB, free: 10.47 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.405e-06/0.1328, allocations: 0 / 0.686 GB, free: 10.47 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.244e-05/0.1328, allocations: 83.41 kB / 0.6861 GB, free: 10.39 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.83e-05/0.1329, allocations: 79.27 kB / 0.6862 GB, free: 10.31 MB / 494.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.275e-05/0.1329, allocations: 29.64 kB / 0.6862 GB, free: 10.28 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.38e-05/0.133, allocations: 83.28 kB / 0.6863 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.883e-05/0.133, allocations: 79.22 kB / 0.6863 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.961e-05/0.1331, allocations: 154.6 kB / 0.6865 GB, free: 9.965 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.761e-05/0.1331, allocations: 79.34 kB / 0.6866 GB, free: 9.887 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.305e-05/0.1331, allocations: 162.6 kB / 0.6867 GB, free: 9.727 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.576e-05/0.1332, allocations: 75.28 kB / 0.6868 GB, free: 9.652 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.128e-05/0.1332, allocations: 83.2 kB / 0.6869 GB, free: 9.57 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.384e-05/0.1333, allocations: 257.7 kB / 0.6871 GB, free: 9.309 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.751e-05/0.1334, allocations: 116.8 kB / 0.6872 GB, free: 9.188 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.518e-05/0.1335, allocations: 116 kB / 0.6873 GB, free: 9.066 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-05/0.1335, allocations: 176.3 kB / 0.6875 GB, free: 8.887 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.965e-05/0.1336, allocations: 184.2 kB / 0.6877 GB, free: 8.699 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-05/0.1336, allocations: 184.3 kB / 0.6879 GB, free: 8.512 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002096/0.1338, allocations: 397.2 kB / 0.6882 GB, free: 8.066 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.764e-05/0.1339, allocations: 112.8 kB / 0.6883 GB, free: 7.949 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.985e-05/0.1339, allocations: 109 kB / 0.6884 GB, free: 7.836 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.377e-05/0.134, allocations: 180.2 kB / 0.6886 GB, free: 7.652 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.106e-05/0.134, allocations: 176.3 kB / 0.6888 GB, free: 7.473 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.721e-05/0.1341, allocations: 176.3 kB / 0.689 GB, free: 7.293 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.674e-05/0.1342, allocations: 184.2 kB / 0.6891 GB, free: 7.105 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001152/0.1343, allocations: 315.8 kB / 0.6894 GB, free: 6.773 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.976e-05/0.1343, allocations: 182 kB / 0.6896 GB, free: 6.57 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.182e-05/0.1344, allocations: 180.3 kB / 0.6898 GB, free: 6.387 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.282e-05/0.1345, allocations: 108.9 kB / 0.6899 GB, free: 6.273 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.83e-05/0.1346, allocations: 184.3 kB / 0.6901 GB, free: 6.086 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.583e-05/0.1346, allocations: 104.9 kB / 0.6902 GB, free: 5.977 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.262e-05/0.1346, allocations: 75.28 kB / 0.6902 GB, free: 5.902 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1346, allocations: 0 / 0.6902 GB, free: 5.902 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003141/0.135, allocations: 47.92 kB / 0.6903 GB, free: 5.855 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.0006499/0.1356, allocations: 0.948 MB / 0.6912 GB, free: 4.918 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 3.286e-05/0.1357, allocations: 3.938 kB / 0.6912 GB, free: 4.914 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.1357, allocations: 0 / 0.6912 GB, free: 4.914 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.533e-06/0.1357, allocations: 400 / 0.6912 GB, free: 4.914 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003234/0.136, allocations: 464.1 kB / 0.6916 GB, free: 4.461 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009984/0.137, allocations: 1.556 MB / 0.6932 GB, free: 2.828 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002078/0.1372, allocations: 0.669 MB / 0.6938 GB, free: 2.133 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.985e-06/0.1372, allocations: 0 / 0.6938 GB, free: 2.133 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.007e-05/0.1373, allocations: 15.44 kB / 0.6938 GB, free: 2.117 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1373, allocations: 0 / 0.6938 GB, free: 2.117 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01795/0.1552, allocations: 1.876 MB / 0.6957 GB, free: 428 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.839/6.994, allocations: 8.766 kB / 0.6957 GB, free: 424 kB / 494.1 MB (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_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_GetAltitudeTMY3.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1)