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.00118/0.00118, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001144/0.001144, allocations: 189.9 kB / 16.13 MB, free: 6.66 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.207/1.207, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001956/0.001956, allocations: 287 kB / 290.2 MB, free: 2.203 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8649/0.8649, allocations: 169.2 MB / 0.4977 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001583/0.001583, allocations: 89.56 kB / 0.5946 GB, free: 28.35 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1203, allocations: 86.99 MB / 0.6795 GB, free: 1.105 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002028/0.1223, allocations: 1.3 MB / 0.6808 GB, free: 15.8 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001214/0.1236, allocations: 0.9963 MB / 0.6818 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.408e-06/0.1236, allocations: 0 / 0.6818 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.352e-05/0.1236, allocations: 0 / 0.6818 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003066/0.1239, allocations: 91.73 kB / 0.6819 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.354e-06/0.1239, allocations: 0 / 0.6819 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 2.772e-05/0.124, allocations: 4 kB / 0.6819 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.307e-05/0.124, allocations: 0 / 0.6819 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.432e-05/0.124, allocations: 7.984 kB / 0.6819 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.743e-05/0.1241, allocations: 0 / 0.6819 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.16e-06/0.1241, allocations: 0 / 0.6819 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001733/0.1243, allocations: 111.8 kB / 0.682 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.968e-06/0.1243, allocations: 0 / 0.682 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.366e-05/0.1243, allocations: 7.875 kB / 0.682 GB, free: 14.58 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001699/0.1245, allocations: 108.2 kB / 0.6821 GB, free: 14.48 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1245, allocations: 4 kB / 0.6821 GB, free: 14.47 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.81e-07/0.1245, allocations: 3.938 kB / 0.6821 GB, free: 14.47 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.805e-06/0.1245, allocations: 0 / 0.6821 GB, free: 14.47 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.0002735/0.1248, allocations: 351.5 kB / 0.6824 GB, free: 14.08 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.1249, allocations: 8.031 kB / 0.6825 GB, free: 14.07 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.984e-05/0.1249, allocations: 106 kB / 0.6826 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.798e-05/0.125, allocations: 76.22 kB / 0.6826 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.1251, allocations: 243.7 kB / 0.6829 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.137e-05/0.1251, allocations: 154.9 kB / 0.683 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.855e-05/0.1252, allocations: 154.9 kB / 0.6832 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.905e-05/0.1252, allocations: 104.9 kB / 0.6833 GB, free: 13.19 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/0.1253, allocations: 79.27 kB / 0.6833 GB, free: 13.11 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.112e-05/0.1253, allocations: 150.6 kB / 0.6835 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.972e-05/0.1254, allocations: 158.6 kB / 0.6836 GB, free: 12.81 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.073e-05/0.1254, allocations: 150.6 kB / 0.6838 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002171/0.1256, allocations: 442 kB / 0.6842 GB, free: 12.18 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.661e-05/0.1257, allocations: 169.1 kB / 0.6844 GB, free: 12 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.653e-05/0.1257, allocations: 84.14 kB / 0.6844 GB, free: 11.92 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.135e-05/0.1258, allocations: 83.22 kB / 0.6845 GB, free: 11.84 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.83e-05/0.1258, allocations: 109.8 kB / 0.6846 GB, free: 11.72 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.1258, allocations: 0 / 0.6846 GB, free: 11.72 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 6.326e-05/0.1259, allocations: 29.69 kB / 0.6846 GB, free: 11.68 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/0.1259, allocations: 130.6 kB / 0.6848 GB, free: 11.54 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.751e-05/0.126, allocations: 97.86 kB / 0.6849 GB, free: 11.44 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.356e-06/0.126, allocations: 25.7 kB / 0.6849 GB, free: 11.41 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.666e-05/0.1261, allocations: 80.14 kB / 0.685 GB, free: 11.32 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.162e-06/0.1261, allocations: 0 / 0.685 GB, free: 11.32 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.976e-05/0.1261, allocations: 13.72 kB / 0.685 GB, free: 11.3 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.036e-05/0.1262, allocations: 314.8 kB / 0.6853 GB, free: 10.99 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.226e-06/0.1262, allocations: 3.938 kB / 0.6853 GB, free: 10.98 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.466e-06/0.1262, allocations: 4 kB / 0.6853 GB, free: 10.98 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.107e-05/0.1262, allocations: 79.39 kB / 0.6854 GB, free: 10.9 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.213e-05/0.1263, allocations: 79.28 kB / 0.6854 GB, free: 10.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.293e-05/0.1263, allocations: 33.64 kB / 0.6855 GB, free: 10.79 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/0.1263, allocations: 79.28 kB / 0.6855 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.169e-05/0.1264, allocations: 79.22 kB / 0.6856 GB, free: 10.63 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.918e-05/0.1264, allocations: 158.5 kB / 0.6858 GB, free: 10.47 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.995e-05/0.1264, allocations: 79.22 kB / 0.6858 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.28e-05/0.1265, allocations: 154.6 kB / 0.686 GB, free: 10.24 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.632e-05/0.1266, allocations: 87.27 kB / 0.6861 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.708e-05/0.1266, allocations: 83.22 kB / 0.6862 GB, free: 10.07 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.258e-05/0.1267, allocations: 257.1 kB / 0.6864 GB, free: 9.812 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.876e-05/0.1267, allocations: 108.8 kB / 0.6865 GB, free: 9.699 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.83e-05/0.1268, allocations: 112 kB / 0.6866 GB, free: 9.582 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-05/0.1268, allocations: 184.3 kB / 0.6868 GB, free: 9.395 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.792e-05/0.1269, allocations: 184.2 kB / 0.687 GB, free: 9.207 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.68e-05/0.1269, allocations: 180.2 kB / 0.6871 GB, free: 9.023 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001851/0.1271, allocations: 397.2 kB / 0.6875 GB, free: 8.578 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.939e-05/0.1272, allocations: 112.8 kB / 0.6876 GB, free: 8.461 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.235e-05/0.1272, allocations: 109 kB / 0.6877 GB, free: 8.348 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.828e-05/0.1273, allocations: 180.2 kB / 0.6879 GB, free: 8.164 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.728e-05/0.1273, allocations: 180.3 kB / 0.6881 GB, free: 7.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.628e-05/0.1274, allocations: 176.3 kB / 0.6882 GB, free: 7.801 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.955e-05/0.1274, allocations: 184.2 kB / 0.6884 GB, free: 7.613 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001032/0.1275, allocations: 307.8 kB / 0.6887 GB, free: 7.289 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.341e-05/0.1276, allocations: 186 kB / 0.6889 GB, free: 7.082 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.661e-05/0.1276, allocations: 184.2 kB / 0.6891 GB, free: 6.895 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.538e-05/0.1277, allocations: 104.9 kB / 0.6892 GB, free: 6.785 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.054e-05/0.1278, allocations: 176.3 kB / 0.6893 GB, free: 6.605 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.234e-05/0.1278, allocations: 113.4 kB / 0.6894 GB, free: 6.488 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.074e-05/0.1278, allocations: 79.28 kB / 0.6895 GB, free: 6.41 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1279, allocations: 0 / 0.6895 GB, free: 6.41 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003003/0.1282, allocations: 43.92 kB / 0.6896 GB, free: 6.367 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.0006171/0.1288, allocations: 0.9482 MB / 0.6905 GB, free: 5.43 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 2.688e-05/0.1288, allocations: 8 kB / 0.6905 GB, free: 5.422 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.1288, allocations: 0 / 0.6905 GB, free: 5.422 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.303e-06/0.1288, allocations: 3.938 kB / 0.6905 GB, free: 5.418 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003114/0.1292, allocations: 0.5146 MB / 0.691 GB, free: 4.898 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009282/0.1301, allocations: 1.561 MB / 0.6925 GB, free: 3.258 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001838/0.1303, allocations: 0.6692 MB / 0.6932 GB, free: 2.562 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.446e-06/0.1303, allocations: 0 / 0.6932 GB, free: 2.562 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.637e-05/0.1303, allocations: 11.44 kB / 0.6932 GB, free: 2.555 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1303, allocations: 0 / 0.6932 GB, free: 2.555 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1309/0.2612, allocations: 1.758 MB / 0.6949 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001944/0.2614, allocations: 296.3 kB / 0.6952 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.462/1.723, allocations: 1.562 kB / 0.6952 GB, free: 0.6133 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)