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.004752/0.004758, allocations: 99.56 kB / 15.73 MB, free: 6.043 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.001264/0.001264, allocations: 193.8 kB / 16.67 MB, free: 5.965 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002489/0.002489, allocations: 294.8 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.057/1.057, allocations: 178.6 MB / 0.5074 GB, free: 4.492 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002692/0.002692, allocations: 99 kB / 0.6943 GB, free: 3.625 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4048/0.4075, allocations: 89.13 MB / 0.7813 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002209/0.4098, allocations: 1.25 MB / 0.7826 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0009869/0.4108, allocations: 0.719 MB / 0.7833 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.85e-05/0.4108, allocations: 1.531 kB / 0.7833 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.666e-05/0.4108, allocations: 8 kB / 0.7833 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001858/0.411, allocations: 13.69 kB / 0.7833 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 6.837e-05/0.4111, allocations: 11.22 kB / 0.7833 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.049e-05/0.4112, allocations: 6.828 kB / 0.7833 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.928e-05/0.4112, allocations: 5.812 kB / 0.7833 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.977e-05/0.4112, allocations: 6.469 kB / 0.7833 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001244/0.4114, allocations: 9.125 kB / 0.7833 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.042e-05/0.4114, allocations: 0 / 0.7833 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 3.659e-05/0.4114, allocations: 6.062 kB / 0.7833 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.873e-05/0.4115, allocations: 2.75 kB / 0.7833 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.259e-05/0.4115, allocations: 10.98 kB / 0.7833 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 7.414e-05/0.4116, allocations: 14.52 kB / 0.7834 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.4116, allocations: 1.094 kB / 0.7834 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.677e-06/0.4116, allocations: 0 / 0.7834 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.4116, allocations: 3.938 kB / 0.7834 GB, free: 12.27 MB / 0.5606 GB 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.0003619/0.412, allocations: 325.9 kB / 0.7837 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.412, allocations: 8.906 kB / 0.7837 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.595e-05/0.4121, allocations: 107.4 kB / 0.7838 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.785e-05/0.4122, allocations: 80.78 kB / 0.7839 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001836/0.4124, allocations: 245.2 kB / 0.7841 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.093e-05/0.4124, allocations: 150.9 kB / 0.7842 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.183e-05/0.4125, allocations: 152.1 kB / 0.7844 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.4127, allocations: 103.1 kB / 0.7845 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.559e-05/0.4127, allocations: 79.22 kB / 0.7846 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.326e-05/0.4128, allocations: 155.8 kB / 0.7847 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.794e-05/0.4129, allocations: 154.5 kB / 0.7849 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.192e-05/0.413, allocations: 152.7 kB / 0.785 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003255/0.4133, allocations: 445.4 kB / 0.7854 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.731e-05/0.4134, allocations: 171.5 kB / 0.7856 GB, free: 9.855 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.268e-05/0.4134, allocations: 80.14 kB / 0.7857 GB, free: 9.773 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.482e-05/0.4135, allocations: 82.88 kB / 0.7857 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.175e-05/0.4135, allocations: 114.5 kB / 0.7859 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.4135, allocations: 0 / 0.7859 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 6.887e-05/0.4136, allocations: 30.3 kB / 0.7859 GB, free: 9.539 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.704e-05/0.4137, allocations: 131.4 kB / 0.786 GB, free: 9.398 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.533e-05/0.4138, allocations: 97.45 kB / 0.7861 GB, free: 9.301 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.4138, allocations: 26.73 kB / 0.7861 GB, free: 9.27 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.462e-05/0.4139, allocations: 85.05 kB / 0.7862 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.142e-06/0.4139, allocations: 0 / 0.7862 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.56e-05/0.4139, allocations: 13.14 kB / 0.7862 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.4141, allocations: 311.5 kB / 0.7865 GB, free: 8.855 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.697e-06/0.4141, allocations: 1.438 kB / 0.7865 GB, free: 8.855 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.621e-05/0.4141, allocations: 4.75 kB / 0.7865 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.946e-05/0.4141, allocations: 84.53 kB / 0.7866 GB, free: 8.77 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.963e-05/0.4142, allocations: 76.03 kB / 0.7867 GB, free: 8.695 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.848e-05/0.4142, allocations: 33.09 kB / 0.7867 GB, free: 8.66 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.594e-05/0.4143, allocations: 85.16 kB / 0.7868 GB, free: 8.582 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.505e-05/0.4143, allocations: 79.98 kB / 0.7869 GB, free: 8.504 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.419e-05/0.4144, allocations: 156.3 kB / 0.787 GB, free: 8.352 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.244e-05/0.4144, allocations: 81.17 kB / 0.7871 GB, free: 8.273 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-05/0.4145, allocations: 160.5 kB / 0.7872 GB, free: 8.117 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001222/0.4146, allocations: 77.2 kB / 0.7873 GB, free: 8.043 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3e-05/0.4147, allocations: 77.36 kB / 0.7874 GB, free: 7.969 MB / 0.5606 GB 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 0.0001327/0.4148, allocations: 262.6 kB / 0.7876 GB, free: 7.703 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.568e-05/0.4149, allocations: 111.2 kB / 0.7877 GB, free: 7.59 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.29e-05/0.415, allocations: 111.2 kB / 0.7879 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.234e-05/0.415, allocations: 186 kB / 0.788 GB, free: 7.293 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.847e-05/0.4151, allocations: 178.8 kB / 0.7882 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.742e-05/0.4152, allocations: 176.3 kB / 0.7884 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002588/0.4155, allocations: 410.7 kB / 0.7888 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.848e-05/0.4155, allocations: 106.8 kB / 0.7889 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.457e-05/0.4156, allocations: 106.6 kB / 0.789 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.14e-05/0.4157, allocations: 182 kB / 0.7891 GB, free: 6.078 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.649e-05/0.4158, allocations: 178.1 kB / 0.7893 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.339e-05/0.4158, allocations: 186.5 kB / 0.7895 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.305e-05/0.4159, allocations: 176.8 kB / 0.7897 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001768/0.4161, allocations: 313.3 kB / 0.79 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/0.4162, allocations: 189.6 kB / 0.7901 GB, free: 5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.939e-05/0.4163, allocations: 182.8 kB / 0.7903 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.766e-05/0.4164, allocations: 102.9 kB / 0.7904 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.077e-05/0.4165, allocations: 186.4 kB / 0.7906 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.363e-05/0.4166, allocations: 101.5 kB / 0.7907 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.122e-05/0.4166, allocations: 88.17 kB / 0.7908 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4166, allocations: 1.562 kB / 0.7908 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002728/0.4169, allocations: 2.891 kB / 0.7908 GB, free: 4.336 MB / 0.5606 GB 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.000568/0.4175, allocations: 0.825 MB / 0.7916 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 3.911e-05/0.4175, allocations: 1.375 kB / 0.7916 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.4175, allocations: 0 / 0.7916 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.272e-06/0.4175, allocations: 3.938 kB / 0.7916 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003786/0.4179, allocations: 461.3 kB / 0.792 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.4191, allocations: 1.558 MB / 0.7935 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003025/0.4195, allocations: 0.6738 MB / 0.7942 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.268e-05/0.4195, allocations: 1.219 kB / 0.7942 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.348e-05/0.4195, allocations: 10.7 kB / 0.7942 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of SimCode: time 2.41e-07/0.4195, allocations: 0 / 0.7942 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02759/0.4471, allocations: 1.216 MB / 0.7954 GB, free: 452 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.51/7.958, allocations: 10.88 kB / 0.7954 GB, free: 444 kB / 0.5606 GB (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1)