Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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.GetTimeSpanTMY3,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",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.0009261/0.0009262, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.007/0.006999, allocations: 171.1 kB / 16.26 MB, free: 6.676 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.214/1.214, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001645/0.001645, allocations: 270.5 kB / 291.7 MB, free: 1.887 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8494/0.8494, allocations: 169.5 MB / 0.5004 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003617/0.0003617, allocations: 15.42 kB / 0.5988 GB, free: 27.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1187, allocations: 88.54 MB / 0.6852 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.001021/0.1198, allocations: 0.9834 MB / 0.6862 GB, free: 13.96 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008254/0.1206, allocations: 0.715 MB / 0.6869 GB, free: 13.25 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.395e-05/0.1207, allocations: 4 kB / 0.6869 GB, free: 13.25 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.194e-05/0.1207, allocations: 0 / 0.6869 GB, free: 13.25 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001398/0.1209, allocations: 7.922 kB / 0.6869 GB, free: 13.24 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001424/0.121, allocations: 53.5 kB / 0.687 GB, free: 13.19 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.637e-05/0.1211, allocations: 27.91 kB / 0.687 GB, free: 13.16 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.368e-05/0.1211, allocations: 7.984 kB / 0.687 GB, free: 13.16 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.921e-05/0.1211, allocations: 8 kB / 0.687 GB, free: 13.15 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/0.1213, allocations: 11.94 kB / 0.687 GB, free: 13.14 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.067e-05/0.1213, allocations: 0 / 0.687 GB, free: 13.14 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.184e-05/0.1213, allocations: 13.84 kB / 0.687 GB, free: 13.12 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.076e-05/0.1214, allocations: 8 kB / 0.687 GB, free: 13.12 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.986e-05/0.1214, allocations: 33.64 kB / 0.6871 GB, free: 13.08 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.659e-05/0.1215, allocations: 32.11 kB / 0.6871 GB, free: 13.05 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.1215, allocations: 0 / 0.6871 GB, free: 13.05 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1215, allocations: 0.5938 kB / 0.6871 GB, free: 13.05 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.695e-06/0.1215, allocations: 3.938 kB / 0.6871 GB, free: 13.04 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.0002308/0.1217, allocations: 317.9 kB / 0.6874 GB, free: 12.68 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.1218, allocations: 8.031 kB / 0.6874 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.716e-05/0.1218, allocations: 106 kB / 0.6875 GB, free: 12.56 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.238e-05/0.1219, allocations: 92.05 kB / 0.6876 GB, free: 12.47 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.969e-05/0.122, allocations: 236.6 kB / 0.6878 GB, free: 12.2 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.076e-05/0.122, allocations: 151.5 kB / 0.688 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.381e-05/0.1221, allocations: 155.6 kB / 0.6881 GB, free: 11.9 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.347e-05/0.1221, allocations: 103.1 kB / 0.6882 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.1222, allocations: 83.16 kB / 0.6883 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.746e-05/0.1222, allocations: 155.1 kB / 0.6884 GB, free: 11.56 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.485e-05/0.1222, allocations: 153.9 kB / 0.6886 GB, free: 11.41 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.697e-05/0.1223, allocations: 150.6 kB / 0.6887 GB, free: 11.27 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002183/0.1225, allocations: 449.9 kB / 0.6892 GB, free: 10.78 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.89e-05/0.1226, allocations: 170.3 kB / 0.6893 GB, free: 10.6 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.392e-05/0.1226, allocations: 84.8 kB / 0.6894 GB, free: 10.52 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.1226, allocations: 76.16 kB / 0.6895 GB, free: 10.44 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.1227, allocations: 110.5 kB / 0.6896 GB, free: 10.32 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.1227, allocations: 0 / 0.6896 GB, free: 10.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 5.93e-05/0.1227, allocations: 39.44 kB / 0.6896 GB, free: 10.28 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.1228, allocations: 130.7 kB / 0.6897 GB, free: 10.14 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.73e-05/0.1229, allocations: 109.8 kB / 0.6899 GB, free: 10.02 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.1229, allocations: 33.69 kB / 0.6899 GB, free: 9.984 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.868e-05/0.1229, allocations: 80.14 kB / 0.69 GB, free: 9.902 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.513e-06/0.1229, allocations: 0 / 0.69 GB, free: 9.902 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.802e-05/0.123, allocations: 9.719 kB / 0.69 GB, free: 9.887 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.458e-05/0.123, allocations: 314.8 kB / 0.6903 GB, free: 9.57 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.27e-05/0.1231, allocations: 3.938 kB / 0.6903 GB, free: 9.566 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.543e-05/0.1231, allocations: 15.98 kB / 0.6903 GB, free: 9.551 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.789e-05/0.1231, allocations: 16.95 kB / 0.6903 GB, free: 9.531 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.1231, allocations: 0 / 0.6903 GB, free: 9.531 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.947e-05/0.1232, allocations: 45.59 kB / 0.6903 GB, free: 9.48 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.1232, allocations: 7.938 kB / 0.6904 GB, free: 9.473 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.1232, allocations: 0 / 0.6904 GB, free: 9.473 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.075e-06/0.1233, allocations: 0 / 0.6904 GB, free: 9.473 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.61e-07/0.1233, allocations: 0 / 0.6904 GB, free: 9.473 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.356e-06/0.1233, allocations: 0 / 0.6904 GB, free: 9.473 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.418e-05/0.1233, allocations: 4 kB / 0.6904 GB, free: 9.469 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.1234, allocations: 7.984 kB / 0.6904 GB, free: 9.461 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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 7.697e-05/0.1234, allocations: 194.4 kB / 0.6906 GB, free: 9.262 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.691e-05/0.1235, allocations: 113.4 kB / 0.6907 GB, free: 9.145 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.343e-05/0.1235, allocations: 104.5 kB / 0.6908 GB, free: 9.035 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.277e-05/0.1236, allocations: 192.4 kB / 0.6909 GB, free: 8.84 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.19e-05/0.1236, allocations: 176.3 kB / 0.6911 GB, free: 8.66 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.587e-05/0.1237, allocations: 192.3 kB / 0.6913 GB, free: 8.465 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001669/0.1239, allocations: 405.2 kB / 0.6917 GB, free: 8.012 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-05/0.1239, allocations: 105 kB / 0.6918 GB, free: 7.902 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.015e-05/0.1239, allocations: 104.9 kB / 0.6919 GB, free: 7.793 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.135e-05/0.124, allocations: 184.2 kB / 0.6921 GB, free: 7.605 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.378e-05/0.124, allocations: 180.2 kB / 0.6922 GB, free: 7.422 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.203e-05/0.1241, allocations: 184.2 kB / 0.6924 GB, free: 7.234 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.043e-05/0.1241, allocations: 176.3 kB / 0.6926 GB, free: 7.055 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.991e-05/0.1242, allocations: 303.8 kB / 0.6929 GB, free: 6.734 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.228e-05/0.1243, allocations: 194 kB / 0.693 GB, free: 6.52 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.025e-05/0.1243, allocations: 184.2 kB / 0.6932 GB, free: 6.332 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.971e-05/0.1244, allocations: 101 kB / 0.6933 GB, free: 6.227 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.772e-05/0.1244, allocations: 188.2 kB / 0.6935 GB, free: 6.035 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.481e-05/0.1245, allocations: 101 kB / 0.6936 GB, free: 5.93 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.538e-05/0.1245, allocations: 83.27 kB / 0.6937 GB, free: 5.848 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1245, allocations: 0 / 0.6937 GB, free: 5.848 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002001/0.1247, allocations: 4 kB / 0.6937 GB, free: 5.844 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.000376/0.1251, allocations: 0.8303 MB / 0.6945 GB, free: 4.988 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 4.828e-05/0.1252, allocations: 4 kB / 0.6945 GB, free: 4.984 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1252, allocations: 4.062 kB / 0.6945 GB, free: 4.98 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.016e-06/0.1252, allocations: 4 kB / 0.6945 GB, free: 4.977 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002968/0.1255, allocations: 0.5185 MB / 0.695 GB, free: 4.453 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007365/0.1262, allocations: 1.294 MB / 0.6963 GB, free: 3.078 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000175/0.1264, allocations: 0.681 MB / 0.6969 GB, free: 2.371 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.283e-05/0.1264, allocations: 0 / 0.6969 GB, free: 2.371 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.617e-05/0.1265, allocations: 9.547 kB / 0.6969 GB, free: 2.363 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1265, allocations: 0 / 0.6969 GB, free: 2.363 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8334/0.9599, allocations: 1.101 MB / 0.698 GB, free: 1.48 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003/0.9602, allocations: 254.3 kB / 0.6983 GB, free: 1.223 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.766/2.726, allocations: 0 / 0.6983 GB, free: 1.223 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1)