Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.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.GetTimeSpanTMY3LongHeader,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",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.001153/0.001153, 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.001145/0.001145, allocations: 197.5 kB / 16.14 MB, free: 6.664 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.172/1.172, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001945/0.001945, allocations: 275.8 kB / 290.2 MB, free: 2.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.855/0.855, allocations: 169.2 MB / 0.4977 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001545, allocations: 101 kB / 0.5946 GB, free: 28.24 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1219, allocations: 86.98 MB / 0.6795 GB, free: 1.125 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.001977/0.1239, allocations: 1.294 MB / 0.6808 GB, free: 15.82 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008133/0.1247, allocations: 0.7039 MB / 0.6815 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.195e-05/0.1247, allocations: 1.969 kB / 0.6815 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.439e-05/0.1248, allocations: 0 / 0.6815 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001452/0.1249, allocations: 11.92 kB / 0.6815 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.148e-05/0.125, allocations: 8 kB / 0.6815 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.021e-05/0.125, allocations: 15.97 kB / 0.6815 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.98e-05/0.1251, allocations: 4 kB / 0.6815 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.538e-05/0.1251, allocations: 4 kB / 0.6815 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001171/0.1252, allocations: 11.92 kB / 0.6816 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.019e-05/0.1252, allocations: 0 / 0.6816 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.244e-05/0.1253, allocations: 15.98 kB / 0.6816 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.44e-05/0.1253, allocations: 0 / 0.6816 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.403e-05/0.1253, allocations: 11.94 kB / 0.6816 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.079e-05/0.1254, allocations: 12.25 kB / 0.6816 GB, free: 15.03 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.1254, allocations: 0 / 0.6816 GB, free: 15.03 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.62e-07/0.1254, allocations: 0 / 0.6816 GB, free: 15.03 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.585e-06/0.1254, allocations: 0 / 0.6816 GB, free: 15.03 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.0002723/0.1257, allocations: 327.5 kB / 0.6819 GB, free: 14.66 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.114e-05/0.1258, allocations: 8.031 kB / 0.6819 GB, free: 14.65 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.563e-05/0.1258, allocations: 106 kB / 0.682 GB, free: 14.54 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.334e-05/0.1259, allocations: 80.22 kB / 0.6821 GB, free: 14.46 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/0.126, allocations: 247.6 kB / 0.6823 GB, free: 14.18 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.49e-05/0.126, allocations: 154.9 kB / 0.6825 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.887e-05/0.1261, allocations: 158.9 kB / 0.6826 GB, free: 13.87 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.367e-05/0.1261, allocations: 101.5 kB / 0.6827 GB, free: 13.76 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/0.1262, allocations: 79.22 kB / 0.6828 GB, free: 13.68 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.418e-05/0.1262, allocations: 150.6 kB / 0.6829 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.385e-05/0.1263, allocations: 154.5 kB / 0.6831 GB, free: 13.38 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.804e-05/0.1263, allocations: 150.6 kB / 0.6832 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002327/0.1265, allocations: 457.9 kB / 0.6837 GB, free: 12.74 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.005e-05/0.1266, allocations: 165.1 kB / 0.6838 GB, free: 12.57 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.543e-05/0.1267, allocations: 88.08 kB / 0.6839 GB, free: 12.48 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.634e-05/0.1267, allocations: 75.28 kB / 0.684 GB, free: 12.4 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/0.1267, allocations: 117.8 kB / 0.6841 GB, free: 12.28 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/0.1267, allocations: 0 / 0.6841 GB, free: 12.28 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 5.816e-05/0.1268, allocations: 33.58 kB / 0.6841 GB, free: 12.24 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.667e-05/0.1268, allocations: 126.7 kB / 0.6842 GB, free: 12.1 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.475e-05/0.1269, allocations: 101.8 kB / 0.6843 GB, free: 11.99 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.1269, allocations: 25.7 kB / 0.6844 GB, free: 11.96 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.255e-05/0.127, allocations: 84.14 kB / 0.6844 GB, free: 11.88 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.072e-06/0.127, allocations: 4 kB / 0.6845 GB, free: 11.87 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.909e-05/0.127, allocations: 9.719 kB / 0.6845 GB, free: 11.86 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.577e-05/0.1271, allocations: 314.8 kB / 0.6848 GB, free: 11.54 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.416e-06/0.1271, allocations: 0 / 0.6848 GB, free: 11.54 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.236e-05/0.1271, allocations: 0 / 0.6848 GB, free: 11.54 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.808e-05/0.1272, allocations: 75.28 kB / 0.6848 GB, free: 11.46 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.012e-05/0.1272, allocations: 79.31 kB / 0.6849 GB, free: 11.39 MB / 494.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.169e-05/0.1272, allocations: 38.16 kB / 0.6849 GB, free: 11.34 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.811e-05/0.1273, allocations: 87.25 kB / 0.685 GB, free: 11.26 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.851e-05/0.1273, allocations: 83.28 kB / 0.6851 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.172e-05/0.1274, allocations: 150.6 kB / 0.6852 GB, free: 11.03 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.646e-05/0.1274, allocations: 79.22 kB / 0.6853 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.631e-05/0.1274, allocations: 150.7 kB / 0.6855 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001132/0.1275, allocations: 91.22 kB / 0.6856 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.934e-05/0.1276, allocations: 79.28 kB / 0.6856 GB, free: 10.63 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.178e-05/0.1277, allocations: 261.7 kB / 0.6859 GB, free: 10.37 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.564e-05/0.1277, allocations: 108.9 kB / 0.686 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.314e-05/0.1278, allocations: 108 kB / 0.6861 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.958e-05/0.1278, allocations: 180.2 kB / 0.6863 GB, free: 9.957 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.366e-05/0.1279, allocations: 188.4 kB / 0.6864 GB, free: 9.766 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.317e-05/0.1279, allocations: 176.3 kB / 0.6866 GB, free: 9.586 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001867/0.1281, allocations: 405.2 kB / 0.687 GB, free: 9.133 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.36e-05/0.1282, allocations: 108.9 kB / 0.6871 GB, free: 9.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.506e-05/0.1282, allocations: 101 kB / 0.6872 GB, free: 8.914 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.369e-05/0.1282, allocations: 184.1 kB / 0.6874 GB, free: 8.727 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.289e-05/0.1283, allocations: 184.3 kB / 0.6875 GB, free: 8.539 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.143e-05/0.1284, allocations: 188.2 kB / 0.6877 GB, free: 8.348 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.074e-05/0.1284, allocations: 184.2 kB / 0.6879 GB, free: 8.16 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001259/0.1286, allocations: 299.8 kB / 0.6882 GB, free: 7.844 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.456e-05/0.1286, allocations: 194 kB / 0.6884 GB, free: 7.629 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.084e-05/0.1287, allocations: 184.1 kB / 0.6885 GB, free: 7.441 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.24e-05/0.1288, allocations: 105 kB / 0.6886 GB, free: 7.332 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.307e-05/0.1289, allocations: 176.3 kB / 0.6888 GB, free: 7.152 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.435e-05/0.1289, allocations: 104.9 kB / 0.6889 GB, free: 7.043 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.748e-05/0.1289, allocations: 87.27 kB / 0.689 GB, free: 6.957 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1289, allocations: 0 / 0.689 GB, free: 6.957 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002625/0.1292, allocations: 8 kB / 0.689 GB, free: 6.949 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.0004464/0.1297, allocations: 0.8271 MB / 0.6898 GB, free: 6.094 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 3.144e-05/0.1297, allocations: 7.938 kB / 0.6898 GB, free: 6.086 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1297, allocations: 0 / 0.6898 GB, free: 6.086 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.517e-06/0.1297, allocations: 4 kB / 0.6898 GB, free: 6.082 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/0.1301, allocations: 0.5179 MB / 0.6903 GB, free: 5.562 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009591/0.131, allocations: 1.557 MB / 0.6919 GB, free: 3.926 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002041/0.1312, allocations: 0.6771 MB / 0.6925 GB, free: 3.223 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.389e-05/0.1313, allocations: 0 / 0.6925 GB, free: 3.223 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.13e-05/0.1313, allocations: 15.42 kB / 0.6925 GB, free: 3.211 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1313, allocations: 3.938 kB / 0.6925 GB, free: 3.207 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9598/1.091, allocations: 1.066 MB / 0.6936 GB, free: 2.336 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002296/1.091, allocations: 260.4 kB / 0.6938 GB, free: 2.023 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.188/3.279, allocations: 0 / 0.6938 GB, free: 2.023 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1)