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.001364/0.001364, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00107/0.00107, allocations: 194.9 kB / 16.25 MB, free: 6.621 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.329/1.329, allocations: 222.9 MB / 239.9 MB, free: 4.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002163/0.002163, allocations: 286.8 kB / 290.4 MB, free: 2.074 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9024/0.9024, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001667/0.001667, allocations: 100.1 kB / 0.5948 GB, free: 28.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1268, allocations: 86.97 MB / 0.6797 GB, free: 0.9688 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002179/0.129, allocations: 1.297 MB / 0.681 GB, free: 15.67 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001298/0.1303, allocations: 0.9924 MB / 0.682 GB, free: 14.67 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.016e-05/0.1303, allocations: 0 / 0.682 GB, free: 14.67 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.676e-05/0.1304, allocations: 0 / 0.682 GB, free: 14.67 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000387/0.1308, allocations: 95.73 kB / 0.6821 GB, free: 14.58 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.795e-06/0.1308, allocations: 0.625 kB / 0.6821 GB, free: 14.58 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 2.862e-05/0.1308, allocations: 4 kB / 0.6821 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.839e-05/0.1309, allocations: 0.6562 kB / 0.6821 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.924e-05/0.1309, allocations: 12.48 kB / 0.6821 GB, free: 14.56 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.86e-05/0.131, allocations: 6.031 kB / 0.6821 GB, free: 14.56 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.011e-06/0.131, allocations: 0.7188 kB / 0.6821 GB, free: 14.56 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000178/0.1312, allocations: 107.9 kB / 0.6822 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.399e-06/0.1312, allocations: 0.625 kB / 0.6822 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.23e-05/0.1312, allocations: 5.906 kB / 0.6822 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001778/0.1314, allocations: 108.1 kB / 0.6823 GB, free: 14.34 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.1314, allocations: 3.938 kB / 0.6823 GB, free: 14.34 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1314, allocations: 0 / 0.6823 GB, free: 14.34 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.1314, allocations: 0 / 0.6823 GB, free: 14.34 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.0002931/0.1317, allocations: 355.5 kB / 0.6826 GB, free: 13.95 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.1317, allocations: 8.031 kB / 0.6827 GB, free: 13.94 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.693e-05/0.1318, allocations: 106 kB / 0.6828 GB, free: 13.82 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.86e-05/0.1319, allocations: 76.22 kB / 0.6828 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.132, allocations: 251.6 kB / 0.6831 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.449e-05/0.132, allocations: 154.9 kB / 0.6832 GB, free: 13.31 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.725e-05/0.1321, allocations: 154.9 kB / 0.6834 GB, free: 13.16 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.211e-05/0.1321, allocations: 104.9 kB / 0.6835 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/0.1322, allocations: 75.28 kB / 0.6835 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.214e-05/0.1322, allocations: 150.6 kB / 0.6837 GB, free: 12.83 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.788e-05/0.1322, allocations: 154.6 kB / 0.6838 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.558e-05/0.1323, allocations: 154.5 kB / 0.684 GB, free: 12.52 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002211/0.1325, allocations: 449.9 kB / 0.6844 GB, free: 12.04 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.251e-05/0.1326, allocations: 165.1 kB / 0.6846 GB, free: 11.86 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.367e-05/0.1326, allocations: 80.14 kB / 0.6846 GB, free: 11.78 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.1327, allocations: 83.22 kB / 0.6847 GB, free: 11.7 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/0.1327, allocations: 109.8 kB / 0.6848 GB, free: 11.58 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.1327, allocations: 0 / 0.6848 GB, free: 11.58 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 6.124e-05/0.1328, allocations: 33.64 kB / 0.6848 GB, free: 11.54 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.691e-05/0.1328, allocations: 126.7 kB / 0.685 GB, free: 11.41 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.219e-05/0.1329, allocations: 97.84 kB / 0.6851 GB, free: 11.3 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.887e-06/0.1329, allocations: 25.7 kB / 0.6851 GB, free: 11.27 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.496e-05/0.133, allocations: 80.14 kB / 0.6852 GB, free: 11.19 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.152e-06/0.133, allocations: 4.125 kB / 0.6852 GB, free: 11.18 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.003e-05/0.133, allocations: 13.72 kB / 0.6852 GB, free: 11.16 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.286e-05/0.1331, allocations: 314.8 kB / 0.6855 GB, free: 10.85 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.016e-06/0.1331, allocations: 3.938 kB / 0.6855 GB, free: 10.84 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.324e-06/0.1331, allocations: 0 / 0.6855 GB, free: 10.84 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.046e-05/0.1331, allocations: 75.28 kB / 0.6856 GB, free: 10.77 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-05/0.1331, allocations: 75.28 kB / 0.6856 GB, free: 10.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.188e-05/0.1332, allocations: 37.58 kB / 0.6857 GB, free: 10.65 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.868e-05/0.1332, allocations: 83.28 kB / 0.6857 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.159e-05/0.1333, allocations: 79.27 kB / 0.6858 GB, free: 10.49 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.942e-05/0.1333, allocations: 154.6 kB / 0.686 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.862e-05/0.1333, allocations: 79.22 kB / 0.686 GB, free: 10.26 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.891e-05/0.1334, allocations: 150.6 kB / 0.6862 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.386e-05/0.1334, allocations: 83.27 kB / 0.6863 GB, free: 10.03 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.47e-05/0.1335, allocations: 87.28 kB / 0.6863 GB, free: 9.945 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.228e-05/0.1336, allocations: 257.7 kB / 0.6866 GB, free: 9.684 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.129e-05/0.1336, allocations: 120.7 kB / 0.6867 GB, free: 9.559 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.7e-05/0.1337, allocations: 108.1 kB / 0.6868 GB, free: 9.445 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.506e-05/0.1337, allocations: 176.3 kB / 0.687 GB, free: 9.266 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.802e-05/0.1338, allocations: 188.2 kB / 0.6872 GB, free: 9.074 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.817e-05/0.1338, allocations: 176.3 kB / 0.6873 GB, free: 8.895 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001765/0.134, allocations: 405.2 kB / 0.6877 GB, free: 8.441 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.801e-05/0.134, allocations: 104.9 kB / 0.6878 GB, free: 8.332 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.887e-05/0.1341, allocations: 101 kB / 0.6879 GB, free: 8.227 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.822e-05/0.1341, allocations: 184.2 kB / 0.6881 GB, free: 8.039 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.742e-05/0.1342, allocations: 188.2 kB / 0.6883 GB, free: 7.848 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.665e-05/0.1342, allocations: 180.2 kB / 0.6884 GB, free: 7.664 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.546e-05/0.1343, allocations: 176.3 kB / 0.6886 GB, free: 7.484 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.983e-05/0.1344, allocations: 307.8 kB / 0.6889 GB, free: 7.16 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.376e-05/0.1344, allocations: 190 kB / 0.6891 GB, free: 6.949 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.767e-05/0.1345, allocations: 188.2 kB / 0.6893 GB, free: 6.758 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.574e-05/0.1346, allocations: 101.4 kB / 0.6894 GB, free: 6.652 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.037e-05/0.1346, allocations: 180.2 kB / 0.6895 GB, free: 6.469 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-05/0.1347, allocations: 108.9 kB / 0.6896 GB, free: 6.355 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.233e-05/0.1347, allocations: 83.28 kB / 0.6897 GB, free: 6.273 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1347, allocations: 4.094 kB / 0.6897 GB, free: 6.27 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003068/0.135, allocations: 43.92 kB / 0.6898 GB, free: 6.227 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.0006248/0.1357, allocations: 0.9292 MB / 0.6907 GB, free: 5.305 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 3.251e-05/0.1357, allocations: 11.94 kB / 0.6907 GB, free: 5.293 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.1357, allocations: 0 / 0.6907 GB, free: 5.293 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.112e-06/0.1357, allocations: 0 / 0.6907 GB, free: 5.293 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003109/0.136, allocations: 455.7 kB / 0.6911 GB, free: 4.844 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009197/0.137, allocations: 1.562 MB / 0.6926 GB, free: 3.207 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001769/0.1371, allocations: 0.6769 MB / 0.6933 GB, free: 2.504 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.915e-06/0.1372, allocations: 0 / 0.6933 GB, free: 2.504 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.022e-05/0.1372, allocations: 11.44 kB / 0.6933 GB, free: 2.496 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1372, allocations: 0 / 0.6933 GB, free: 2.496 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01158/0.1488, allocations: 1.789 MB / 0.6951 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002061/0.149, allocations: 298.7 kB / 0.6953 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.565/1.714, allocations: 0 / 0.6953 GB, free: 0.5508 MB / 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 & /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)