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.001008/0.001008, 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.000973/0.000973, allocations: 193.9 kB / 16.53 MB, free: 6.699 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.198/1.198, 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.001944/0.001944, allocations: 290.7 kB / 290.7 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8852/0.8852, allocations: 169.3 MB / 0.4982 GB, free: 13.98 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001631/0.001631, allocations: 101.9 kB / 0.5954 GB, free: 28.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1263, allocations: 86.98 MB / 0.6803 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.001988/0.1283, allocations: 1.226 MB / 0.6815 GB, free: 15.39 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001194/0.1295, allocations: 1.013 MB / 0.6825 GB, free: 14.37 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.224e-05/0.1296, allocations: 0 / 0.6825 GB, free: 14.37 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.094e-05/0.1296, allocations: 0 / 0.6825 GB, free: 14.37 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003585/0.13, allocations: 103.6 kB / 0.6826 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.597e-06/0.13, allocations: 11.94 kB / 0.6826 GB, free: 14.26 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.242e-05/0.13, allocations: 3.984 kB / 0.6826 GB, free: 14.25 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.538e-05/0.1301, allocations: 3.984 kB / 0.6826 GB, free: 14.25 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.151e-05/0.1301, allocations: 0 / 0.6826 GB, free: 14.25 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.444e-05/0.1302, allocations: 4 kB / 0.6826 GB, free: 14.25 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.811e-06/0.1302, allocations: 0 / 0.6826 GB, free: 14.25 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000179/0.1304, allocations: 111.9 kB / 0.6827 GB, free: 14.14 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.533e-06/0.1304, allocations: 3.984 kB / 0.6827 GB, free: 14.13 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.321e-05/0.1304, allocations: 7.938 kB / 0.6827 GB, free: 14.12 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001679/0.1306, allocations: 100.1 kB / 0.6828 GB, free: 14.03 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1306, allocations: 3.984 kB / 0.6828 GB, free: 14.02 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1306, allocations: 4 kB / 0.6828 GB, free: 14.02 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.1306, allocations: 0 / 0.6828 GB, free: 14.02 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.0002891/0.1309, allocations: 355.5 kB / 0.6832 GB, free: 13.62 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.1309, allocations: 12.03 kB / 0.6832 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.892e-05/0.131, allocations: 106 kB / 0.6833 GB, free: 13.5 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.441e-05/0.131, allocations: 76.22 kB / 0.6833 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.1311, allocations: 239.7 kB / 0.6836 GB, free: 13.15 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.338e-05/0.1312, allocations: 154.9 kB / 0.6837 GB, free: 13 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.684e-05/0.1312, allocations: 154.9 kB / 0.6839 GB, free: 12.85 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.382e-05/0.1313, allocations: 108.9 kB / 0.684 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.215e-05/0.1313, allocations: 79.22 kB / 0.684 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.231e-05/0.1314, allocations: 154.5 kB / 0.6842 GB, free: 12.5 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.748e-05/0.1314, allocations: 150.6 kB / 0.6843 GB, free: 12.36 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.664e-05/0.1315, allocations: 158.6 kB / 0.6845 GB, free: 12.2 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000219/0.1317, allocations: 442 kB / 0.6849 GB, free: 11.72 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.566e-05/0.1318, allocations: 177.1 kB / 0.6851 GB, free: 11.54 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.633e-05/0.1318, allocations: 84.08 kB / 0.6852 GB, free: 11.45 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.187e-05/0.1318, allocations: 83.22 kB / 0.6852 GB, free: 11.37 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.644e-05/0.1319, allocations: 105.8 kB / 0.6853 GB, free: 11.25 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 7.52e-07/0.1319, allocations: 0 / 0.6853 GB, free: 11.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 5.913e-05/0.1319, allocations: 25.7 kB / 0.6854 GB, free: 11.22 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/0.132, allocations: 134.7 kB / 0.6855 GB, free: 11.08 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.104e-05/0.1321, allocations: 89.86 kB / 0.6856 GB, free: 10.98 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.988e-06/0.1321, allocations: 29.83 kB / 0.6856 GB, free: 10.95 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.48e-05/0.1321, allocations: 88.12 kB / 0.6857 GB, free: 10.86 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.593e-06/0.1321, allocations: 0.5156 kB / 0.6857 GB, free: 10.86 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.809e-05/0.1321, allocations: 9.719 kB / 0.6857 GB, free: 10.84 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.829e-05/0.1322, allocations: 310.8 kB / 0.686 GB, free: 10.53 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.429e-06/0.1322, allocations: 3.938 kB / 0.686 GB, free: 10.52 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.305e-06/0.1322, allocations: 3.938 kB / 0.686 GB, free: 10.52 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.077e-05/0.1323, allocations: 75.28 kB / 0.6861 GB, free: 10.45 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-05/0.1323, allocations: 87.28 kB / 0.6862 GB, free: 10.36 MB / 494.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.884e-05/0.1324, allocations: 29.64 kB / 0.6862 GB, free: 10.32 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.728e-05/0.1324, allocations: 79.28 kB / 0.6863 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.009e-05/0.1324, allocations: 79.28 kB / 0.6863 GB, free: 10.17 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.879e-05/0.1325, allocations: 154.5 kB / 0.6865 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.001e-05/0.1325, allocations: 79.39 kB / 0.6866 GB, free: 9.938 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.297e-05/0.1325, allocations: 158.5 kB / 0.6867 GB, free: 9.781 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.046e-05/0.1326, allocations: 83.28 kB / 0.6868 GB, free: 9.699 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.899e-05/0.1326, allocations: 75.28 kB / 0.6869 GB, free: 9.625 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.886e-05/0.1327, allocations: 265.7 kB / 0.6871 GB, free: 9.355 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.006e-05/0.1328, allocations: 108.8 kB / 0.6872 GB, free: 9.242 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.928e-05/0.1328, allocations: 112.1 kB / 0.6873 GB, free: 9.125 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.514e-05/0.1329, allocations: 184.2 kB / 0.6875 GB, free: 8.938 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.986e-05/0.1329, allocations: 176.3 kB / 0.6877 GB, free: 8.758 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.464e-05/0.133, allocations: 192.2 kB / 0.6879 GB, free: 8.562 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00018/0.1332, allocations: 397.2 kB / 0.6882 GB, free: 8.117 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.797e-05/0.1332, allocations: 104.9 kB / 0.6883 GB, free: 8.008 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.056e-05/0.1332, allocations: 104.9 kB / 0.6884 GB, free: 7.898 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.791e-05/0.1333, allocations: 188.2 kB / 0.6886 GB, free: 7.707 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.02e-05/0.1334, allocations: 184.2 kB / 0.6888 GB, free: 7.52 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.684e-05/0.1334, allocations: 180.2 kB / 0.689 GB, free: 7.336 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.82e-05/0.1335, allocations: 180.2 kB / 0.6891 GB, free: 7.152 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001014/0.1336, allocations: 307.8 kB / 0.6894 GB, free: 6.828 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.732e-05/0.1336, allocations: 194 kB / 0.6896 GB, free: 6.613 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.402e-05/0.1337, allocations: 176.3 kB / 0.6898 GB, free: 6.434 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.632e-05/0.1338, allocations: 101 kB / 0.6899 GB, free: 6.328 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.256e-05/0.1338, allocations: 180.2 kB / 0.69 GB, free: 6.145 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.04e-05/0.1339, allocations: 113 kB / 0.6902 GB, free: 6.027 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.464e-05/0.1339, allocations: 83.27 kB / 0.6902 GB, free: 5.945 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1339, allocations: 0 / 0.6902 GB, free: 5.945 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002865/0.1342, allocations: 35.94 kB / 0.6903 GB, free: 5.91 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.0006249/0.1348, allocations: 0.9492 MB / 0.6912 GB, free: 4.969 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 2.89e-05/0.1349, allocations: 0 / 0.6912 GB, free: 4.969 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.1349, allocations: 0 / 0.6912 GB, free: 4.969 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.362e-06/0.1349, allocations: 400 / 0.6912 GB, free: 4.969 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003116/0.1352, allocations: 462.1 kB / 0.6916 GB, free: 4.516 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009143/0.1361, allocations: 1.564 MB / 0.6932 GB, free: 2.875 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001863/0.1363, allocations: 0.669 MB / 0.6938 GB, free: 2.18 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.133e-06/0.1363, allocations: 0 / 0.6938 GB, free: 2.18 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.645e-05/0.1363, allocations: 11.42 kB / 0.6938 GB, free: 2.172 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1363, allocations: 0 / 0.6938 GB, free: 2.172 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02379/0.1601, allocations: 1.873 MB / 0.6957 GB, free: 492 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.126/7.286, allocations: 8.312 kB / 0.6957 GB, free: 484 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 & /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)