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.007339/0.007339, allocations: 101 kB / 15.73 MB, free: 6.059 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.002044/0.002044, allocations: 192.7 kB / 16.67 MB, free: 5.969 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.357/1.357, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002465/0.002464, allocations: 289.3 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.181/1.181, allocations: 178.5 MB / 0.5074 GB, free: 12.64 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002716/0.002716, allocations: 99.84 kB / 0.6943 GB, free: 15.19 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3587/0.3614, allocations: 89.13 MB / 0.7813 GB, free: 1.164 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.001754/0.3632, allocations: 1.268 MB / 0.7826 GB, free: 168 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0009492/0.3642, allocations: 0.7301 MB / 0.7833 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.83e-05/0.3642, allocations: 0 / 0.7833 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.021e-05/0.3642, allocations: 0 / 0.7833 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001861/0.3644, allocations: 11.98 kB / 0.7833 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001807/0.3646, allocations: 58.11 kB / 0.7834 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.686e-05/0.3647, allocations: 27.55 kB / 0.7834 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.213e-05/0.3648, allocations: 2.344 kB / 0.7834 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.643e-05/0.3648, allocations: 11.52 kB / 0.7834 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/0.3649, allocations: 8.234 kB / 0.7834 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.365, allocations: 1.25 kB / 0.7834 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 4.464e-05/0.365, allocations: 9.484 kB / 0.7834 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.732e-05/0.365, allocations: 6.25 kB / 0.7834 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.861e-05/0.3651, allocations: 15.33 kB / 0.7834 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 8.61e-05/0.3652, allocations: 25.61 kB / 0.7835 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.3652, allocations: 0 / 0.7835 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.482e-06/0.3652, allocations: 1 kB / 0.7835 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.3652, allocations: 0 / 0.7835 GB, free: 15.49 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.0003412/0.3655, allocations: 333.1 kB / 0.7838 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.005e-05/0.3656, allocations: 13.28 kB / 0.7838 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.829e-05/0.3656, allocations: 110 kB / 0.7839 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.789e-05/0.3657, allocations: 77.56 kB / 0.784 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001718/0.3659, allocations: 249.6 kB / 0.7842 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.816e-05/0.366, allocations: 156 kB / 0.7844 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.08e-05/0.366, allocations: 152.2 kB / 0.7845 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.708e-05/0.3661, allocations: 101.5 kB / 0.7846 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.715e-05/0.3662, allocations: 80.78 kB / 0.7847 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.42e-05/0.3662, allocations: 154.6 kB / 0.7848 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-05/0.3663, allocations: 154.6 kB / 0.785 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.286e-05/0.3664, allocations: 155.9 kB / 0.7851 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003241/0.3667, allocations: 448.4 kB / 0.7856 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.743e-05/0.3668, allocations: 174.6 kB / 0.7857 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.82e-05/0.3668, allocations: 80.14 kB / 0.7858 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.547e-05/0.3669, allocations: 76.62 kB / 0.7859 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.198e-05/0.3669, allocations: 113.7 kB / 0.786 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.367, allocations: 1.312 kB / 0.786 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 7.335e-05/0.367, allocations: 31.11 kB / 0.786 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.305e-05/0.3671, allocations: 134.7 kB / 0.7861 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.3672, allocations: 106.7 kB / 0.7862 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.3673, allocations: 25.7 kB / 0.7863 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.339e-05/0.3673, allocations: 81.86 kB / 0.7863 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.643e-06/0.3673, allocations: 0 / 0.7863 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.648e-05/0.3673, allocations: 18.02 kB / 0.7864 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.3675, allocations: 316.1 kB / 0.7867 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.641e-05/0.3675, allocations: 2.656 kB / 0.7867 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.067e-05/0.3675, allocations: 13.98 kB / 0.7867 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.4e-05/0.3676, allocations: 16.55 kB / 0.7867 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3676, allocations: 1.188 kB / 0.7867 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001053/0.3677, allocations: 43.84 kB / 0.7867 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.3677, allocations: 8.812 kB / 0.7867 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.3677, allocations: 1.062 kB / 0.7867 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.3678, allocations: 0 / 0.7867 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.011e-06/0.3678, allocations: 0 / 0.7867 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.968e-06/0.3678, allocations: 1.25 kB / 0.7867 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.615e-05/0.3679, allocations: 13.36 kB / 0.7868 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.3679, allocations: 5.203 kB / 0.7868 GB, free: 11.95 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 (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 0.000107/0.368, allocations: 187.7 kB / 0.7869 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.37e-05/0.3681, allocations: 110.1 kB / 0.787 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.421e-05/0.3681, allocations: 109.9 kB / 0.7872 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.013e-05/0.3682, allocations: 185.4 kB / 0.7873 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.08e-05/0.3683, allocations: 185.5 kB / 0.7875 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.843e-05/0.3684, allocations: 176.3 kB / 0.7877 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002601/0.3686, allocations: 409 kB / 0.7881 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.294e-05/0.3687, allocations: 102.6 kB / 0.7882 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.618e-05/0.3688, allocations: 104.9 kB / 0.7883 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.683e-05/0.3688, allocations: 182.1 kB / 0.7884 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.676e-05/0.3689, allocations: 180.3 kB / 0.7886 GB, free: 9.945 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.974e-05/0.369, allocations: 189.6 kB / 0.7888 GB, free: 9.754 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.022e-05/0.3691, allocations: 177.7 kB / 0.789 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001563/0.3692, allocations: 307.8 kB / 0.7893 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.9e-05/0.3693, allocations: 191.5 kB / 0.7894 GB, free: 9.043 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.146e-05/0.3694, allocations: 185.4 kB / 0.7896 GB, free: 8.855 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.395e-05/0.3695, allocations: 106.4 kB / 0.7897 GB, free: 8.746 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.099e-05/0.3696, allocations: 184.1 kB / 0.7899 GB, free: 8.559 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.336e-05/0.3697, allocations: 106.2 kB / 0.79 GB, free: 8.449 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.019e-05/0.3697, allocations: 84.42 kB / 0.7901 GB, free: 8.371 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3697, allocations: 4 kB / 0.7901 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002287/0.37, allocations: 4 kB / 0.7901 GB, free: 8.367 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.0005966/0.3706, allocations: 0.8327 MB / 0.7909 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 6.567e-05/0.3707, allocations: 8.312 kB / 0.7909 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3707, allocations: 0 / 0.7909 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.513e-06/0.3707, allocations: 1.438 kB / 0.7909 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003954/0.3711, allocations: 454.5 kB / 0.7913 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/0.3721, allocations: 1.29 MB / 0.7926 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003033/0.3724, allocations: 0.68 MB / 0.7933 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.502e-05/0.3724, allocations: 1.062 kB / 0.7933 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.139e-05/0.3725, allocations: 8.562 kB / 0.7933 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.3725, allocations: 0 / 0.7933 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02271/0.3952, allocations: 1.302 MB / 0.7945 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.525/7.92, allocations: 9.125 kB / 0.7945 GB, free: 4.383 MB / 0.5606 GB (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_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_GetTimeSpanTMY3.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1)